/* style.css */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, rgb(249, 193, 251), rgb(249, 181, 244));
    color: #1d1d1d;
    line-height: 1.7;
    overflow-x: hidden;
}

/* HEADER */

header{
    min-height: 55vh;
    background: linear-gradient(
        135deg,
     rgba(197, 152, 252, 0.9)
        rgba(58, 3, 126, 0.9)
    );
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    padding: 40px 20px;

    color: rgb(249, 195, 246);

    position: relative;
    overflow: hidden;
}

/* efeito decorativo */

header::before{
    content: "";
    position: absolute;

    width: 500px;
    height: 500px;

    background: rgba(255,255,255,0.08);

    border-radius: 50%;

    top: -150px;
    right: -120px;
}

header::after{
    content: "";
    position: absolute;

    width: 350px;
    height: 350px;

    background: rgba(255,255,255,0.05);

    border-radius: 50%;

    bottom: -120px;
    left: -100px;
}

header h1{
    font-size: 3rem;
    max-width: 900px;
    z-index: 2;

    animation: fadeDown 1s ease;
}

header p{
    margin-top: 20px;
    font-size: 1.2rem;
    max-width: 700px;

    opacity: 0.95;

    z-index: 2;

    animation: fadeUp 1.2s ease;
}

/* MAIN */

main{
    width: 90%;
    max-width: 1200px;

    margin: auto;
    padding: 60px 0;
}

/* CARDS */

.card{
    background: rgba(254, 228, 247, 0.75);

    backdrop-filter: blur(12px);

    border: 1px solid rgba(255,255,255,0.3);

    border-radius: 28px;

    padding: 35px;

    margin-bottom: 35px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);

    transition: 0.4s ease;
}

.card:hover{
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* TÍTULOS */

.card h2{
    font-size: 2rem;
    color: rgb(59, 5, 63);

    margin-bottom: 20px;

    position: relative;
}

.card h2::after{
    content: "";

    width: 100px;
    height: 9px;

    background: linear-gradient(to right, rgb(58, 5, 77), #d194f3);

    position: absolute;
    left: 0;
    bottom: -8px;

    border-radius: 10px;
}

.card p{
    margin-top: 15px;
    font-size: 1.05rem;
    color: #333;
}

/* LISTAS */

ul{
    margin-top: 15px;
    padding-left: 20px;
}

li{
    margin-bottom: 10px;
    transition: 0.3s;
}

li:hover{
    color: rgb(58, 13, 105);
    transform: translateX(5px);
}

/* MATERIAIS */

.material{
    margin-top: 35px;

    padding: 5%;

    border-radius: 22px;

    background: linear-gradient(
        135deg,
        rgba(253, 251, 253, 0.8),
        rgba(230,245,234,0.9)
    );

    border-left: 8px solid rgb(58, 9, 82);

    transition: 0.4s;
}

.material:hover{
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(67,160,71,0.18);
}

.material h3{
    font-size: 1.5rem;
    color: rgb(55, 14, 108);
    margin-bottom: 12px;
}

/* FOOTER */

footer{
    background: #600c68;
    color: white;

    text-align: center;

    padding: 30px 20px;

    margin-top: 50px;
}

footer p{
    font-size: 1rem;
    letter-spacing: 1px;
}

.imagem{
      width: 200px;
     
      float: right;
      padding: 10px ;
    }

/* ANIMAÇÕES */

@keyframes fadeDown{
    from{
        opacity: 0;
        transform: translateY(-40px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp{
    from{
        opacity: 0;
        transform: translateY(40px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVO */

@media(max-width: 768px){

    header h1{
        font-size: 2rem;
    }

    header p{
        font-size: 1rem;
    }

    .card{
        padding: 25px;
    }

    .card h2{
        font-size: 1.6rem;
    }

    .material h3{
        font-size: 1.2rem;
    }
    

}