@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital@0;1&family=Poppins:wght@400;700&family=Ubuntu:ital@0;1&display=swap');

*{
    font-style:"Ubuntu", sans-serif;;
    padding: 0;
    margin: 0;
    color: white;
}


body{
    background-color: #191919;
    height: 100vh ;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

body::after{
    content: '';
    width: 100%;
    height: 100%;
    background-color: red;
    position: absolute;
    z-index: -1;
    clip-path: circle(40% at right 70%);
}

.container{
    background-color: rgba(255, 255, 255, 0.1); ;
    border-radius: 24px;
    width: 90%;
    height:90%;
    padding: 20px;
    overflow: hidden;
}

a{
    text-decoration: none;
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}
.logo{
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
} 

ul{
    width: 60%;
    list-style-type: none;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

li a{
    font-size: 1.5rem;
    transition: 0.5s;
    padding: 500;
    
}

li a:hover{
    color: #ff0000;
}

main{
    width: 80;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
}

.maintitle{
    width: 40%;
    padding: 20px;
    margin: 5rem;
}
.maintitle h2{
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 25px;
}

.maintitle p{
    width: 560px;
    font-size: 2rem;
    line-height: 50px;
    margin-top: 25px;
    margin: 10px 0; 
    letter-spacing: 1px;
}

.imges{
    width: 40%;
}

img{
    width: 600px;
    background-position: center;
}


@media (min-width:950px) and (max-width:1600px){
    img{
        width: 330px;
    }
}

@media (max-width:950px){
    main , nav{
        display: flex;
        flex-direction: column;
        justify-content: center;

    }

    .maintitle,.imges {
        width: 80%;
    }

    .maintitle h2{
        font-size: 3rem;
    }

    .maintitle p{
        font-size: 1.5rem;
    }

    img{
        width: 150px;
        margin-bottom: 120px;
    }

    body::after{
        clip-path: circle(30% at bottom);
        background-position: center;
    }
}