* {
    padding: 0;
    margin: 0;
    vertical-align: baseline;
    list-style: none;
    border: 0;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    background-color: #fff;
}


.cabecalho {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #d9d9d9;
  border-bottom: 0.25vh solid black;
  height: 90px;
  width: 100%;
}


.logoCabecalho {
  width: 800px;
  height: 100px;
  object-fit: contain;
}



.t1 {
    font-family: 'Courier New', Courier, monospace;
    margin-top: 20px;
}

.conteiner {
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

.janela1, .janela2, .janela3 {
    flex: 1 1 320px;
    max-width: 380px;
    height: auto;
    border: 0.5px solid black;
    border-radius: 20px;
    box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

.cabecalhoJ {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 20px;
}

.tj {
    margin-right: 15px;
}

.plogo {
    width: 50px;
    height: 50px;
}

.botoes {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.curso {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border: 1px solid black;
    border-radius: 15px;
    width: 90%;
    max-width: 270px;
    height: 100px;
    margin-top: 20px;
    font-family: "Inter", sans-serif;
    background-color: white;
    transition: 0.2s;
    cursor: pointer;
    gap: 20px;
    padding-left: 10px;
}

.curso:hover {
    background-color: #D9D9D9;
    transform: scale(1.02);
}

.cLogoA, .cLogoQ, .cLogoD, .cLogoN, .cLogoI, .cLogoR, .cLogoS, .cLogoF {
    width: 70px;
    height: 70px;
}

.curso h1.tb {
    font-size: 20px;
}

.curso h2.st {
    font-size: 14px;
    line-height: 1.2;
    text-align: left;
    word-wrap: break-word;
}

.textB, .textBD, .textBN, .textBI, .textBR, .textBST {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 140px;
}


.menu {
    position: fixed; /* fica fixo na tela, não rola junto com a página */
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: stretch;
    height: 300px;
    width: 400px;
    background-color: #D9D9D9;
    border: 2px solid black;
    border-radius: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
}

.menu.show {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

/* Botões dentro do menu */
.close-conteiner {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 10px;
    box-sizing: border-box; /* garante que padding não ultrapasse */
}

.close {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.close img {
    height: 30px;
    width: 30px;
    display: block;
}


.btnM {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 80%;
    background-color: #ffffff;
    border: 2px solid black;
    border-radius: 10px;
    font-size: 12px;
    cursor: pointer;
    margin: 10px auto;
}

.rodape {
  background-color: black;
  color: white;
  width: 100%;
  text-align: center;
  font-size: 12px;
  padding: 10px 0;
  margin-top: auto;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* espaço entre o link e o texto */
}

.rodape a {
  color: white;
  font-size: 16px; /* aumenta o tamanho da fonte do link */
}

.rodape h3 {
  font-size: 10px;
  font-family: Arial, Helvetica, sans-serif;
}



/*RESPONSIVIDADE*/

/*Telas de tablet*/
@media (max-width: 768px) {
    .conteiner {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .janela1, .janela2, .janela3 {
        width: 90%;
        max-width: 360px;
    }

    .menu {
        width: 320px;
        height: 250px;
        top: 30%;
        left: calc(50% - 160px);
    }

    .logoCabecalho {
        width: 70%;
    }
}

/*Telas pequenas*/
@media (max-width: 500px) {
    .cabecalho {
        height: 80px;
    }

    .logoCabecalho {
        width: 250px;
        height: auto;
    }

    .t1 {
        font-size: 18px;
        margin-top: 15px;
    }

    .curso {
        flex-direction: column;
        justify-content: center;
        height: auto;
        padding: 10px 0;
    }

    .cLogoA, .cLogoQ, .cLogoD, .cLogoN, .cLogoI, .cLogoR, .cLogoS, .cLogoF {
        width: 60px;
        height: 60px;
    }

    .textB, .textBD, .textBN, .textBI, .textBR, .textBST {
        align-items: center;
        text-align: center;
        width: auto;
    }

    @media (max-width: 500px) {
    .menu {
        width: 250px;
        height: 200px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.95);
    }

    .menu.show {
        transform: translate(-50%, -50%) scale(1);
    }

    .btnM {
        width: 200px;
        height: 40px;
        font-size: 8px;
    }
}


    .rodape {
        font-size: 8px;
    }
}

/*Telas muito pequenas*/
@media (max-width: 380px) {
    .t1 {
        font-size: 16px;
    }

    .janela1, .janela2, .janela3 {
        width: 95%;
        border-radius: 15px;
    }

    .curso {
        width: 90%;
    }

}


html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.conteiner {
    flex: 1; 
    margin-bottom: 20px;
}

.rodape {
    margin-top: auto; 
}
