@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Jersey+10&family=Press+Start+2P&family=Tiny5&display=swap');

* {
    margin: 0;
}

body {
    background-color: #F5F2DF;
}

header {
    background-color: #6F5D88;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 10px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icone {
    box-shadow: 1px 1px 0px #2e2e2e,
        2px 2px 0px #2e2e2e,
        3px 3px 0px #2e2e2e,
        4px 4px 0px #2e2e2e,
        5px 5px 0px #2e2e2e;
    background-color: #DEBC77;
    padding: 4px 20px;
    border: solid 2px #2e2e2e;
}

.icone img {
    height: 25px;
}

nav a {
    color: #2e2e2e;
    font-family: "Jersey 10", sans-serif;
    font-size: 20px;
    padding: 8px 25px;
    text-decoration: none;
    cursor: pointer;
    background-color: #55436D;
    box-shadow: 1px 1px 0px #2e2e2e,
        2px 2px 0px #2e2e2e,
        3px 3px 0px #2e2e2e,
        4px 4px 0px #2e2e2e,
        5px 5px 0px #2e2e2e;
    border: solid 2px #2e2e2e;
}

nav a.active {
    background-color: #9E8BAF;
}

.logo {
    margin-right: 5%;
}

.logo img {
    height: 60px;
}

/* Seções */

.section h1 {
    background-color: #6F5D88;
    padding: 30px 45px;
    font-family: "Press Start 2P", system-ui;
    font-weight: 400;
    font-style: normal;
    text-shadow:
        -3px -3px 0 #2e2e2e,
        4px -3px 0 #2e2e2e,
        -3px 3px 0 #2e2e2e,
        3px 3px 0 #2e2e2e,
        0px -3px 0 #2e2e2e,
        0px 3px 0 #2e2e2e,
        -3px 0px 0 #2e2e2e,
        3px 0px 0 #2e2e2e,
        6px 6px 0 #DEBC77;
    color: #fafaef;
}

.section {
    display: none;
}

.section.active {
    display: block;
}

/* texto carrossel */
.carrossel {
    overflow: hidden;
    white-space: nowrap;
    padding: 10px;
    background: #E2CC9E;
    color: #fafaef;
    text-shadow: -2px -2px 0 #2e2e2e,
        2px -2px 0 #2e2e2e,
        -2px 2px 0 #2e2e2e,
        2px 2px 0 #2e2e2e,
        0px -2px 0 #2e2e2e,
        0px 2px 0 #2e2e2e,
        -2px 0px 0 #2e2e2e,
        2px 0px 0 #2e2e2e;
    font-size: 24px;
    font-family: "Press Start 2P", system-ui;
    font-weight: 400;
    font-style: normal;
    border-top: 2px solid #2e2e2e;
    border-bottom: 2px solid #2e2e2e;
}

.faixa {
    display: inline-block;
    padding-right: 2rem;
}

.track {
    display: inline-block;
    animation: mover 12s linear infinite;
}

