@font-face {
    font-family: vanilla;
    src: url(./Fonts/vanilla\ whale.otf);
}

@font-face {
    font-family: mont;
    src: url(./Fonts/Montserrat-VariableFont_wght.ttf);
}

*{
    margin: 0;
}

/*RESPONSIVIDADE*/

@media(max-width: 425px) {

    .series{
        background-position-x: -367px;
        padding-bottom: 23%;
    }

    #perguntas{
        margin-left: 5%;
        width: 90%;
        padding-left: 35px;
        padding-right: 35px;
        height: 370px;
    }

    #joao h1, #joao #perguntas ul li label{
        font-size: 14px;
    }

    .top{
        margin-bottom: 30px;
    }

    .ball1, .ball2, .ball3, .ball4, .ball5, .ball6, .ball7, .ball8, .ball9, .ball10{
        margin-right: 6.3%;
    }
    
    .balls p{
        font-size: 14px;
    }

    .timeline{
        margin-top: 120px;
    }

    #joao #perguntas ul li input{
        margin-left: -20px;
    }

    #joao #perguntas ul li input:checked{
        margin-left: -15px;
    }
}

@media(min-width: 425px) {

    .series{
        padding-bottom: 3.9%;
    }

    #perguntas{ 
        margin-left: 25%;
        width: 50%;
        padding-left: 50px;
        padding-right: 50px;
        height: 350px;
    }

    #joao h1, #joao #perguntas ul li label{
        font-size: 17px;
    }

    .top{
        margin-bottom: 80px;
    }

    .ball1, .ball2, .ball3, .ball4, .ball5, .ball6, .ball7, .ball8, .ball9, .ball10{
        margin-right: 8.7%;
    }

    .timeline{
        margin-top: 150px;
    }

    #joao #perguntas ul li input:checked{
        margin-left: 5px;
    }
}

/*BACKGROUNDS*/
.serie6{
    background-image: url(./Backgrounds/Fund6.gif);
}

.serie7{
    background-image: url(./Backgrounds/Fund7.gif);
}

.serie8{
    background-image: url(./Backgrounds/Fund8.gif);
}

.serie9{
    background-image: url(./Backgrounds/Fund9.gif);
}

.serie1{
    background-image: url(./Backgrounds/Med1.gif);
}

.serie2{
    background-image: url(./Backgrounds/Med2.gif);
}

.serie3{
    background-image: url(./Backgrounds/Med3.gif);
}

/*LINHAS*/
.series{
    background-repeat: no-repeat;
    background-size: cover;
    backdrop-filter: blur(3px);
    font-family: 'vanilla';
    color: white;
    overflow: hidden;
    background-position-y: -70px;
    height: auto;
}

#joao #perguntas ul li{
    list-style: none;
    display: flex;
}

input[type="submit"]{
    margin-top: 10px;
    margin-bottom: 50px;
    font-size: 15px;
    border: none;
    border-radius: 15px;
    padding-left:10px;
    padding-right: 10px;
    transition: 0.2s;
}

input[type="submit"]:hover{
    background-color: rgb(51, 134, 243);
    color: white;
    transform: scale(1.05);
}

#joao #perguntas ul li input{
    height: 15px;
    width: 15px;
    margin-top: 10.5px;
    transition: 0.1s;
    cursor: pointer;
}

#joao #perguntas ul li input:hover{
    transform: scale(1.1);
}

#joao #perguntas ul li label{
    margin-left: 7px;
    margin-top: 6px;
}   

#perguntas{
    background-color: rgba(6, 14, 20, 0.783);
    box-shadow: 0px 0px 5px rgb(0, 0, 0);
    padding-top: 20px;
    border-radius: 20px;
    font-family: 'mont';
}

.top{
    width: 100%;
    overflow: hidden;
}

.timeline{
    width: 500%;
}

.line{
    margin-top: 100px;
    height: 10px;
    background-color: white;
    border: 2px solid black;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.596);
}

.balls{
    float: left;
    height: 50px;
    width: 50px;
    background-color: white;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.596);
    border: 2px solid black;
    border-radius: 100%;
    margin-top: -30px;
    transition: background-color 1s ease;
}

