@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Coming+Soon&family=Montserrat&family=Montserrat+Alternates&family=Open+Sans&family=Poppins&family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&family=Pacifico&display=swap');

/* font-family: 'Bebas Neue', sans-serif;
font-family: 'Coming Soon', cursive;
font-family: 'Montserrat', sans-serif;
font-family: 'Montserrat Alternates', sans-serif;
font-family: 'Open Sans', sans-serif;
font-family: 'Poppins', sans-serif;
font-family: 'Roboto', sans-serif; 
font-family: "Orbitron", sans-serif;
*/

:root {
    --bg: #000;
    --text: #f8f7f4;
    --secondary: #141414;
    --secondarytext: #6e6d6c;
    --purple: #582fcd;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body,
html {
width: 100%;
height: 100%;
background-color: var(--bg);
}

::-webkit-scrollbar {
    width: 0px;
}


.section {
    width: 100%;
    height: fit-content;
    padding-bottom: 5rem;
    background-color: var(--bg);
}

#home {
    height: 100vh;
}


.text {
    color: var(--text);
    font-family: "Poppins", sans-serif;

}

#particles-js {
    position: relative;
}

#heading {
    /* padding-top: 18rem; */
    text-align: center;
    font-size: 5rem;
    position: absolute;
    width: 100%;
    top: 35%;
}

#subhead {
    font-size: 1.2rem;
    text-align: center;
    top: 50%;
    font-family: 'Montserrat Alternates', sans-serif;
    width: 100%;
    position: absolute;
    
}

.box-container {
    display: flex;
    gap: 2rem;
}

.box {
    width:15rem;
    height: 15rem;
    background-color: var(--secondary);
    border-radius: 20px;
    box-shadow: 0px 0px 5px 0px var(--secondarytext) ;
}

#abouthead {
    font-size: 5rem;
    font-family: 'Montserrat', sans-serif;
    width: 20rem;
    text-align: center;
    margin: 2rem 5rem;
}

#box1head {
    
    font-size: 5rem;
    font-family: 'Coming Soon', cursive;
    margin: 1rem 2rem;
}

#box1sub {
    font-size: 1.2rem;
    width: 5rem;
    float: right;
    margin-right: 5rem;
    text-align: right;
    font-family: 'Open Sans', sans-serif;
    
}

#description {
    font-size: 1.5rem;
    width: 30rem;
    font-family: "Orbitron", sans-serif;
    margin: 3rem auto;
   
    text-align: left;
    
}

#description::first-letter {
    margin-left: 5rem;
}

.card-container {
    display: flex;
    justify-content: center;
    width: 40rem;
    margin: 0 auto;
}



.card {
    width: 30rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background-color: #202021;
    padding: 1rem 3rem;
    border-radius: 20px;
    box-shadow: 0px 0px 5px 0px var(--secondarytext);

}



.profile {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}



#club {
    color: var(--secondarytext);
}


.cardimage {
    width: 3rem;
    height: 3rem;
    border-radius: 100%;

    background-color: var(--purple);
}

#review {
    font-size: 1rem;
    
}

#workhead {
    font-size: 5rem;
    font-family: 'Montserrat', sans-serif;
    width: 20rem;
    text-align: center;
    margin-top: 2rem;
    margin-left: 5rem;
}

.work-img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.work-container {
    position: relative;
    width: 100%;
    height: 110vh;
}

.work-slider {
    position: absolute;
    width: 100vw;
    overflow: hidden;
    height: 110vh;
    perspective: 200px;
    perspective-origin: 50% 100%;

}

.work-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    transform: translate3d(-50%, -50%, 0);
    background-color: #000;
    box-shadow: 0px 0px 5px 0px var(--secondarytext);
}

.work-card img {
    position: absolute;
    opacity: 0.75;

}

#skill-heading {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 5rem;
    text-align: right;
    margin-right: 4rem;
}

.skill-container {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    flex-wrap: wrap;
    width: 65rem;
    margin: 3rem 7rem;
    justify-content: center;
    align-items: center;
}

.skill {
    width:7rem;
    height: 7rem;
    filter: grayscale(0.15);
    cursor: pointer;
    transition: all 200ms ease-in-out;
    
}

#figma {
    width: 5rem;

}

#java {
    width: 10rem;
}

.skill:hover {
    filter: grayscale(0);
    scale: 1.2;
}

footer {
    background:url("../assets/footer.png");
    width: 100%;
    height: 100vh;
    background-size: cover;
    display: grid;
    overflow: hidden;
}
.position {
    margin: -15rem 5rem;
}

.icon-container {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-self: right;
    
}

.icon-container *:hover {
    color: var(--purple);
    scale: 0.8;
}

footer ion-icon {
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: all 200ms ease-in-out;
}
#contact {
    font-size: 5rem;
    margin: 15rem 5rem;
}

.link {
    text-decoration: none;
}

@media screen and (min-width: 1900px){
    #heading {
        font-size: 7rem;
    }
    #subhead {
        font-size: 2rem;
    }
    #workhead {
        font-size: 7rem;
    }
    .work-container {
        margin-top: -15rem;
    }
    #abouthead {
        font-size: 7rem;
    }
    .box {
        width: 20rem;
        height: 20rem;
       
    }
    .box:nth-child(2) {
        margin-left: 10rem;
    }
    #box1head {
        font-size: 8rem;
    }
    #box1sub {
        font-size: 2rem;
        width: 8rem;
    }
    #description {
        font-size: 2rem;
        width: 40rem;
    }
    #review {
        font-size: 1.2rem;
   
    }
    .card {
        width: 800px !important ;
    }
    #skill-heading {
        font-size: 8rem;
    }
    .skill-container {
        width: 85rem;
        margin: 5rem 14rem;
    }
    .skill {
        width: 10rem;
        height: 10rem;
    }
    #figma {
        width: 8rem;
    }
    #contact {
        font-size: 8rem;
        margin: 20rem 5rem;
    }
    .position {
        margin: -20rem 5rem;
    }
    footer ion-icon {
        font-size: 4rem;
    }
}


@media screen and (max-width: 400px){


    #heading {
        font-size: 2rem;
        text-align: center;
        position: absolute;
        top: 25%;
    }
    #workhead {
        font-size: 2rem;
        margin:0;
    }
    #subhead {
        top: 45%;
    }
}