@keyframes mover {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* conteudo sessão 1*/
.equipe {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    padding-right: 30px;
    padding-top: 30px;
    gap: 10px;
}

.membro {
    width: 250px;
}

.titulo {
    background-color: #9E8BAF;
    border: solid 2px #2e2e2e;
    box-shadow: 1px 1px 0px #2e2e2e,
        2px 2px 0px #2e2e2e,
        3px 3px 0px #2e2e2e,
        4px 4px 0px #2e2e2e,
        5px 5px 0px #2e2e2e;
    display: flex;
    align-items: center;
    width: 250px;
    justify-content: space-between;
    padding: 5px 10px;
    margin: 0;
}

.titulo h1 {
    background: none;
    padding: 0;
    text-shadow: none;
    box-shadow: none;
    color: #2e2e2e;
    font-family: "Jersey 10", sans-serif;
    font-size: 25px;
}

.titulo p {
    color: #fafaef;
    text-shadow: -2px -2px 0 #2e2e2e,
        2px -2px 0 #2e2e2e,
        -2px 2px 0 #2e2e2e,
        2px 2px 0 #2e2e2e,
        0px -2px 0 #2e2e2e,
        0px 2px 0 #2e2e2e,
        -2px 0px 0 #2e2e2e,
        2px 0px 0 #2e2e2e;
    font-size: 24px;
    font-family: "Press Start 2P", system-ui;
    font-weight: 400;
    font-style: normal;
}

.membro img {
    width: 250px;
    border: 2px solid #2e2e2e;
    padding: 5px 10px;
    background-color: #fafaef;
    box-shadow: 1px 1px 0px #2e2e2e,
        2px 2px 0px #2e2e2e,
        3px 3px 0px #2e2e2e,
        4px 4px 0px #2e2e2e,
        5px 5px 0px #2e2e2e;
}

.membro a {
    position: relative;
    bottom: 40px;
    left: 15px;
    font-size: 25px;
    color: #2e2e2e;
    font-family: "Jersey 10", sans-serif;
}

/* informações sobre a equipe */
.sobre {
    background-color: #E2CC9E;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    padding: 20px 200px;
    gap: 40px;
    height: 100px;
    border-top: 2px solid #2e2e2e;
    border-bottom: 2px solid #2e2e2e;
}

.texto1 {
    background-color: #DEBC77;
    position: relative;
    top: 20px;
    justify-self: center;
    border: 2px solid #2e2e2e;
    font-family: "Jersey 10", sans-serif;
    font-size: 25px;
    color: #2e2e2e;
    padding: 30px 20px;
    box-shadow: 1px 1px 0px #2e2e2e,
        2px 2px 0px #2e2e2e,
        3px 3px 0px #2e2e2e,
        4px 4px 0px #2e2e2e,
        5px 5px 0px #2e2e2e;
}

.texto2 {
    background-color: #C7C4D3;
    position: relative;
    top: 20px;
    justify-self: center;
    border: 2px solid #2e2e2e;
    font-family: "Jersey 10", sans-serif;
    font-size: 25px;
    color: #2e2e2e;
    padding: 30px 20px;
    box-shadow: 1px 1px 0px #2e2e2e,
        2px 2px 0px #2e2e2e,
        3px 3px 0px #2e2e2e,
        4px 4px 0px #2e2e2e,
        5px 5px 0px #2e2e2e;
}

/* conteudo sessão 2*/
.projeto {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
}

/* video */
.video {
    width: 450px;
    padding-top: 20px;
}

.titulo-video {
    background-color: #9E8BAF;
    border: solid 2px #2e2e2e;
    box-shadow: 1px 1px 0px #2e2e2e,
        2px 2px 0px #2e2e2e,
        3px 3px 0px #2e2e2e,
        4px 4px 0px #2e2e2e,
        5px 5px 0px #2e2e2e;
    display: flex;
    align-items: center;
    width: 450px;
    justify-content: space-between;
    padding: 10px;
    margin: 0;
}

.titulo-video h1 {
    background: none;
    padding: 0;
    text-shadow: none;
    box-shadow: none;
    color: #2e2e2e;
    font-family: "Jersey 10", sans-serif;
    font-size: 27px;
}

.titulo-video p {
    color: #fafaef;
    text-shadow: -2px -2px 0 #2e2e2e,
        2px -2px 0 #2e2e2e,
        -2px 2px 0 #2e2e2e,
        2px 2px 0 #2e2e2e,
        0px -2px 0 #2e2e2e,
        0px 2px 0 #2e2e2e,
        -2px 0px 0 #2e2e2e,
        2px 0px 0 #2e2e2e;
    font-size: 24px;
    font-family: "Press Start 2P", system-ui;
    font-weight: 400;
    font-style: normal;
}

.video video {
    width: 450px;
    border: 2px solid #2e2e2e;
    padding: 10px;
    background-color: #fafaef;
    box-shadow: 1px 1px 0px #2e2e2e,
        2px 2px 0px #2e2e2e,
        3px 3px 0px #2e2e2e,
        4px 4px 0px #2e2e2e,
        5px 5px 0px #2e2e2e;
}

/* tecnologias */
.tecnologias {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
}

.tecnologias h1 {
    font-size: 30px;
    font-family: "Jersey 10", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #2e2e2e;
    background: none;
    text-shadow: none;
}

.box {
    height: 60px;
    padding: 20px;
    box-sizing: border-box;
    transition: all 0.5s ease;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    margin-bottom: 15px;
    margin-right: 85px;

    border: 2px solid #2e2e2e;
    box-shadow: 1px 1px 0px #2e2e2e,
        2px 2px 0px #2e2e2e,
        3px 3px 0px #2e2e2e,
        4px 4px 0px #2e2e2e,
        5px 5px 0px #2e2e2e;
}

.box h2 {
    font-size: 20px;
    color: #fafaef;
    text-shadow: -2px -2px 0 #2e2e2e,
        2px -2px 0 #2e2e2e,
        -2px 2px 0 #2e2e2e,
        2px 2px 0 #2e2e2e,
        0px -2px 0 #2e2e2e,
        0px 2px 0 #2e2e2e,
        -2px 0px 0 #2e2e2e,
        2px 0px 0 #2e2e2e;
    font-family: "Press Start 2P", system-ui;
    font-weight: 400;
    font-style: normal;

    transition: opacity 0.1s ease-out, transform 0.1s ease-out;
}

.box.expanded {
    height: 140px;
    background-color: #2f4156;
    font-family: "Jersey 10", sans-serif;
    font-weight: 400;
    font-size: 20px;
    font-style: normal;
    color: #2e2e2e;
}

.box.collapsed {
    height: 1px;
    background-color: #c8d9e6;
    color: #567c8d;
}


.content {
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 15px;
}

.box.expanded .content {
    opacity: 1;
}

.box.collapsed h2 {
    opacity: 0;
    font-size: 5px;
}

#box1 {
    background-color: #C7C4D3;
}

