@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins',sans-serif;
}

html{
    font-size: 65%;

}

body {
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: black;
}

header{
    margin-top: 20px;
    background-color: antiquewhite;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    filter: drop-shadow(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    padding: 1rem 9%;
}

.logo {
    color: rgb(0, 110, 255);
    font-size: 3rem;
    font-weight: 900;
    cursor: pointer;
    transition: 0.5s ease;
}

.logo:hover {
    transform: scale(1.1);
}

nav a{
    color:  rgb(0, 110, 255);
    font-size: 1.6rem;
    font-weight: 500;
    transition: 0.5s ease;
    margin-left: 4rem;
}
nav a:hover,
nav a.active {
    color: aliceblue;
    border-bottom: 3px solid aliceblue;
}

@media(max-width:999px){
    nav {
        position: absolute;
        display: flexbox;
        top: 100%;
        right: 0;
        width: 30%;
        border-left: 3px solid aliceblue(224, 110, 110) ;
        border-bottom: 3px solid aliceblue;
        border-bottom-left-radius: 2rem;
        padding: 1rem;
        background-color: rgba(0, 0, 0, 0.815);
        border-top: 1rem rgba(0, 0, 0, 0.815);
    }
    nav:active {
        display: block;

    }
    nav a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }
    nav a:hover, nav a:active {
        padding: 1rem;
        border-radius: 0.5rem;
        border-bottom: 0.5rem solid aliceblue;
    }
}

@media(max-width:400px){
    nav {
        position: absolute;
        display: none;
        top: 100%;
        right: 0;
        width: 10%;
        border-left: 3px solid aliceblue(224, 110, 110) ;
        border-bottom: 3px solid aliceblue;
        border-bottom-left-radius: 2rem;
        padding: 1rem;
        background-color: rgba(0, 0, 0, 0.815);
        border-top: 1rem rgba(0, 0, 0, 0.815);
        transition: 0.5s ease;
    }
    nav:active {
        display: block;

    }
    nav a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }
    nav a:hover, nav a:active {
        padding: 1rem;
        border-radius: 0.5rem;
        border-bottom: 0.5rem solid aliceblue;
    }
}



section{
    min-height: 100vh;
    padding:  5rem 9% 5rem;

}

.home {
    display: flex;
    background-color: black;
    color: aliceblue;
    gap: 4rem;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.home .home-content h1{
    font-size: 5rem;
}
.home .skill-content h1{
    font-size: 5rem;
}
span {
    color: rgb(0, 110, 255)
}

.home-img {
    border-radius: 50%;
}
.home-img img {
    position: relative;
    width: 40vw;
    border-radius: 50%;
    box-shadow: 0 0 25px solid aliceblue;
    cursor: pointer;
    transition: 0.5s linear;
}
.home-img img:hover {
    font-size: 1.8rem;
    font-weight: 500;
}

.social-icons a{
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border-radius: 0,2rem solid aliceblue;
    font-size: 2rem;
    margin: 3rem 1.5re, 3rem;
    transition: 0.2s ease;
    color: rgb(0, 110, 255);
    border-color: aliceblue;

}

.social-icons a:hover{
    color: white;
    transform: scale(1.3) translateY(-5px);
}

.home-img {
    border-radius: 50%;
}
.catur-img img {
    position: relative;
    width: 40vw;
    border-radius: 50%;
    box-shadow: 0 0 25px solid aliceblue;
    cursor: pointer;
    transition: 0.5s linear;
}
.catur-img img:hover {
    font-size: 1.8rem;
    font-weight: 500;
}



@media (max-width: 1000px){
    .home{
    gap: 4rem;        
    }
}

@media (max-width: 995px){
    .home{
    flex-direction: column;        
    }
    .home-content{
        font-size: 1rem;
    }
    .home .home-content h1{
        font-size: 3rem;
    }
    .skill-content {
        font-size: 2rem;
    }
}

.chesscom {
    color: rgb(0, 110, 255);
}