:root{
    --blue : #35ccfa;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "poppins", sans-serif;
}

body{
    background: linear-gradient(to right,#222, #333);
    display: flex;
    height: 100vh;
}

body::after{
    content: '';
    position: absolute;
    inset: 0;
    background: var(--blue);
    clip-path: circle(30% at right);

    z-index: -1;
}

.container{
    width: 80%;
    min-height: 80%;
    margin: auto;
    color: white;

    background: rgba(255, 255, 255, .1);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 3px 3px 15px rgba(0, 0, 0, .5);

}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    margin: auto;
    padding: 2rem 0;
}

nav a img{
    width: 5rem;
    filter: brightness(0) invert(1);
    
    transition: transform .3s;
}
nav a img:hover{
    transform: scale(1.1);
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 0 2rem;
}

nav ul li a{
    all: unset;
    font-weight: 200;
    font-size: 20px;
    letter-spacing: 1px;

    position: relative;

    transition:  .3s ease-in;
    cursor: pointer;

    transition: .3s ;
}

nav ul li a:hover{
    color: var(--blue);
    font-weight: bold;
}

nav ul li a::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 2px;
    background: var(--blue);
    border-radius: 1rem;
    opacity: 0;
    transition: opacity .3s;
}

nav ul li a:hover::after{
    opacity: 1;
}

.content{
    display: flex;
    justify-content: space-between;

    width: 80%;
    margin: auto;

    align-items: center;
    min-height: 60vh;

}

.content .text{
    width: 40%;
}

.content .text h1{
    font-size: 60px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: white;
    line-height: 100%;
    margin-bottom: 1rem;
}

.content .text p{
    font-size: 20px;
    font-weight: 300;
    line-height: 35px;
    width: 90%;
}


.content .image{
    width: 45%;

    display: flex;
    justify-content: flex-end;
}

.content .image img{
    width: 400px;
}

@media screen and (max-width : 1250px){
    nav{
        flex-direction: column;
        gap: 1rem;
    }
    .content .text h1{
        font-size: 50px;
        text-transform: uppercase;
        letter-spacing: 3px;
        color: white;
        line-height: 100%;
        margin-bottom: 1rem;
    }
    
}

@media (min-width : 950px) and (max-width : 1250px){  
    .content .image img{
        width: 280px;
    }
    .content .text p{
        width: 100%;
    }
}

@media screen and (max-width : 950px){
    body::after{
        clip-path: circle(40% at bottom);
    }
    .content{
        flex-direction: column;
        justify-content: space-evenly;
        text-align: center;
        width: 100%;
    }
    .content .text{
        width: 80%;
    }

    .content .text h1{
        font-size: 35px;
    }
    .content .image{
        width: 50%;
        margin-bottom: 2rem;
    }
    .content .image img{
        width: 100%;
    }
    nav{
        width: 100%;
        text-align: center;
    }
    nav ul li {
        margin: 1rem;
    }
}

@media screen and (max-width : 430px){
    .container{
        width: 90%;
    }
    nav{
        gap: 0;
    }
    nav a img{
        width: 3rem;
    }
    .content{
        justify-content: flex-start;
        gap: 2rem;
    }
    .content .text{
        width: 90%;
    }
    .content .text h1{
        font-size: 30px;
    }
    nav ul li a{
        font-size: 18px;
    }
    

}