.balls p{
    width: 200px;
    margin-left: -77px;
    margin-top: -30px;
    text-align: center;
    font-family: 'mont';
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.596);
}

.ball2{
    margin-top: -30px;
}

.ball3, .ball4, .ball5, .ball6, .ball7, .ball8, .ball9, .ball10{
    animation-fill-mode: forwards;
}

/*ANIMAÇÕES*/
.ball1{
    opacity: 0;
    animation-name: anim0;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

@keyframes anim0 {

    from {
        margin-left: 4.6%;
    }

    to {
        margin-left: 0.15%;
    }
}

.menu main, #joao{
    opacity: 0;
    animation-duration: 2s;
    animation-name: transition;
    animation-fill-mode: forwards;
}

#joao, .btn-primary, .enabled{
    opacity: 0;
    animation-duration: 1.5s;
    animation-name: transition;
    animation-fill-mode: forwards;
}

@keyframes transition {
    from {
        opacity: 0;
    }

    to {
        opacity: 100;
    }
}

.animation2{
    animation-name: anim2;
    animation-duration: 3s;
    animation-fill-mode: forwards;
}

@keyframes anim2 {

    from {
        margin-left: 0%;
    }

    to {
        margin-left: -9.3%;
    }
}

.animation3{
    animation-name: anim3;
    animation-duration: 3s;
    animation-fill-mode: forwards;
}

@keyframes anim3 {

    from {
        margin-left: 0%;
    }

    to {
        margin-left: -9.5%;
    }
}

.animation4{
    animation-name: anim4;
    animation-duration: 3s;
    animation-fill-mode: forwards;
}

@keyframes anim4 {

    from {
        margin-left: 0%;
    }

    to {
        margin-left: -9.7%;
    }
}

/*MENU*/
.menu main{
    margin-left: 10%;
    margin-right: 10%;
    padding: 20px;
    font-family: 'vanilla';
    color: white;
    text-shadow: 0px 0px 10px rgb(0, 0, 0);
}

.fund h3{
    margin-top: 30px;
    font-size: 33px;
}

.med h3{
    margin-top: 90px;
    font-size: 33px;
}

.fund{
    width: 100%;
}

.menu{
    background-image: url(./Backgrounds/Egipcio.gif);
    background-repeat: no-repeat;
    background-size: cover;
    backdrop-filter: blur(3px);
    overflow: hidden;
    background-position-y: -70px;
}

.menu h1{
    margin-top: 20px;
    font-size: 90px;
}

.menu h2{
    margin-top: 15px;
    font-size: 40px;
}

section{
    height: 50px;
}

.menu a{
    font-size: 30px;
    color: white;
    margin-top: 10px;
    margin-right: 15px;
    transition: 0.2s;
}

.menu a:hover{
    text-decoration-line: overline underline;
    font-size: 33px;
    color: rgb(255, 255, 154);
}

.menu h4{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-align: center;
    margin-top: 180px;
    font-size: 15px;
    color: gray;
}

.menu h4 a{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-align: center;
    margin-top: 180px;
    font-size: 15px;
    color: gray;
    margin: 0px;
}

.menu h4 a:hover{
    text-decoration-line: none;
    font-size: 15px;
}

/*PAUSE*/
#botaolipe{
    float: left;
    border-radius: 5px;
    border: 2.5px black solid;
    background-color: white;
    box-shadow: 0px 5px 5px rgba(3, 0, 31, 0.555);
    margin: 10px;
    color: black;
}

h5{
    font-size: 55px;
    color: #676f75;
}

h6{
    color: #676f75;
}

.modal-content{
    align-items: center;
}

.btn-secondary{
    margin-top: 10px;
    width: 100%;
}

.modal-body a{
    text-decoration: none;
    color: white;
    background-color: #676f75;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 5px;
    display: flex;
    margin-top: 10px;
}

/*SCORE*/

.score{
    background-color: white;
    border-radius: 5px;
    border: 2.5px black solid;
    border: 2.5px black solid;
    box-shadow: 0px 5px 5px rgba(3, 0, 31, 0.555);
    height: 50px;
    width: 150px;
    margin: 10px;
    float: right;
    text-align: center;
    font-size: 30px;
    color: black;
    font-family: 'mont';
}