@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Adicionando a fonte Peach Cake */
@font-face {
    font-family: peachcake;
    src: url('/fonts/Peach\ Cake.otf') format('truetype');
}

/* Reset de estilos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /* Adicione aqui os estilos para o fundo dos cartões */
}
.container {
    position: relative;
    left: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1880px;
    flex-wrap: wrap;
    background: none; /* fundo transparente */
    padding: 20px;
}

.container .card {
    position: relative;
    width: 250px;
    height: 350px;
    margin: 30px;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}

.container .card .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: 0.5s ease;
}

.container .card .content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    padding: 20px;
    background: none; /* remove fundo */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.container .card:hover .content {
    opacity: 1;
    transform: translateY(0);
}

.container .card .content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.container .card .content a {
    display: inline-block;
    padding: 8px 16px;
    color: #fff;
    text-decoration: none;
    border: 2px solid #fff;
    border-radius: 8px;
    transition: 0.3s;
    font-weight: bold;
    background: transparent;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.container .card .content a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

.container .card:hover .card-img {
    filter: brightness(40%);
}

/* Estilos da barra de navegação */

.navigation {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 70px;
    background: #4B0082;
    box-shadow: 10px 0 0 #8B008B;
    border-left: 10px solid #4B0082;
    overflow-x: hidden;
    transition: width 0.5s;
    z-index: 2;
}

.navigation:hover {
    width: 180px;
}

.navigation ul {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding-left: 5px;
    padding-top: 130px;
}

.navigation ul li {
    position: relative;
    list-style: none;
    width: 100%;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.navigation ul li a {
    display: flex;
    width: 100%;
    text-decoration: none;
    color: #fff;
    align-items: center;
}

.navigation ul li a .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 60px;
    height: 60px;
}

.navigation ul li a .icon ion-icon {
    font-size: 1.3rem;
}

.navigation ul li a .title {
    padding-left: 10px;
    white-space: nowrap;
}

.navigation ul li.active {
    background: #8B008B;
}

.navigation ul li.active a::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: 0;
    width: 30px;
    height: 30px;
    background: #4B0082;
    border-radius: 50%;
    box-shadow: 15px -15px 0 #8B008B;
}

/* Estilos do banner */
.container-banner {
    height: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
}

/* Estilos da barra de navegação */
.logo img {
    position: absolute;
    top: 20px; /* Ajuste conforme necessário */
    left: 50%; /* Centraliza horizontalmente */
    transform: translateX(-50%); /* Ajusta o deslocamento para centralizar a imagem */
    width: 100%; /* A logo ocupa 100% da largura do contêiner */
    max-width: 80px; /* Limita o tamanho máximo da logo */
    height: auto; /* Mantém a proporção da imagem */
    padding-top: 40px;
}

.container-banner img {
    width: 100%;
    height: auto;
    align-self: flex-start;
    margin-top: -30px;
    margin-left: 30px;
    margin-right: 40px;
}

.hero-text h1 {
    font-family: 'peachcake', sans-serif;
    font-size: 3.1rem;
    color: #099c22;
    margin-top: -10vh;
    text-align: center;
}

.hero-text p {
    font-size: 1.2rem;
    margin-top: 2vh;
    text-align: center;
}

/* Estilos gerais para a caixa */
.box {
    position: absolute;
    top: 22%;
    left: 89%;
    transform: translateX(-50%);
    z-index: 2;
    background-color: rgba(104, 146, 236, 0.52);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    width: 20%;
    max-width: 300px;
}

.box-link {
    text-decoration: none;
    color: white;
    border-radius: 10px;
    padding: 10px;
    display: block;
    margin-bottom: 5px;
    font-size: 1em;
}

.box-link:hover {
    background-color: dodgerblue;
}

.logincontainer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #ecf0f1;
}
.content {
    background-color: #fff;
    border-radius: 15px;
    width: 960px;
    height: 50%;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.content::before {
    content: "";
    position: absolute;
    width: 40%;
    height: 100%;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;


    left: 0;
}



.title {
    font-size: 28px;
    font-weight: bold;
    text-transform: capitalize;
    margin-top: 60px;
}
.title-primary {
    color: #fff;
}
.title-second {
    color: #a258af;
}
.description {
    font-size: 14px;
    font-weight: 300;
    line-height: 30px;
}
.description-primary {
    color: #fff;
}
.description-second {
    color: #7f8c8d;
}
.btn {
    border-radius: 15px;
    text-transform: uppercase;
    color:rgb(247, 241, 241);
    font-size: 10px;
    padding: 10px 50px;
    cursor: pointer;
    font-weight: bold;
    width: 150px;
    align-self: center;
    border: none;
    margin-top: 1rem;
    margin-left: -4px;
    
}

#signup {
    display: inline-block;  /* botão fique na mesma linha */
    white-space: nowrap;    /* Impede a quebra de linha*/
    margin: 0;              /* Remove margens extras */
    padding: 10px 20px;     /* Ajuste o preenchimento conforme necessário */
}

