@import url('https://fonts.googleapis.com/css2?family=poppins :wght@300;400;500;600;700;800;900& display=swap');



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}
.show{
    display: none ;
}
.view{
    display: flex;
}
.hamburger{
    display: none;
}
a{
    cursor: crosshair;
}
section{
    height: 100vh;
}
.projects{
    height: max-content;
}
.blur-background {
    display: none;
}

.background {
    display: none;
}

body {
    background: #0c1022;
    color: #fff;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background-color: #0c1022;
}

.logo {
    font-size: 25px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    pointer-events: none;
    animation: anim 1s ease forwards;
}

.navbar a {
    font-size: 18px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    animation-delay: calc(5s * var(--i));
    animation: anim 5s ease forwards;

}

.hamburger {
    display: none;
}

.active, .navbar a:hover {
    background: linear-gradient(45deg, #f06, #3cf);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;

}

.home-content {
    max-width: 500px;
}

.home {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 10% 0;
}

.home-content h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
}

.home-content h3 {
    font-size: 32px;
    font-weight: 700;
}

.home-content p {
    font-size: 16px;
    margin: 20px 0 40px;

}

.btn {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 48px;
    border-radius: 40px;
    font-size: 19px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;

}

.btn::before {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    inset: 0;
    background: linear-gradient(45deg, #f06, #3cf, #f06);
    background-position: 0 0;
    background-size: 200%;
    z-index: -1;
    border-radius: 40px;
    filter: blur(10px);
    transition: .5s ease;
}

.btn::after {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    inset: 0;
    background: linear-gradient(45deg, #f06, #3cf, #f06);
    background-position: 0 0;
    background-size: 200%;
    z-index: -1;
    border-radius: 40px;
    transition: .5s ease;

}

.btn:hover::after {
    background-position: 100% 0;
}

.btn:hover::before {
    background-position: 100% 0;
}

.terminal {
    height: 200px;
}

.homeimage {

}

.social-media-container {
    margin-right: 80px;
}

.social-media-container a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    font-size: 50px;
    text-decoration: none;
    background: linear-gradient(45deg, #f06, #3cf);
    color: white;
    border-radius: 50%;
    margin: 20px 0;
    z-index: 1;

}

.social-media-container a::before {
    content: ' ';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f06, #3cf);
    border-radius: 50%;
    z-index: -1;
    transition: .5s ease;

}

.social-media-container a:hover::before {
    filter: blur(5px);
}

.social-media-container a:hover {
    color: black;
}

.social-media-container a::after {
    content: ' ';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #0c1022;
    border-radius: 50%;
    transform: scale(.88);
    z-index: -1;
    transition: .5s ease;
}

.social-media-container a:hover::after {
    transform: scale(0);
}

.homeimage {
    width: 500px;
    height: 500px;
}

.glowing-circle {
    position: relative;
    display: flex;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
}

.glowing-circle .image {
    position: relative;
    background-color: #0c1022;
    width: 490px;
    height: 490px;
    z-index: 1;
    border-radius: 50%;
    overflow: hidden;
}

.glowing-circle::after {
    content: '';
    position: absolute;
    width: 480px;
    height: 480px;
    background-color: #0c1022;
    border-radius: 50%;
}

.image img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    max-width: 800px;
    object-fit: cover;
}

.glowing-circle span {
    position: absolute;
    width: 99%;
    height: 99%;
    background: linear-gradient(180deg, #f06, #3cf);
    border-radius: 50%;
}

.glowing-circle span::after {
    position: absolute;
    content: '';
    width: 99%;
    height: 99%;
    background: linear-gradient(180deg, #3cf, #f06);
    border-radius: 50%;
    animation: rotate 15s infinite;
    animation-direction: alternate-reverse;
}

@keyframes rotate {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}

.glowing-circle span:nth-child(2) {
    filter: blur(10px);
}


@keyframes anim {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-me {
    position: relative;
    margin: 70px 10% 0;
    height: 80vh;

}

.about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

#canv {
    align-self: center;
    cursor: move;
}

.details {
    margin: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.details h3 {
    font-size: 30px;
    margin: 10px;
}

.details h3 a {
    color: mediumspringgreen;
}

.topic {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.topic h1 {
    text-align: center;
    font-weight: 50;
    font-size: 40px;
}

.selected {
    display: block;
}

.contact {
    display: flex;
    margin: 70px 10% 0;
}

#canv {
    width: 600px;
    height: 400px;
}
.footer{
    background:#000;
    padding:30px 0px;
    font-family: 'Play', sans-serif;
    text-align:center;
}

.footer .row{
    width:100%;
    margin:1% 0%;
    padding:0.6% 0%;
    color:gray;
    font-size:0.8em;
}

.footer .row a{
    text-decoration:none;
    color:gray;
    transition:0.5s;
}

.footer .row a:hover{
    color:#fff;
}

.footer .row ul{
    width:100%;
}

.footer .row ul li{
    display:inline-block;
    margin:0px 30px;
}

.footer .row a i{
    font-size:2em;
    margin:0% 1%;
}
#skills-section{
    margin-top: 100px;
}
@media (max-width:450px){
    .footer{
        text-align:left;
        padding:5%;
    }
    .footer .row ul li{
        display:block;
        margin:10px 0px;
        text-align:left;
    }
    .footer .row a i{
        margin:0% 3%;
    }
}

@media all and (max-width: 1400px) {

    .social-media-container a {
        width: 55px;
        height: 55px;
        font-size: 34px;
        margin: 20px 10px;
    }

    .home-content h1 {
        font-size: 41px;
    }

    .homeimage {
        width: 300px;
        height: 300px;
    }

    .image img {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        max-width: 500px;
        object-fit: cover;
    }

    .about-me {
        padding-top: 100px;
    }

    .glowing-circle {
        width: 305px;
        height: 305px;
    }

    .glowing-circle .image {
        width: 300px;
        height: 300px;
    }

    .glowing-circle::after {
        width: 280px;
        height: 280px;
    }

    .details h3 {
        font-size: 19px;
    }

    #canv {
        margin-right: 25px;
        width: 300px;
        height: 200px;
    }

    .assignments {
        height: max-content;
        display: flex;
        justify-content: space-between;
        padding: 70px 10% 0;
        flex-direction: column;
    }

    .contact {
        height: max-content;
        display: flex;
        justify-content: space-between;
        padding: 70px 10% 50px;
        flex-direction: column;
    }

    .assignments-all {
        padding-top: 70px;
    }
}

@media all and (max-width: 712px) and (min-width: 450px){

}

@media all and (max-width: 450px) {

    section{
        height: max-content;
        position: relative;
    }

    .hamburger{
        display: none;
        font-size: 50px;
    }

    .header>div:nth-child(1){
        display: none;

    }

    .hamburger > i {
        transition: transform 0.3s ease;
    }

    .hamburger > i:hover {
        transform: rotate(90deg);
    }


    .navbar {
        display: none;
        position: absolute;
        top: 65px;
        right: 0;
        align-self: baseline;
        flex-direction: column;
        justify-content: space-around;
        align-items: end;
        height: 301px;
        width: 150px;
        padding: 20px;
    }

    .view{
        display: flex;
    }

    .show{
        display: block !important;
    }

    .home {
        margin-top: 50px;
        height: max-content;
        flex-direction: column-reverse;
    }

    .homeimage {
        margin-top: 100px;
    }

    .home-content {
        display: flex;
        max-width: 500px;
        flex-direction: column;
    }

    .home-content h1 {
        margin-top: 20px;
        font-size: 26px;
        text-transform: uppercase;
        text-align: center;
    }

    .home-content h3 {
        font-size: 25px;
        text-align: center;
        font-weight: 100;
    }

    .btn {
        align-self: center;
    }

    .terminal {
        text-align: center;
        height: 258px;
    }

    .social-media-container {
        margin-right: 0px;
        display: flex;
        justify-content: space-between;
    }

    .about {
        flex-direction: column;
    }

    .about-me {
        height: max-content;
    }

    .content h2 {
        font-size: 3em;
        width: 100%;
        text-align: center;
    }

    .about-me .image {
        margin-top: 50px;
    }

    .about-me .details h3 {
        font-size: 15px;
        text-align: center;
    }

    .blur-background {
        position: absolute;
        display: block;
        width: 100%;
        height: 100%;
        background: black;
        opacity: 87%;
    }

    .blur-background > div {
        position: absolute;
        right: 0;
        top: 0;
        color: white;
        font-size: 30px;
        margin: 10px;
        border: 2px solid white;
        display: flex;
    }

    .close-button > i {
        transition: transform 0.3s ease;
    }

    .close-button > i:hover {
        transform: rotate(180deg);
    }

    .navbar > a {
        animation: anim 2s ease;
    }

    .background {
        position: absolute;
        margin-top: 536px;
        left: 0px;
        display: none;
        background: #0c1022eb;
        width: 100vw;
        height: 150vh;
        z-index: -1;
    }
    .topic .content{
        font-size: 13px;
        width: max-content;
    }

    @keyframes anim {
        0% {
            opacity: 0;
        }
        100% {
            opacity: 1;
        }
    }
    .home{
        overflow: hidden;
    }
}

