@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');


:root{
    --text-primary-color: #2C3E50;
    --primary-color: #3498DB;
    --warning-color: #FE2C55;
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    line-height: 1.5rem;
    color: var(--text-primary-color);

    max-width: 900px;
    margin: auto;
    padding: 10px;
    font-size: 1rem;
}
a{
    text-decoration: none;
    color: var(--text-primary-color);
}
ul{
    list-style: none;
}
img{
    width: 100%;
    height: 100%;
}
.btn{
    display: inline-block;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}
.btn-primary{
    background: var(--primary-color);
    color: #fff;
    font-weight: bold;
    border: 1px solid var(--primary-color);
}
.btn-primary:hover{
    background: #fff;
    color: var(--primary-color);
}
.text-small{
    font-size: 0.9rem;
}
.text-center{
    text-align: center;
}
.center{
    display: flex;
    align-items: center;
    justify-content: center;
}
.text-header{
    font-weight: bold;
    text-decoration: underline;
    margin: 20px 0 5px 0;
}
.text-highlight{
    color: var(--primary-color);
}
.content-title{
    font-size: 2rem;
    text-align: center;
    margin: 50px 0 20px 0;
    line-height: 1.5rem;
}
.mx-1{
    margin: 0 1rem;
}
.mx-2{
    margin: 0 2rem;
}
.my-1{
    margin: 1rem 0;
}
.my-2{
    margin: 2rem 0;
}
.logo img{
    width: 40px;
    height: 40px;
}
.logo a{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

header{
    height: 70px;
}
header ul{
    display: flex;
}
header ul li{
    display: flex;
    align-items: center;
    justify-content: center;
}
header .logo{
    margin-right: auto;
}



.download-section{
    max-width: 600px;
    margin: 30px auto;
}

.download-section form{
    width: 100%;
    display: grid;
    grid-template-columns: 6fr 1fr;
    margin: 30px 0;
}
.download-section form input{
    padding: 8px 10px;
    outline: none;
    border: 3px solid var(--primary-color);
    font-size: 1.1rem;
    margin-right: 5px;
}
.download-section form.error input{
    border-color: var(--warning-color);
}
.download-section form button{
    border-width: 3px;
}
.download-section form.error button{
    background-color: var(--warning-color);
    border-color: var(--warning-color);
}
.download-section form.error button:hover{
    background: #fff;
    color: var(--warning-color);
}
.download-section h1{
    font-size: 2rem;
    margin: 5px;
}
.download-section form p{
    grid-column: span 3;
}
.download-section form p a{
    text-decoration: underline;
}
.download-section .status-label{
    text-align: center;
    font-size: 1.5rem;
}
.download-section .status-label.error{
    color: var(--warning-color);
}


.info {
    max-width: 600px;
    margin: 30px auto;
}
.info h3 i{
    margin-left: 5px;
}
.info .content{
    margin: 5px 0;
}
.collapsible-list .item-header{
    font-weight: 700;
    padding: 5px;
    cursor: pointer;
}
.collapsible-list .item-header i{
    margin-right: 5px;
    transition: transform 0.3s ease-in-out;
}
.collapsible-list .item-content{
    padding: 0 28px;
    margin-bottom: 10px;

    overflow: hidden;
    max-height: 0;
    transition: max-height 0.2s ease-out;
}


.collapsible-list .collapsed .item-header i{
    transform: rotate(180deg);
}


.result-section{
    position: relative;
    width: 355px;
    height: 330px;
    margin: auto;
    text-align: center;
}

.result-section img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.result-section::before{
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}
.result-section .content{
    padding: 10px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    width: 100%;
    z-index: 3;
    gap: 20px;
    color: #fff;
}

footer{
    padding-top: 30px;
}
footer ul{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}
footer ul li{
    margin: 0 10px;
    padding: 5px;
}


.privacy-section ul,
.terms-section ul{
    list-style-type: disc;
}

.contact-section{
    max-width: 600px;
    margin: auto;
}

.contact-section form{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}
.contact-section form .form-group{
    margin: 10px 0;
    width: 100%;
}
.contact-section form .form-group label{
    display: block;
    margin-bottom: 3px;
}
.contact-section form .form-group input,
.contact-section form .form-group textarea{
    width: 100%;
    padding: 5px;
    border: 2px solid var(--primary-color);
    outline: none;
}
.contact-section form .form-group input.error,
.contact-section form .form-group textarea.error{
    border: 2px solid var(--warning-color);
}

.contact-section form .form-group textarea{
    min-height: 140px;
    min-width: 100%;
    max-width: 100%;
}
.contact-section form .form-group.submit{
    align-self: flex-start;
    display: flex;
    align-items: center;
}
.contact-section form .form-group.submit button{
    margin-right: 10px;
}
.contact-section form .form-group.submit p.error{
    color: var(--warning-color)
}

.error-page{
    text-align: center;
    margin: 50px 0;
}




@keyframes inner-spinner {
    0%, 100% { animation-timing-function: cubic-bezier(0.2, 0, 0.8, 0.8) }
    50% { animation-timing-function: cubic-bezier(0.2, 0.2, 0.8, 1) }
    0% { transform: rotate(0deg) }
    50% { transform: rotate(180deg) }
    100% { transform: rotate(360deg) }
  }
  @keyframes inner-spinner-s {
    0%, 100% { animation-timing-function: cubic-bezier(0.2, 0, 0.8, 0.8) }
    50% { animation-timing-function: cubic-bezier(0.2, 0.2, 0.8, 1) }
    0% { transform: translate(-30px,-30px) scale(0) }
    50% { transform: translate(-30px,-30px) scale(1) }
    100% { transform: translate(-30px,-30px) scale(0) }
  }
  .inner-spinner > div { transform: translate(0px,-15px) }
  .inner-spinner > div > div {
    animation: inner-spinner 1s linear infinite;
    transform-origin: 100px 100px;
  }
  .inner-spinner > div > div > div {
    position: absolute;
    transform: translate(100px, 82px);
  }
  .inner-spinner > div > div > div > div {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--warning-color);
    animation: inner-spinner-s 1s linear infinite;
  }
  .inner-spinner > div > div:last-child {
    animation-delay: -0.5s;
  }
  .inner-spinner > div > div:last-child > div > div {
    animation-delay: -0.5s;
    background: var(--primary-color);
  }
  .spinner {
    width: 200px;
    height: 200px;
    display: inline-block;
    overflow: hidden;
    background: #ffffff;
  }
  .inner-spinner {
    width: 100%;
    height: 100%;
    position: relative;
    transform: translateZ(0) scale(1);
    backface-visibility: hidden;
    transform-origin: 0 0; /* see note above */
  }
  .inner-spinner div { box-sizing: content-box; }


@media (max-width:700px){
    .download-section h1{
        font-size: 1.6rem;
        margin: 5px;
    }
    .info, .download-section{
        text-align: center;
    }
    .info h3{
        margin-bottom: 10px;
    }
    footer ul{
        flex-direction: column;
        text-align: center;
    }
    footer ul li{
        margin: 5px 0;
        padding: 0;
    }
}