@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
}

nav li a:hover {
    box-shadow: 0 0.1em orangered;
}

body {
    background-color: white;
    height: 100vh;
    color: black;
}

.dark-mode {
    background-color: black;
    color: white;
}

.botao-dark-mode button {
    border-radius: 10px;
    text-align: center;
    width: 85px;
    border: none;
    background-color: white;
    margin: 10px;
}

.botao-dark-mode:hover button {
    background-color: black;
    color: white;
}

#botao-menu {
    display: none;
    z-index: 22;
}

header label {
    padding: 5px;
    background-color: #302f2f;
    color: rgb(255, 255, 255);
    text-align: center;
    cursor: pointer;
    display: none;
    font-size: 25px;
    width: 50px;
    height: 50px;
}

.cabecalho {
    background-color: #302f2f;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 130px;
    padding-left: 30px;
}

.search {
    margin-right: 15px;
    opacity: 0.5;
    border: none;
    height: 46px;
    width: 46px;
    padding-left: 46px;
    border-radius: 50%;
    background: url(../img/lupa.jpg) no-repeat 10px/24px, #fff;
    cursor: pointer;
    transition-property: width, border-radius, box-shadow;
    transition-duration: 300ms;
}

.search:focus {
    width: 240px;
    opacity: 1;
    border-radius: 4px;
    box-shadow: 0 0 0 2px orangered;
    outline: none;
    cursor: auto;
}

#menu {
    display: flex;
    align-items: center;
    justify-content: center;
}

#menu ul {
    list-style: none;
}

#menu ul li {
    display: inline;
    padding-right: 3vh;
}

#menu ul li a {
    display: inline-block;
}

#menu a {
    color: white;
    font-size: 20px;
    font-weight: 600;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.container-banner {
    background-image: url(../img/banner.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 90vh;
    color: white;
    background-size: cover;
}

.conteudo-banner h1 {
    font-size: 50px;
}

.conteudo-banner {
    display: flex;
    flex-direction: column;
    margin: 20px;
    align-items: center;
    justify-content: center;
    font-weight: 300;
    margin-bottom: 25px;
}

.mensagem {
    border: 20px;
    width: 272px;
    animation: digitando 4s steps(25), blink .6s infinite alternate;
    margin-bottom: 20px;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid;
}

@keyframes digitando {
    from {
        width: 0px;
    }
}

@keyframes blink {
    45% {
        border: #797878;
    }
}

#botao-cadastrar {
    background-color: white;
    border: none;
    padding: 5px;
    width: 150px;
    border-top: 30px;
    border-radius: 5px;
    text-decoration: none;
    color: black;
    transition: width 1s;
}

#botao-cadastrar:hover {
    background-color: #797878;
    width: 200px;
}


.modal {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30rem;
    height: auto;
    flex-direction: column;
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
    color: white;
    opacity: 0;
    text-align: center;
    border-radius: 25px;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}

.modal h2 {
    padding: 10px;
}

.modal:target {
    opacity: 1;
    pointer-events: auto;
}


.fechar {
    position: absolute;
    width: 30px;
    right: -10px;
    top: -15px;
    text-align: center;
    font-weight: 600;
    line-height: 30px;
    margin-top: 5px;
    background: #ff4545;
    border-radius: 50%;
    font-size: 16px;
    color: #8d0000;
}

.modal form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
}

.input input {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 15px;
    background-color: rgb(161, 161, 161);
    border-radius: 10px;
    width: 300px;
    height: 20px;
    opacity: 1;
    outline: none;
    color: rgba(0, 0, 0, 0.7);

}

.input input:focus {
    background-color: #fff;
}


.input label {
    color: white;
    font-size: 1rem;
    border: 10px;
}

.modal-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30rem;
    height: auto;
    flex-direction: column;
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
    color: white;
    opacity: 0;
    text-align: center;
    border-radius: 25px;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}

.modal-2 h2 {
    padding: 10px;
}

.modal-2:target {
    opacity: 1;
    pointer-events: auto;
}

.modal-2 form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 15px;
}

