@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&family=Raleway:wght@400;500;600;700&display=swap');

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

html{
    font-size: 62.5%;
}

body{
    display: block;
    width: 100%;
    height: 100%;
    background-color: #03217F;
    color: #CEDAF2;
    font-family: 'Raleway', sans-serif;
}

.navigator-sup{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-inline: 2rem;
}

/* ------ MENU --------*/
.navigator{
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.navigator ul ul{
    display: none;
    background-color: #709bf0;
    border-radius: 6px;
    padding: 1rem;
    margin-left: 1rem;
}

.navigator ul ul li{
    margin-top: 0.8rem;
}

.navigator ul ul li:hover{
    border-radius: 0.4rem;
    padding-inline: 0.4rem;
    background-color: #03217F;
}

.navigator ul ul li a{
    color: #CEDAF2;
    text-decoration: none;
}

.navigator ul ul li:nth-child(1){
    margin-top: 0;
}

.navigator ul:hover ul{
    margin-top: -2.3rem;
    cursor: pointer;
    font-size: 2.2rem;
    display: inline-block;
}

/* ------ MENU --------*/
ul{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    margin-right: 2rem;
    margin-top: 2.5rem;
}

ul li{
    list-style-type: none;
}

ul li svg{
    width: 3.5rem;
    height: 3.2rem;
    margin: 1rem;
}

.home{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: auto;
    padding: 0.9rem;
}

.home img{
    width: 35rem;
}

.home h1{
    font-size: 5.5rem;
    font-weight: 600;
    margin-right: 0;
    margin-bottom: 2rem;
    text-align: center;
}

.home p{
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 2rem;
    text-align: justify;
    margin-inline: 3rem;
    padding: 1rem;
}

span#nick{
    font-size: 7.2rem;
    color: #E35B30;
}

footer.copy{
    font-size: 1.5rem;
    text-align: center;
    margin: 1.5rem;
}

@media (max-width: 415px){
    .home{
        display: flex;
        flex-direction: column;
    }

    .home h1{
        font-size: 4rem; 
    }
    
    .home span#nick{
        font-size: 5.5rem;
    }

    .home p{
        width: 70%;
        margin: auto;
    }
    
    .social-medias{
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .social-medias svg{
        width: 70%;
        margin: 0.5rem;
    }
}

@media (min-width: 415px) and (max-width: 520px){
    .navigator-sup{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        margin-top: 0;
    }

    .social-medias svg{
        width: 70%;
        margin: 0.5rem;
    }

    ul.social-medias{
        width: 100%;
    }

    .home{
        display: flex;
        flex-direction: column;
        margin-left: 0;
        margin-top: 2rem;
    }

    .home h1 .home span{
        width: 100vw;
        
    }

    .about{
        width: 90%;
        margin-inline: 1rem;
    }
}

@media (min-width: 520px) and (max-width: 900px){
    .home{
        margin-top: 1rem;
        display: flex;
        flex-direction: column;
    }
    
    .about{
        width:70%;
        margin-top: 2rem;
    }

    .navigator-sup{
        margin-inline: 5rem;
        margin-top: 0;
    }
}

@media (min-width: 901px) and (max-width: 1366px){
    .navigator-sup{
        margin-inline: 6rem
    }

    .home{
        display: flex;
        flex-direction: row;
        margin-inline: 1rem;
    }

    .home h1 .home span{
        width: 100vw;
    }

    span#nick{
        font-size: 6.5rem;
    }       

    .home h1{
        font-size: 5rem;
    }

    .about{
        width:60%;
    }
}

@media (min-width: 1367px) and (max-width: 1440px){
    .navigator-sup{
        margin-inline: 10rem
    }

    .home{
        margin-top: 2rem;
        display: flex;
        flex-direction: row;
        margin-inline: 1rem;
        width: 145rem
    }

    .home h1 .home span{
        width: 100vw; 
    }

    span#nick{
        font-size: 6.5rem;
    }       

    .home h1{
        font-size: 5rem;
    }

    .about{
        width:60%;
    }
}

@media (min-width: 1441px){
    body{
        width: 100vw;
        margin: 0;
    }

    .navigator-sup{
        margin-inline: 10rem
    }
    
    .home{
        margin-top: 2rem;
        display: flex;
        flex-direction: row;
        width: 145rem;
    }

    .navigator-sup{
        margin-inline-end: 11rem;
    }

    footer.copy{
        margin-inline: 0;
    }
}