.btn-primary {
    background-color: transparent;
    border: 1px solid #fff;
    transition: background-color .5s;
}
.btn-primary:hover {
    background-color: #fff;
    color: #a258af;
}
.btn-second {
    background-color: #a258af;
    border: 1px solid #a258af;
    transition: background-color .5s;
}
.btn-second:hover {
    background-color: #fff;
    border: 1px solid #a258af;
    color:#a258af;
}

.inputsubmit.btn-second {
    background-color: #a258af !important;  /* Força a cor de fundo */
    color: white !important;               /* Força a cor do texto */
}

.inputsubmit.btn-second:hover {
    background-color:rgb(109, 20, 124) !important;  /* Força a cor de fundo */
    color: white !important;               /* Força a cor do texto */
}

.first-content {
    display: flex;
}
.first-content .second-column {
    z-index: 11;
}
.first-column {
    text-align: center;
    width: 40%;
    z-index: 10;
}
.second-column {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form {
    display: flex;
    flex-direction: column;
    width: 55%;
}
.form input {
    height: 45px;
    width: 100%;
    border: none;
    background-color: #ecf0f1;
}
input:-webkit-autofill 
{    
    -webkit-box-shadow: 0 0 0px 1000px #ecf0f1 inset !important;
    -webkit-text-fill-color: #000 !important;
}
.label-input {
    background-color: #ecf0f1;
    display: flex;
    align-items: center;
    margin: 8px;
}
.icon-modify {
    color: #7f8c8d;
    padding: 0 5px;
}

/* second content*/

.second-content {
    position: absolute;
    display: flex;
}
.second-content .first-column {
    order: 2;
    z-index: -1;
}
.second-content .second-column {
    order: 1;
    z-index: -1;
}


.password {
    color: #34495e;
    font-size: 14px;
    margin: 15px 0;
    text-align: center;
    margin-left: 40px;
}
.password::first-letter {
    text-transform: capitalize;
}



.sign-in-js .first-content .first-column {
    z-index: -1;
}

.sign-in-js .second-content .second-column {
    z-index: 11;
}
.sign-in-js .second-content .first-column {
    z-index: 13;
}

.sign-in-js .content::before {
    left: 60%;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    animation: slidein 1.s; /*MODIFIQUEI DE 3s PARA 1.3s*/

    z-index: 12;
}

.sign-up-js .content::before {
    animation: slideout 1.s; /*MODIFIQUEI DE 3s PARA 1.3s*/

    z-index: 12;
}

.sign-up-js .second-content .first-column,
.sign-up-js .second-content .second-column {
    z-index: -1;
}

.sign-up-js .first-content .second-column {
    z-index: 11;
}

.sign-up-js .first-content .first-column {
    z-index: 13;    
}


/* DESLOCAMENTO CONTEÚDO ATRÁS DO CONTENT:BEFORE*/
.sign-in-js .first-content .second-column {

    z-index: -1;
    position: relative;
    animation: deslocamentoEsq 1.s; /*MODIFIQUEI DE 3s PARA 1.3s*/
}

.sign-up-js .second-content .second-column {
    position: relative;
    z-index: -1;
    animation: deslocamentoDir 1.s; /*MODIFIQUEI DE 3s PARA 1.3s*/
}

.password-link {
    margin-left: 50px;
    margin-bottom: 20px;

}

/* Ajustes de responsividade */
@media (max-width: 2000px) {
    .box {
        top: 20%;
    }
    .box-link {
        font-size: 1em;
    }
}

@media (max-width: 1200px) {
    .box {
        top: 17%;
    }
}

@media (max-width: 900px) {
    .box {
        top: 15%;
    }
}

@media (max-width: 700px) {
    .box {
        top: 12%;
    }
}

@media (max-width: 600px) {
    .box {
        top: 11%;
    }
}

@media (max-width: 500px) {
    .box {
        top: 9%;
        width: 25%;
    }
}

@media (max-width: 390px) {
    .box {
        top: 8%;
        width: 23%;
    }
}

/* Ajustes para texto do header em telas menores */
@media (max-width: 2000px) {
    .hero-text h1 {
        font-size: 1.8rem;
        margin-left: 8%;
        margin-top: -2%;
    }
    
    .hero-text p {
        font-size: 1.5rem;
        margin-left: 10%;
    }
}

@media (max-width: 885px) {
    .hero-text h1 {
        font-size: 1.6rem;
        margin-top: -3%;
        margin-left: 12%;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 1.4rem;
        margin-top: -6%;
        margin-left: 12%;
    }

    .hero-text p {
        font-size: 1rem;
        margin-left: 10%;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 1.2rem;
        margin-left: 10%;
    }

    .hero-text p {
        font-size: 1rem;
        margin-left: 10%;
    }
}

@media (max-width: 400px) {
    .hero-text h1 {
        font-size: 1.0rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }
}