.input-2 input {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 15px;
    padding: 15px;
    background-color: rgb(161, 161, 161);
    border-radius: 10px;
    width: 300px;
    height: 20px;
    opacity: 1;
    outline: none;
    color: rgba(0, 0, 0, 0.7);
}

.input-2 input:focus {
    background-color: #fff;
}

.input-2 label {
    color: white;
    font-size: 1rem;
    border: 20px;
    padding: 20px;
}


.botao {
    background: linear-gradient(to left, #e15f41, #e77f67);
    width: 150px;
    margin: 20px;
    cursor: pointer;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.5s ease;
}

.botao:hover {
    letter-spacing: 0.5px;
    background: linear-gradient(to right, #e15f41, #e77f67);
}

.conteudo-da-pagina {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    justify-content: center;
}

.lista-produtos img {
    height: 400px;
    border-bottom: solid 2px rgb(163, 163, 163);
}

.lista-produtos {
    width: 400px;
    height: 560px;
    margin: 30px;
    background-color: white;
    border: solid 2px rgb(189, 189, 189);
    border-radius: 8px;
}


.lista-produtos:hover {
    transform: scale(1.02);
    box-shadow: 0 0 1em rgb(0, 0, 0);
}

.texto-produto {
    margin: 15px 25px;
    text-align: left;
    color: black;
}

.rodape-container {
    background: #171717;
    bottom: 0 auto;
    width: 100%;
}

.rodape {
    display: flex;
    align-items: center;
}

.card-aluno {
    display: flex;
    flex-direction: column;
    padding: 10px;
    margin: 15px;
    font-size: 15px;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    color: white;
    justify-content: center;
    flex-wrap: wrap;
}

.card-aluno h2 {
    text-align: center;
}

.card-aluno h3 {
    font-size: 15px;
    font-weight: 200;
}

.logo-contato {
    display: flex;
    justify-content: center;
    padding-top: 15px;
    gap: 10px;
    align-items: center;
}

#direitos-autorais {
    display: flex;
    justify-content: center;
    color: white;
    font-size: 10px;
    padding: 10px;
}

@media (max-width: 770px) {

    .modal {
        zoom: 0.55;

    }

    .botao {
        width: 250px;
        height: 35px;
    }

    .lista-produtos img {
        height: 250px;

    }

    .lista-produtos {
        width: 250px;
        height: 450px;
    }
}



@media (max-width: 430px) {
    .botao-dark-mode button {
        width: 40px;
        height: 80px;
    }

    .botao {
        width: 250px;
        height: 35px;
    }


    .modal {
        zoom: 0.55;
    }

    .modal-2 {
        zoom: 0.55;

    }

    .fechar {
        height: 45px;
        left: 455px;
        width: 45px;
        top: -25px;
        text-align: center;
        font-size: 30px;
        padding-top: 5px;

    }

    header {
        position: fixed;
    }

    header label {
        display: block;
        z-index: 22;
    }

    #botao-menu:checked~.cabecalho {
        margin-left: 0%;
    }

    .cabecalho {
        margin-top: -72%;
        margin-left: -100%;
        transition: all 1s;
        background-color: #302f2f;
        height: 350px;
        width: 155px;
        display: flex;
    }

    .logo {
        width: 77px;
        margin-left: 50%;
        position: absolute;
        top: -0%;
    }

    .cabecalho input {
        position: absolute;
        margin-top: -345px;
        margin-left: 69px;
    }

    .search {
        left: 4px;
        zoom: 80%;
    }

    .search:focus {
        left: -67px;
        margin-top: -260px;
        width: 190px;
    }

    #menu {
        position: relative;
    }

    #menu ul li {
        display: block;
    }

    .menu-top {
        margin-top: 100px;
    }

    ul {
        display: grid;
        gap: 20px;
    }

    .conteudo-banner h1 {
        font-size: 25px;
    }

    .conteudo-banner h2 {
        font-weight: 300;
        font-size: 10px;
        margin-bottom: 25px;
    }

    .container-banner {
        background-position: -80px;
        height: 500px;
    }

    .lista-produtos img {
        height: 320px;
    }

    .lista-produtos {
        width: 320px;
        height: 500px;
    }

    .rodape {
        display: flex;
        flex-wrap: wrap;
        text-align: center;
    }

    .card-aluno {
        font-size: 15px;
    }

    .card-aluno h3 {
        font-size: 10px;
    }
}


