@font-face {
    font-family: 'Satoshi-Medium';
    src: url('../assets/fonts/satoshi/Satoshi-Medium.woff2') format('woff2'),
        url('../assets/fonts/satoshi/Satoshi-Medium.woff') format('woff'),
        url('../assets/fonts/satoshi/Satoshi-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Satoshi-Medium';
    /*letter-spacing: 110%;*/
    color: white;
}
html, body {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background: rgb(23, 52, 128);
    background-repeat: no-repeat;
    background: -webkit-linear-gradient(90deg, rgba(14, 66, 216, 1) 0%, rgba(23, 52, 128, 1) 100%);
    background: -moz-linear-gradient(90deg, rgba(14, 66, 216, 1) 0%, rgba(23, 52, 128, 1) 100%, );
    background: -ms-linear-gradient(90deg, rgba(14, 66, 216, 1) 0%, rgba(23, 52, 128, 1) 100%, );
    background: -o-linear-gradient(90deg, rgba(14, 66, 216, 1) 0%, rgba(23, 52, 128, 1) 100%, );
    background: linear-gradient(90deg, rgba(14, 66, 216, 1) 0%, rgba(23, 52, 128, 1) 100%, );
    min-height: 100%;
}
*::-webkit-scrollbar {
    background-color: transparent;
}
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

h1,legend,textarea {
    font-size: calc(16px + 1.75vw);
    line-height: 1.2;
}
p,li,input,button,a{
    font-size: calc(12px + .5vw);
    text-decoration: none;
}
h6{
    font-size: calc(12px + .25vw);
}

/*GRID*/

.container--fw {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    width: calc(100vw - 4em);
    margin: auto;
    min-height: 100vh;
}
.col--12 {
    grid-column: 1/13;
}
.col--10{
    grid-column: 2/12;
}
.col--8 {
    grid-column: 3/11;
}
.col--6 {
    grid-column: 3/9;
}

/*HEADER*/
#header {
    position: absolute;
    top: 2em;    
    width: calc(100% - 4em);
}

#header ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0;
}

#header ul li {
    list-style-type: none;
    margin: 0;
    text-align: center;
    display: flex;
}

#header ul .speech-icon {
    position: relative;
    display: flex;
    margin-right: 1rem;
    transform: translateY(6px);
}

#header ul .speech-icon span{
    height: 10px;
    border: 1px solid #FF345F;  
    stroke-linecap: round;
    margin-left: .25rem;
    animation: transform_01 2s infinite alternate;
}
#header ul .speech-icon span:nth-of-type(2){
    animation: transform_02 2s infinite alternate;
}
#header ul .speech-icon span:nth-of-type(3){
    animation: transform_03 2s infinite alternate;
}
#header ul .speech-icon span:nth-of-type(4){
    animation: transform_02 2s infinite alternate;
}
#header ul .speech-icon span:nth-of-type(5){
    animation: transform_01 2s infinite alternate;
}
@keyframes transform_01 {
    0% {
        transform: scale(1, .5);
    }
    50% {
        transform: scale(1, .75);
    }
    100% {
        transform: scale(1, .5);
    }
}
@keyframes transform_02 {
    0% {
        transform: scale(1, 1);
    }
    50% {
        transform: scale(1, 1.5);
    }
    100% {
        transform: scale(1, 1);
    }
}
@keyframes transform_03 {
    0% {
        transform: scale(1, 1);
    }
    50% {
        transform: scale(1, 2);
    }
    100% {
        transform: scale(1, 1);
    }
}


/*FORM*/
#form .textarea {
    color: white;
    background-color: white;
    width: 100%;
    height: auto;
    overflow: hidden;
    resize: none;
    min-height: 5em;
    background-color: transparent;
    border: none;
}
#form textarea::placeholder{
    color: white;
    opacity: .5;
}
#form input::placeholder{
    color: white;
    opacity: .5;
}
form #legend{
    margin-bottom: 1em;
}
#form .form-actions ul{
    display: flex;
    list-style-type: none !important;
    justify-content: flex-end;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 1em;
}
#form .form-actions li:first-of-type{
    background-color: transparent;
    border: 2px solid white;
    border-radius: 5px;
    padding: 7px 14px;
    margin-right: auto;
    margin-left: 0;
}
#form .form-actions #faq:hover{
    cursor: pointer;
    background-color: white;
    color: blue;
}
#form #name {
    margin-right: 1em;
}
#form #name {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 5px;
    padding: 7px 14px;
}
#form #submit {
    background-color: #FF345F;
    border: 2px solid #FF345F;
    border-radius: 5px;
    padding: 7px 14px;
    margin-left: auto;
    margin-right: 0;
}
#form #submit:hover {
    cursor: pointer;
    background-color: #cd2b51;
    border: 2px solid #cd2b51;

}

/*FAQ PAGE*/
#container_faq{
    padding: 0;
}
#container_questions{
    margin-top: 5em;
    max-height: 50vh;
    overflow-y: scroll;
    overflow-x: hidden;
}
#container_questions ul{
    margin-top: 1em;
    max-width: 100%;
    padding-left: 1rem;
}
#container_questions p{
    margin-top: 1em;
    width: 90%;
}
#container_questions h6{
    margin-top: 4rem;
    opacity: .75;
}

#credits{
    margin-top: 1em;
    opacity: .5;
}
#return{
    position: sticky;
    top: 5vh;
    background-color: #FF345F;
    color: #FFFFFF;
    border-radius: 5px;
    padding: 7.5px 15px;
}

/*ARCHIVE*/
.message {
    display: none; 
    grid-column: 2/12;
}
.announcement{
    font-size: calc(20px + 1.75vw);
    line-height: 1.3;
} 
.name{
    margin-top: 2rem;
    font-size: calc(12px + .5vw);
   
}

/*MEDIA QUERIES*/
@media (max-width: 767px) { 
    .container--fw {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        align-items: center;
        width: calc(100vw - 4em);
        margin: auto;
        min-height: 100vh;
    }
    .col--12 {
        grid-column: 1/4;
    }
    .col--8 {
        grid-column: 1/4;
    }
    .col--6 {
        grid-column: 1/4;
    }
    #header ul li{
        text-align: left;
    }
    #container_questions ul{
        margin-top: 1em;
        max-width: 100%;
    }
    #container_questions p{
        margin-top: 1em;
        width: 100%;
    }
    #container_questions h6{
        margin-top: 2rem;
    }
    #form .form-actions ul{
        display: flex;
        align-items: flex-start;
        flex-direction: column;
    }
    #form .form-actions li{
        margin-left: 0;
        align-items: flex-start;
        margin-bottom: 1em;
    }
}
