html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

header{
    margin-top: -1px;
    width: 100%;
    min-height: 625px;
    background-image: url('../img/prep-oab/fundo-oab.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
}

#modal .align{
    text-align: end;
    margin-top: -31px;
    box-sizing: border-box;
}

.x-modal{
    background-color: #45108A;
    cursor: pointer;
    border-radius: 200px;
    color: white;
    position: relative;
    top: 23px;
    left: 7px;
}

.showModal{
    display: block;
    position: fixed;
    z-index: 19;
    inset: 0;
    width: 100%;
    min-width: 200px;
    max-width: 500px;
    height: 400px;
    z-index: 20;
    left: 50%;
    animation: fadeinbox 0.8s;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #6300cf;
    border-radius: 16px;
}

@keyframes fadeinbox{
    from {
        opacity: 0%;
    }
    to {
        opacity: 100%;
    }
  }

.hiddenModal{
    display: none;
}

.modalContent{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
    gap: 30px;
}

.modalContent .btnModal{
    display: block;
    margin: 0px auto;
    width: 200px;
    text-align: center;
    text-decoration: none;
    border-radius: 62px;
    padding: 13px 25px;
    font-size: 18px;
    background-color: #FF8000;
    color: white;
}

.container{
    padding: 0 5%;
    max-width: 1100px;
    margin: auto;
}

.container-body{
    padding: 0 5%;
    max-width: 1275px;
    margin: auto;
}

header .container-body{
    display: flex;
    align-items: center;
    height: 100%;
    min-height: 625px;
    justify-content: space-between;
}

h1{
    font-size: 58px;
}

h2{
    font-size: 44px;
    font-weight: 400;
}

.texto{
    width: 100%;
    max-width: 550px;
    
}

.texto p{
    color: #8A8A8A;
}

header .texto{
    width: 100%;
    max-width: 570px;  
}

header .texto p{
    font-size: 20px;
    color: white;
}

main .objetivo{
    display: flex;
    justify-content: space-between;
    margin-top: 90px;
}

.objetivo .itens{
    display: flex;
    justify-content: space-around;
    margin-top: 28px;
}

.objetivo .item{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 150px;
}

.objetivo .item span{
    font-weight: 600;
}

.cargo{
    text-transform: uppercase;
    color: #F64B4B;
    font-weight: bold;
}

.professores{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    margin-bottom: 108px;
}

.professores:nth-child(odd){
    flex-direction: row-reverse;
}

#alunoexterno .container-body form a{
    width: 90%;
    margin-bottom: 30px;
}

.professores .texto{
    max-width: 493px;
}

.professores .texto h2{
    margin-top: 25px;
    font-weight: 600;
}

