.skilllink {
    color: inherit !important;
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
    font-family: Arial, sans-serif;
}
:root{
    --background: rgb(24, 24, 24);
    --second-background: rgb(21, 21, 21);
}
body{
    background: var(--background);
    min-height: 100vh;
}
nav{
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2em 15%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}
ul{
    display: flex;
    align-items: center;
    gap: 3em;
}
nav ul a{
    color: white;
    opacity: 0.7;
    transition: 0.3s ease;
}
nav ul a:hover{
    opacity: 1;
}
.logo{
    color: white;
    font-size: 2em;
    font-weight: 800;
    opacity: 0.8;
    transition: 0.2s ease-in-out;
}
.logo:hover{
    opacity: 1;
}
.btn{
    padding: 0.5em 1em;
    color: rgb(255, 255, 255);
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 0.5em;
    font-size: 1.1em;
    border: 2px solid rgb(255, 255, 255);
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.btn:hover{
    background-color: white;
    color: var(--background)
}
span{
    background: linear-gradient(to right, #FFFF00, #00FFE2);
    background-clip: text;
    color: transparent;
}
#menu{
    color: white;
    font-size: 3em;
    display: none;
    cursor: pointer;
    z-index: 1100;
}
section{
    min-height: 100vh;
    padding: 5% 15%;
}
#home{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2em;
    color: white;   
}
#home img{
    width: 18vw;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    margin-top: 3em;
}
.info-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
    max-width: 600px;
}
.info-box h1{
    font-size: 5em;
    font-weight: 500;
}
.info-box h3{
    font-size: 2em;
    font-weight: 400;
}
.info-box p{
    opacity: 0.7;
}
.btn-box{
    display: flex;
    gap: 1em;
}
.btn-box .btn:nth-of-type(2){
    background-color: white;
    color: var(--background);
}
.btn-box .btn:nth-of-type(2):hover{
    background-color: var(--background);
    color: white;
}
#about{
    background-color: var(--second-background);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5em;
}
#about img{
    width: 30vw;
    border-radius: 1em;
}
.about-box{
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 2em;
}
.about-box h1{
    font-size: 5em;
}
.about-box p{
    color: white;
    opacity: 0.8;
}
.skills{
    display: flex;
    text-align: left;
    gap: 10em;
}
.skills ul{
    font-size: 1.3em;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    color: white;
    opacity: 0.8;
    align-items: baseline;
}
.skills ul li span{
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 1.3em;
    transition: 0.3s ease-in-out;
}
.skills ul li:hover{
    transform: translateX(10px);
}
.skills ul li i{
    font-size: 1.2em; 
}
.about-box h2{
    font-size: 2.5em;
}
#services{
    background-color: var(--background);
}
.header{
    text-align: center;
    font-size: 5em;
    margin: 0.5em 0;
}
.services-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2em;
}
.box{
    border: 3px solid rgb(49, 49, 49);
    border-radius: 0.5em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    object-fit: cover;
    padding: 3em;
    gap: 2em;
    color: white;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.box:hover{
    border: 3px solid rgb(100, 100, 100);
}
.box p{
    opacity: 0.8;
}
.box h1{
    font-size: 2em;
}
.box img{
    min-width: 25px;
    border-radius: 0.5em;
}
#contact{
    background-color: var(--second-background);
}
form{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2em;
}
form .input-box{
    display: flex;
    flex-direction: column;
    align-items: baseline;
    gap: 1em;
}
.input-box span{
    font-size: 1.5em;
} 
form input{
    font-size: 1.3em;
    padding: 1em 5em;
    border-radius: 0.5em;
    border: none;
    outline: none;
}
form input:focus{
    background-color: rgb(229, 229, 229);
}
footer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10em;
    bottom: 0;
    background-color: darkslategray;
    width: 100%;
    padding: 5em 15%;
}
.col-left{
    display: flex;
    flex-direction: column;
    gap: 1em;
}
.col-box{
    display: flex;
    align-items: center;
    gap: 1em;
}
.col-box i{
    font-size: 2em;
}
.col-box span{
    font-size: 1.2em;
}
.col-right{
    display: flex;
    flex-direction: column;
    gap: 1em;
    color: white;
    max-width: 500px;
}   
.col-right span{
    font-size: 1.3em;
}
.col-right .social-icons{
    display: flex;
    align-items: baseline;
    justify-content: left;
    gap: 1em;
}
.col-right .social-icons i{
    font-size: 2em;
    transition: 0.2s ease-in-out;
    cursor: pointer;
}
.col-right .social-icons i:hover{
    color: white;
}