#box2 {
    background-color: #E2CC9E;
}

#box3 {
    background-color: #DEBC77;
}

/* professores */
.professores {
    padding: 30px;
    /* position: static; */
}

.professores h1 {
    font-size: 30px;
    font-family: "Jersey 10", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #2e2e2e;
    background: none;
    text-shadow: none;
}

.professor {
    display: flex;
    position: relative;
    bottom: 20px;
    align-items: center;
    padding: 15px 0;
}

.professor img {
    width: 80px;
    height: auto;
    border: 2px solid #2e2e2e;
    box-shadow: 1px 1px 0px #2e2e2e,
        2px 2px 0px #2e2e2e,
        3px 3px 0px #2e2e2e,
        4px 4px 0px #2e2e2e,
        5px 5px 0px #2e2e2e;
    background-color: #fafaef;
}

.info a img {
    width: 45px;
    object-fit: contain;
    display: block;
    background: none;
    box-shadow: none;
    border: none;
    transition: all 0.2s;
}

.info a img:hover {
    transform: scale(90%);
    transition: all 0.2s;
}

.info {
    display: flex;
    align-items: center;
}

.nome {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nome h1 {
    font-family: "Press Start 2P", system-ui;
    font-weight: 400;
    font-style: normal;
    color: #2e2e2e;
    font-size: 16px;
    margin-left: -10px;
}

.nome p {
    font-size: 25px;
    font-family: "Jersey 10", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #55436D;
    margin-left: 35px;
    position: relative;
    bottom: 15px;
}

.separacao {
    background-color: #2e2e2e;
    width: 100%;
    height: 2px;
    position: relative;
    bottom: 20px;
}

/* sobre o projeto e cliente */
.cliente {
    width: 200px;
    position: relative;
    top: 30px;
    margin-left: 70%;
    z-index: 2;
}

.nome-cliente {
    background-color: #E2CC9E;
    border: solid 2px #2e2e2e;
    box-shadow: 1px 1px 0px #2e2e2e,
        2px 2px 0px #2e2e2e,
        3px 3px 0px #2e2e2e,
        4px 4px 0px #2e2e2e,
        5px 5px 0px #2e2e2e;
    display: flex;
    align-items: center;
    width: 200px;
    justify-content: space-between;
    padding: 7px;
    margin: 0;
}

.nome-cliente h1 {
    background: none;
    padding: 0;
    text-shadow: none;
    box-shadow: none;
    color: #2e2e2e;
    font-family: "Jersey 10", sans-serif;
    font-size: 20px;
}

.nome-cliente p {
    color: #fafaef;
    text-shadow: -2px -2px 0 #2e2e2e,
        2px -2px 0 #2e2e2e,
        -2px 2px 0 #2e2e2e,
        2px 2px 0 #2e2e2e,
        0px -2px 0 #2e2e2e,
        0px 2px 0 #2e2e2e,
        -2px 0px 0 #2e2e2e,
        2px 0px 0 #2e2e2e;
    font-size: 15px;
    font-family: "Press Start 2P", system-ui;
    font-weight: 400;
    font-style: normal;
}

.cliente img {
    width: 200px;
    height: 150px;
    border: 2px solid #2e2e2e;
    padding: 7px;
    background-color: #fafaef;
    box-shadow: 1px 1px 0px #2e2e2e,
        2px 2px 0px #2e2e2e,
        3px 3px 0px #2e2e2e,
        4px 4px 0px #2e2e2e,
        5px 5px 0px #2e2e2e;
}

.introducao-projeto {
    background-color: #DEBC77;
    justify-self: center;
    border: 2px solid #2e2e2e;
    font-family: "Jersey 10", sans-serif;
    font-size: 25px;
    color: #2e2e2e;
    width: 400px;
    padding: 100px 20px 30px 20px;
    box-shadow: 1px 1px 0px #2e2e2e,
        2px 2px 0px #2e2e2e,
        3px 3px 0px #2e2e2e,
        4px 4px 0px #2e2e2e,
        5px 5px 0px #2e2e2e;
    position: relative;
    bottom: 100px;
    z-index: 1;
}

.introducao-projeto b {
    font-size: 30px;
    font-weight: 300;
}

/* responsividade */
@media (max-width: 1200px) {
    .equipe {
        grid-template-columns: repeat(2, 1fr);
    }

    .projeto {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .equipe {
        grid-template-columns: repeat(2, 1fr);
    }

    .sobre {
        grid-template-columns: 1fr;
        padding: 20px 100px;
        gap: 40px;
        height: 100px;
        margin-top: 5%;
        
    }

    .titulo h1 {
        font-size: 30px;
    }

    .membro a {
        font-size: 30px;
        bottom: 50px;
        left: 20px;
    }

    .box {
        margin: 0;
        margin-bottom: 15px;
    }

}

@media (max-width: 500px) {

    .cliente {
        top: 30px;
        margin-left: 35%;
    }

    .introducao-projeto {
        width: 260px;
        bottom: 60px;
        margin-right: 30px;
    }

    .equipe {
        zoom: 0.6;
        gap: 5%;
    }

    .titulo {
        border: solid 4px #2e2e2e;
    }

    .membro img {
        border: solid 4px #2e2e2e;
        position: relative;
        bottom: 3px;
    }

    .sobre {
        grid-template-columns: 1fr;
        padding: 20px 40px;
        gap: 40px;
        height: 100px;
        margin-top: 5%;
    }

    /* video */
    .video {
        width: 320px;
        padding-top: 20px;
        margin-right: 30px;
    }

    .titulo-video {
        width: 320px;
    }

    .titulo-video h1 {
        font-size: 20px;
    }

    .titulo-video p {
        font-size: 20px;
    }

    .video video {
        width: 320px;
    }

    .professores {
        zoom: 0.9;
        padding-left: 30px;
        padding-right: 30px;
        padding-bottom: 30px;
        padding-top: 10px;
    }

    .box.expanded {
        height: 185px;
    }

    .icone {
        padding: 2px 10px;
    }

    .icone img {
        height: 20px;
        margin-top: 3px;
    }

    nav a {
        padding: 5px 10px;
    }

    .logo {
        margin-right: 10px;
    }

    .logo img {
        height: 50px;
    }
}