@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');
/* Tentando aprender a organizar os codigos :( */




html {
    scroll-snap-type: y mandatory; /*imã*/
    scroll-behavior: smooth;
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;


    text-decoration: none;
    outline: none;
}




body{
    padding: 0;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;

    padding: 1rem 2%;
    font-family: "Google Sans", sans-serif;
    background: linear-gradient(135deg, #F8FBFF 0%, #EAF4FF 30%, #D8E8FF 65%, #CFE0FF 100%);
    color: #24345D;
}


/* ------------------------------------ LOGO -------------------------------------------*/
.logo-img{
    width: 70px;
    height: 70px;
    object-fit: contain;
    cursor: pointer;
}
/* ------------------------------------ LOGO -------------------------------------------*/


/* nav INTEIRA e MINHOQUINHA !!!! */
nav{
    background-color: #ffffff; /* Fundo da navbar branco */
    padding: 15px 30px;
    border-radius: 60px;
    display: flex;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2); /* Sombra leve pra separar do fundo */

    width: 95%;
    max-width: 1200px;
    margin: 20px auto;
}


nav a{
    display: inline-block;
}

.main-menu{
    position: relative;
    display: flex;
    justify-content: space-between; /*Eixo e colunas horizontal*/
    align-items: center;
    width: 100%;
}


.main-menu ul{
    width: auto;
    padding: 1rem 5%;
    margin-left: auto;




    display: flex;
    list-style: none;
    margin: 0;
    gap: 40px;
    margin-top: 0;
    margin-bottom: 0;
}


.main-menu ul li a{
    white-space: nowrap;
    position: relative;




    color: rgb(101, 128, 218);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3 ease;
}


.main-menu ul li a,
.main-menu ul li a:visited,
.main-menu ul li a:hover,
.main-menu ul li a:active {
    text-decoration: none;


}

/* -------------------------  MINHOQUINHA !!!!!!!!!! :DDDD ------------------------------*/
.main-menu ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 3px;
    background-color: #6C8FB5;
    transition: width 0.4s ease;
}


.main-menu ul li a:hover::after {
    width: 100%;
}


/* cor ao passar o mouse */
.main-menu ul li a:hover,
.main-menu ul li a.active {
    color: #2a4663;
    transition: color 0.3s ease;
}
/* ---------------------- FECHA NAV E MINHOQUINHA!!!!!!!!!! ----------------------------*/


/* ------------------------------------ MAIN ------------------------------------------*/

.banner-caroline{
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 5%;
}

.banner-caroline img{
    width: 100%;
    max-width: 500px;
    min-width: 350px;
    height: auto;

    display: block;
    justify-content: center;
    align-items: center;

    border-radius: 40px;
    box-shadow: 0 15px 60px rgba(0,0,0,0.1);
}


.hero-container{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;

    max-width: 1200px;

    gap: 60px;
    margin: 3rem auto;
    margin-top: 3rem;
    padding: 0 5%;
}

.hero-container.inverter{
    flex-direction: row-reverse;
}

.hero-container.inverter .hero-img{
    justify-content: flex-end;
}

.hero-img{
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.hero-img img{
    
    border-radius: 30px;
    display: block;
    margin-right: 0;

    width: 100%;
    max-width: 500px;
    min-width: 350px;
    height: auto;

    box-shadow: 0 15px 60px rgba(0,0,0,0.1);
}

.artigo {
    flex: 1;
    margin-right: 0;
}

.artigo h1{
    display: flex;
    align-items: center;
    gap: 15px;

    margin-top: 0;
    font-size: 2.5rem;
    margin-bottom: 1px;
}


/* --------------------------------------------------------------------------------------------------*/

.artigo h1 i{
    font-size: 0.8em;
    color: #24345D;
    display: inline-block;

    opacity: 30%;
    transform: rotate(-45deg);
    animation: girar 10s linear infinite;
    transform-origin: center;
}

@keyframes girar {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* --------------------------------------estrelinha fecha--------------------------------------------*/

.artigo h2 {
    color: rgb(101, 128, 218);

    align-items: center;
    margin-top: 0;
    margin-bottom: 10px;
}

.artigo p{
    line-height: 1;
    margin-top: 10px;
}

.typing-text span{
    position: relative;
    display: inline-block;
}

.typing-text span::before{
    content: "";
    color: rgb(101, 128, 218);
    display: inline-block;
    animation: words 9s infinite, bounce 9s infinite;
}

@keyframes cursor{
    50%{
        opacity: 0;
    }
}

@keyframes words {
    0%, 30%{
        content: "Astronomia";
    }
    31%, 60%{
        content: "Matemática";
    }
    61%, 100%{
        content: "Observação Celeste";
    }
}

@keyframes bounce {
    0%, 30%, 60%, 100%{
        transform: translateY(0);
    }

    32%, 62%{
        transform: translateY(-6px);
    }

    35%, 65%{
        transform: translateY(0);

    }
}

/* -------------------------------    RODAPÉ    ----------------------------------------*/

.gatinhos-gif{
    border-radius:200px;
    width: 300px;
    margin-bottom: 1rem;
}

.last-menu{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    padding: 40px 0;

    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    background-color: #cedfff;
}

.footer-conteudo{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    width: 100%;
    max-width: 900px;
}

.socials{
    font-size: 30px;

    display: flex;
    gap: 10px;
    justify-content: center;

    list-style: none;
    padding: 0;
    margin-top: 1vh;
}

.socials li{
    margin-bottom: 8px;
}

.socials li a{
    color: #6580DA;
    font-weight: bolder;
    transition: color 0.3s ease;
    
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.socials li a:hover{
    color: #2a4663;
}

/* blocos */

.bloco-1, .bloco-2{
    flex: 1;
    text-align: center;
}

.linha-vertical{
    width: 2px;
    height: 80px;
    background-color: #6C8FB5;
    opacity: 0.4;
}