*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}


body{
    font-family: "Poppins", sans-serif;
    background-color: black;
    color: #e7e7e7;
    min-height: 100vh;
    line-height: 1.5;
}

/* NAV BARRE */

.container{
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5rem;
}

header h1{
    margin: 0;
    font-size: 3rem;
    font-weight: 300;
}

header h1 .bon{
    color: #6314ca;
}

nav{
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-left: -5%;
}


nav a{
    font-size: 1rem;
    letter-spacing: 0.1em;
    transition: color 0.2s ease;
    text-decoration: none;
    color: inherit;
}

nav a:hover{
    color: #6a24c5;
}

.btn-login{
    background-color: #a7a7a7;
    color: black;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.btn-login:hover{
    background-color: #6314ca;
}

/* MAIN*/

main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(90vh - 6rem);
}

.content{
    max-width: 40rem;
    margin-left: 10%;
    z-index: 999;
}

.content h1{
   font-size: 4rem;
   font-weight: 600;
   letter-spacing: 0.1em;
   margin: 2rem 0;
   line-height: 1,2;
   text-shadow: 0 0 10px rgba(128, 128, 128, 0.418);
}

.description{
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    max-width: 35rem;
    color: gray;
}

.social-link{
    display: flex;
    margin-top: 3vh;
    gap: 1rem;
}

.social-link i{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border: 0.1rem solid #6314ca;
    border-radius: 50%;
    color: #6314ca;
    margin: 0 15px;
    font-size: 1rem;
    transition: 0.2s linear;
}

.social-link i:hover{
    scale: 1.3;
    filter: drop-shadow(0 0 10px #6314ca);
}

.terre-3d{
    position: absolute;
    top: 5em;
    right: -20%;
    max-width: -10%;
}

/* Tablette */
@media (max-width: 1024px) {
    header {
        padding: 1rem 2rem;
    }
    
    nav {
        gap: 1.5rem;
    }
    
    .terre-3d {
        max-width: 40%;
        top: 10%;
    }
}

/* Téléphone */
@media (max-width: 768px) {
    header {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }

    nav {
        display: none;
    }

    .btn-login {
        padding: 0.6rem 1.2rem;
    }

    .content h1 {
        font-size: 2.5rem;
    }

    .description {
        font-size: 1rem;
    }

    .terre-3d {
        max-width: 50%;
        top: 20%;
        right: 0;
    }
}
