@font-face {
    font-family: 'GoogleSansFlex';
    src: url('https://fonts.gstatic.com/s/googlesansflex/v5/t5s6IQcYNIWbFgDgAAzZ34auoVyXkJCOvp3SFWJbN5hF8Ju1x5tKByN2l9sI40swNJwakXdYAZzz0jbnJ4qFQO5tGjLvDSkV4DyKMo6qQzwliVdHySgxyRg2eWQTmw.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'GoogleSansFlex', sans-serif;
}
body,html{
    height: 100%;
    width: 100%;
    overflow: hidden;
}

#main{
    height: 100%;
    width: 100%;
    background-color: #0e0e0e;
    position: relative;
}
#nav{
    padding: 10px 10px;
    display: flex;
    justify-content: space-between;
}
#nav{
    color: white;
    text-transform: uppercase;
}
#nav #right{
    display: flex;
    gap: 25px;
}
#nav  h6{display: none;}
.item{
    font-weight: 100;    
}
#text{
    color: white;
    font-weight: 100;
    font-size: 9rem;
    text-transform: uppercase;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 120px;
    width: 100%;
    margin-top: 40px;
    z-index: 5;
}
#text span{

    display: block;
}
#text span:nth-child(1){
    margin-top: 50px;
    margin-left: 12%;
}
#text span:nth-child(2){
    /* margin-left: 31.5%; */
    text-align: center;
}
#text span:nth-child(3){
    text-align: center;
}

img{
    position: absolute;
    top: 12%;
    left: 40%;
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}
img:nth-child(1){
    z-index: 3;
}
img:nth-child(2){
    rotate: 10deg;
    z-index: 2;
}
img:nth-child(3){
    rotate: 20deg;
    z-index: 1;
}

#end{
    display: flex;
    justify-content: space-between;
    bottom: 0;
    width: 100%;
    color: white;
    position: absolute;
    padding: 10px 10px;
    text-transform: uppercase;
    font-weight: 100;
    font-size: 12px;
    padding-bottom: 20px;
}
#end-center{
    display: flex;
    margin-right: 200px;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    font-style: normal;
    font-weight: 100;
}
#end-left{
    margin-left: 30px;
}
#end-right{
    margin-right: 30px;
}

@media (max-width: 768px) {
    #nav{
        padding: 10px 10px;
        display: flex;
        justify-content: space-between;
    }
    #nav #right{
        display: none;
    }
    .item{
        font-size: 15px;    
    }
    #nav  h6{display: initial;
    font-size: 20px;
color:white;}
    #text{
        font-size: 4.5rem;
    }
    #text span{
        display: block;
    }
    #text span:nth-child(1){
        margin-top: 50px;
        margin-left: 12%;
    }
    #text span:nth-child(2){
        /* margin-left: 31.5%; */
        text-align: center;
    }
    #text span:nth-child(3){
        text-align: center;
    }

    img{
        top: 20%;
        left: 20%;
        height: 350px;
        width: 275px;
    }
    #end{display: inline;}
    #end-right{
        display: none;
    }
    #end-center{
        width: 100%;
    }
    #end-left{
        display: none;
    }
    
}