.info-professor{
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.info-professor p{
    color: #111111;
    font-weight: regular;
    margin: 0px;
}

.item-info-professor{
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 20px;
    text-align: left;
}

.formWorkshop .container-body form{
    background-color: #2E0060;
}

.formWorkshop form{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0px 5%;
    padding-top: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.hidden-block{
    display: none;
}

#texto-aviso{
    font-size: 25px;
    text-align: center;
    margin-top: 0px;
    border-radius: 15px;
    padding: 5px 10px;
}

.formWorkshop .erro{
    background-color: rgb(255, 113, 113);
    color: rgb(255, 0, 0);
}

.formWorkshop .btn-orange{
    margin-top: 20px;
    font-size: 25px;
    width: 100%;
    max-width: 300px;
    border-radius: 15px;
}

.formWorkshop .campo{
    display: flex;
    flex-direction: column;
    
    width: 100%;
    max-width: 500px;
}

.formWorkshop .campo label{
    color: white;
    font-size: 23px;
}

.formWorkshop .campo input{
    box-sizing: border-box;
    background-color: transparent;
    color: white;
    border: 1px solid #FFF;
    border-radius: 8px;
    font-size: 19px;
    padding: 10px 15px;
    margin-bottom: 15px;
}

.formWorkshop .campo select{
    box-sizing: border-box;
    background-color: transparent;
    color: white;
    border: 1px solid #FFF;
    border-radius: 8px;
    font-size: 19px;
    padding: 10px 15px;
    margin-bottom: 15px;
}

.formWorkshop .campo select option{
    color: black;
}

.formWorkshop .campo input:focus{
    box-shadow: 0 0 0 0;
    outline: 0;
}

.formWorkshop .campo input::placeholder{
    color: rgb(182, 182, 182);
}

.formWorkshop .campo .checkbox{
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    margin-top: 15px;
    box-sizing: border-box;
}

.formWorkshop .campo .checkbox input[type=checkbox]{
    width: 19px;
    height: 19px;
    margin: 0;
    margin-right: 10px;
}

.btn-orange{
    display: block;
    width: 200px;
    text-align: center;
    text-decoration: none;
    border-radius: 62px;
    padding: 10px 20px;
    font-size: 18px;
    background-color: #FF8000;
    border: none;
    color: white;
}

header a{
    display: block;
    width: 200px;
    text-align: center;
    text-decoration: none;
    border-radius: 62px;
    padding: 10px 20px;
    font-size: 18px;
    background-color: #FF8000;
    color: white;
}
main  a, footer a{
    display: block;
    margin: 0px auto;
    width: 200px;
    text-align: center;
    text-decoration: none;
    border-radius: 62px;
    padding: 13px 25px;
    font-size: 18px;
    background-color: #FF8000;
    color: white;
}

.informacoes{
    margin-top: 108px;
    padding-bottom: 91px;
}

.informacoes h2{
    font-weight: bold;
    text-align: center;
}

.informacoes h3{
    margin-top: 0px;
    margin-bottom: 17px;
    font-size: 24.58px;
}

.informacoes .itens{
    display: flex;
    justify-content: space-between;
}

.informacoes .itens .item{
    display: flex;
    gap: 15px;
    width: 100%;
    max-width: 400px;
    align-items: flex-start;
}

.informacoes .itens .item img{
    width: 40px;
}

.border{
    display: block; 
    border-top: 1px solid #CECECE;
    margin-top: 39px;
}

.border a{
    margin-top: -26px;
}

.programatico{
    background-color: #F4F7FA;
    padding-top: 53px;
    padding-bottom: 31px;
    color: #161C2D;
}

.programatico span{
    display: block;
    text-align: center;
    color: #F64B4B;
    font-weight: bold;
}

.programatico h2{
    text-align: center;
    font-weight: bold;
}

.programatico .itens{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}

.programatico .itens .item{
    display: flex;
    align-items: flex-start;
    width: 409px;
    gap: 30px
}

.programatico .itens .item img{
    width: 79px;
}

.programatico .texto h3{
    margin-top: 0px;
}

footer{
    background-color: #2E0060;
    color: white;
    text-align: center;
    padding-bottom: 70px;
}

footer .container{
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
}

footer .container .texto{
    width: 405px;
}

footer .texto p{
    color: white;
    font-size: 22px;
    margin-bottom: 50px;
}

@media only screen and (max-width: 920px){
    header .container-body{
        justify-content: center;
        text-align: center;
    }

    header .container-body img, .objetivo > img, footer img{
        display: none;
    }

    header a{
        margin: 0px auto;
    }
    main  a, footer a{
        margin: 0px auto;
    }

    main .objetivo, main .professores{
        justify-content: center;
        text-align: center;
    }

    main .professores{
        margin-bottom: 50px;
        flex-direction: column-reverse;
    }
    
    .informacoes .itens {
        flex-direction: column;
        align-items: center;
        gap: 40px
    }

    .border{
        margin-top: 70px;
    }

    footer .container{
        justify-content: center;
    }

    .showModal{
        width: 90%;
    }

    .professores:nth-child(odd){
        flex-direction: column-reverse;
    }

    .professores > img{
        margin-top: 20px;
        width: 100%;
    }
}