.Projects{
    display: block;
    width: 40vw;
    border-radius: 5%;
    margin-top: 3em;
    margin-left: auto;
    margin-right: auto;
}

.mythefoto{
    display: block;
    width: 70vw;
    border-radius: 5%;
    margin-top: 1em;
    margin-left: auto;
    margin-right: auto;
}

.White{
    color: white;
}

.whitep{
    color: white;
    opacity: 0.8;
    text-align: center;
    margin-top: 1em;
    width: 80vw;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.5em;
}
.headers{
    text-align: center;
    font-size: 5em;
    margin: 0.5em 0;
    margin-top: 2em;
}

.mythevid{
    display: block;
    width: 70vw;
    border-radius: 5%;
    margin-top: 1em;
    margin-left: auto;
    margin-right: auto;
}
.link{
    color: inherit;
    text-decoration: none;
}
.githublink{
    color: cyan;
    opacity: 0.8;
    text-align: center;
    margin-top: 1em;
    width: 80vw;
    margin-left: auto;
    margin-right: auto;
    font-size: 2em;
    display: block;
}
.githublink:hover{
    color: #007bff;
    opacity: 1;
}
.skillink{
    color: inherit;
    background-color: inherit;
}
.slider-wrapper{
    position: relative;
    max-width: 48rem;
    margin: 0 auto;
    padding-bottom: 3rem;
}
.slider{
    display: flex;
    aspect-ratio: 16/9;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 1.5rem 3rem -0.75rem rgba(0, 0, 0, 0.25);
    width: 40vw;
    border-radius: 5%;
    margin-top: 3em;
    margin-left: auto;
    margin-right: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.slider::-webkit-scrollbar{
    display: none;
}

.slider img{
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: cover;
}

.slider .Projects{
    width: 100%;
    margin: 0;
    border-radius: 0;
}

.slider-nav{
    display: flex;
    column-gap: 1rem;
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.slider-nav a{
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.7);
    opacity: 1;
    transition: transform 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
    cursor: pointer;
}
.slider-nav a:hover{
    transform: scale(1.2);
    background-color: #00ffe2;
    opacity: 0.95;
}

.slider-nav a:focus-visible{
    outline: 2px solid #ffff00;
    outline-offset: 2px;
}
button{
    background-color: transparent;
    border: none;
    cursor: pointer;
}
@media(max-width:968px)
{
    section{
        padding: 8em 15%;
    }
    nav .btn{
        display: none;
    }
    #menu{
        display: block;
    }
    .links{
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        padding: 1em 3em;
        display: flex;
        flex-direction: column;
        text-align: center;
        background-color: rgba(0, 0, 0, 0.9);
        display: none;
    }
    .links a{
        margin: 2em 0;
        display: block;
        font-size: 1.5em;
        color: white;
    }
    .links.active{
        display: block;
    }

    #home h1{
        font-size: 4em;
    }
    #home h3{
        font-size: 2em;
    }
    #home img{
        width: 24vw;
    }

    #about{
        flex-direction: column;
    }
    #about img{
        width: 32vw;
    }
    #about h1{
        font-size: 3em;
    }
    #about ul{
        font-size: 1em;
    }

}
@media(max-width:768px)
{
    #home h1{
        font-size: 2.5em;
    }
    #home h3{
        font-size: 1.5em;
    }
    #home img{
        width: 32vw;
    }

    #about .skills{
        gap: 3em
    }
    #services .header{
        font-size: 3em;
    }
    #contact .header{
        font-size: 3em;
    }

    #contact .input-box span{
        padding: 1.2em;
    }
    .input-box input{
        padding: 0.5em 1em;
    }
    footer{
        flex-direction: column;
        gap: 5em;
        align-items: baseline;
    }

    .slider-wrapper{
        padding-bottom: 2.5rem;
    }
}