@media (max-width: 376px) {

    .modal {
        zoom: 0.55;
    }

    .modal-2 {
        zoom: 0.55;

    }

    .botao {
        width: 250px;
        height: 35px;
    }


    .fechar {
        height: 45px;
        left: 455px;
        width: 45px;
        top: -25px;
        text-align: center;
        font-size: 30px;
        padding-top: 5px;

    }

    header {
        position: fixed;
    }

    label {
        display: block;
        z-index: 22;
    }

    #botao-menu:checked~.cabecalho {
        margin-left: 0%;
    }

    .cabecalho {
        margin-top: -72%;
        margin-left: -100%;
        transition: all 1s;
        background-color: #302f2f;
        height: 350px;
        width: 155px;
        display: flex;
    }

    .logo {
        width: 77px;
        margin-left: 50%;
        position: absolute;
        top: -0%;
    }

    .cabecalho input {
        position: absolute;
        margin-top: -345px;
        margin-left: 69px;
    }

    .search {
        zoom: 80%;
    }

    .search:focus {
        margin-top: -260px;
        width: 190px;
    }

    #menu {
        position: relative;
    }

    #menu ul li {
        display: block;
    }

    .menu-top {
        margin-top: 100px;
    }

    ul {
        display: grid;
        gap: 20px;
    }

    .conteudo-banner h1 {
        font-size: 25px;
    }

    .conteudo-banner h2 {
        font-weight: 300;
        font-size: 10px;
        margin-bottom: 25px;
    }

    .container-banner {
        background-position: -80px;
        height: 500px;
    }

    .lista-produtos img {
        height: 320px;
    }

    .lista-produtos {
        width: 320px;
        height: 500px;
    }

    .rodape {
        display: flex;
        flex-wrap: wrap;
        text-align: center;
    }

    .card-aluno {
        font-size: 15px;
    }

    .card-aluno h3 {
        font-size: 10px;
    }
}

@media (max-width: 321px) {

    .modal {
        zoom: 0.55;
    }

    .modal-2 {
        zoom: 0.55;

    }

    .botao {
        width: 250px;
        height: 35px;
    }


    .fechar {
        height: 45px;
        left: 455px;
        width: 45px;
        top: -25px;
        text-align: center;
        font-size: 30px;
        padding-top: 5px;

    }

    header {
        position: fixed;
    }

    label {
        display: block;
        z-index: 22;
    }

    #botao-menu:checked~.cabecalho {
        margin-left: 0%;
    }

    .cabecalho {
        margin-top: -72%;
        margin-left: -100%;
        transition: all 1s;
        background-color: #302f2f;
        height: 350px;
        width: 155px;
        display: flex;
    }

    .logo {
        width: 77px;
        margin-left: 50%;
        position: absolute;
        top: -0%;
    }

    .cabecalho input {
        position: absolute;
        margin-top: -345px;
        margin-left: 69px;
    }

    .search {
        zoom: 80%;
    }

    .search:focus {
        margin-top: -260px;
        width: 190px;
    }

    #menu {
        position: relative;
    }

    #menu ul li {
        display: block;
    }

    .menu-top {
        margin-top: 100px;
    }

    ul {
        display: grid;
        gap: 20px;
    }

    .conteudo-banner h1 {
        font-size: 25px;
    }

    .conteudo-banner h2 {
        font-weight: 300;
        font-size: 10px;
        margin-bottom: 25px;
    }

    .container-banner {
        background-position: -80px;
        height: 500px;
    }

    .lista-produtos img {
        height: 250px;
    }

    .lista-produtos {
        width: 250px;
        height: 450px;
    }

    .rodape {
        display: flex;
        flex-wrap: wrap;
        text-align: center;
    }

    .card-aluno {
        font-size: 15px;
    }

    .card-aluno h3 {
        font-size: 10px;
    }

    /* ALUNOS:

            Michel Vieira Do Nascimento.
            Matheus Ribeiro Reis.
            Henrique Vilela.

            /*
        }
    }