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

body {
    position: relative;
}

.roboto {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.fredoka {
    font-family: "Fredoka", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.rouge-script-regular {
    font-family: "Rouge Script", cursive;
    font-weight: 400;
    font-style: normal;
}

.hero {
    height: 100vh;
    width: 100%;
    background-image: linear-gradient(to left, #000000, #3533cd);
    position: fixed;
    top: 0;
    z-index: 1;
    padding: 100px;
}

.hero img {
    transform: scaleX(-1);
    position: fixed;
    left: 40%;
    top: -10%;
}

.name {
    color: white;
    font-family: fredoka;
    font-size: 150px;
    font-weight: 700;
    position: fixed;
    top: 40%;
}

.hello {
    color: #caf5f5;
    font-family: fredoka;
    font-size: 100px;
    font-weight: 500;
    position: fixed;
    top: 28%;
}

.desc {
    color: #caf5f5;
    font-family: fredoka;
    font-size: 30px;
    font-weight: 50;
}

.a {
    position: fixed;
    top: 62%;
}

.about_me {
    height: 100vh;
    width: 90%;
    background-color: #004aad;
    position: relative;
    top: 100vh;
    margin: auto;
    border-radius: 200px 200px 0 0;
    border-top: 10px double rgba(255, 255, 255, 0.535);
    border-right: 10px double rgba(255, 255, 255, 0.535);
    border-left: 10px double rgba(255, 255, 255, 0.535);
    z-index: 100;
}

.heading {
    color: #ffde59;
    font-family: fredoka;
    font-size: 100px;
    font-weight: 600;
    position: relative;
    text-align: center;
    text-shadow: 3px 3px 2px rgb(0, 0, 0);
    z-index: 10;
}

.about_me img {
    height: 60vh;
    border-radius: 50px;
    margin: 80px;
    border: 4px solid white;
    display: inline;
}

.intro {
    display: flex;
}

.me {
    width: 50%;
    color: white;
    font-size: 22px;
    position: relative;
    top: 40px;
    font-family: fredoka;
    font-weight: 100;
}

.edu {
    width: 100%;
    height: 200vh;
    background-image: linear-gradient(#004aad, black);
    position: relative;
    top: 100vh;
    border-radius: 90px 90px 0 0;
    border-top: 10px solid rgba(255, 255, 255, 0.806);
    z-index: 100;
}

.b {
    text-align: center;
}

.container {
    display: flex;
    flex-direction: column;
    padding: 80px;
}

.box {
    height: 250px;
    width: 800px;
    border-radius: 20px;
    background-image: linear-gradient(-45deg, #9258f7, #6197ee, #10d7e2);
    margin: 40px;
    padding: 20px;
    padding-left: 40px;
    position: relative;
}

.text1 {
    font-weight: 500;
    font-family: roboto;
    font-size: 45px;
    text-align: left;
    color: white;
}

.text2 {
    font-weight: 400;
    font-family: roboto;
    font-size: 20px;
    text-align: left;
    color: #3533cd;
}

.text3 {
    padding-top: 20px;
    color: white;
    text-align: left;
    font-size: 22px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 500;
}

.text4 {
    padding-top: 20px;
    color: rgba(255, 255, 255, 0.754);
    text-align: left;
    font-size: 14px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 100;
}

.focus {
    display: flex;
}

.on {
    padding: 4px;
    display: inline-block;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.178);
    margin-top: 20px;
    color: #3533cd;
    border: #004aad solid 1px;
    margin-right: 10px;
}

.text5 {
    position: absolute;
    top: 8px;
    right: 10px;
    border: #004aad solid 2px;
}

.A {
    color: #3533cd;
    font-size: 20px;
    padding: 2px;
}

.line {
    height: 1200px;
    width: 2px;
    position: relative;
    top: 90px;
    color: #caf5f5;
    background-color: #caf5f5d2;
    margin: 50px;
}

.main {
    display: flex;
    justify-content: center;
}

.c1 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(245, 222, 179, 0.364);
    position: absolute;
    top: 0px;
    left: -40px;
    border: 4px solid #caf5f5d2;
}

.B {
    font-size: 25px;
    margin: 22px;
}

.c2 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(245, 222, 179, 0.364);
    position: absolute;
    top: 310px;
    left: -40px;
    border: 4px solid #caf5f5d2;
}

.c3 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(245, 222, 179, 0.364);
    position: absolute;
    top: 650px;
    left: -40px;
    border: 4px solid #caf5f5d2;
}

.c4 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(245, 222, 179, 0.364);
    position: absolute;
    top: 980px;
    left: -40px;
    border: 4px solid #caf5f5d2;
}

.spark {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ad80ff8e;
    filter: blur(5px);
    position: absolute;
    top: -20px;
    right: -20px;
}

.skills {
    width: 100%;
    height: 110vh;
    background-color: #000000;
    position: absolute;
    top: 400vh;
}

.skills img {
    position: relative;
    margin-left: 37%;
    top: 20%;
}

.autorotate {
    animation-name: autorotate;
    animation-timeline: view();
}

@keyframes autorotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(270deg);
    }
}

.black {
    width: 500px;
    height: 620px;
    background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0), black, black);
    position: relative;
    margin-left: 35%;
    top: -40%;
}

.text6 {
    color: lightgray;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 100;
    font-size: 20px;
    position: relative;
    top: -60%;
    text-align: center;
    letter-spacing: 1px;
}

.text7 {
    color: rgb(255, 255, 255);
    font-family: fredoka;
    font-size: 50px;
    font-weight: 400;
    position: relative;
    top: -60%;
    text-align: center;
}

.skillbox {
    display: flex;
    justify-content: center;
    position: relative;
    top: -55%;
}

.sb {
    height: 120px;
    width: 120px;
    background-color: white;
    border-radius: 20px;
    margin: 10px;
}

.d1 {
    background-image: url("https://www.freeiconspng.com/uploads/html5-icon-6.png");
    background-size: cover;
    background-position: center;
}

.d2 {
    background-image: url("https://mgearon.com/wp-content/uploads/2014/08/CSS3-Logo.jpg");
    background-size: cover;
    background-position: center;
}

.d3 {
    background-image: url("https://web.rijoan.com/wp-content/uploads/2023/08/JavaScript-Symbol.png");
    background-size: cover;
    background-position: center;
}

.d4 {
    background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQlxRPgBQIuW9rI7T9Ot3g8qplh8C-6dPudSUyrtY-jrCqHNYLylrdbzsR10Z9SSyVKjic&usqp=CAU");
    background-size: cover;
    background-position: center;
}

.d5 {
    background-image: url("https://yt3.googleusercontent.com/PKRBxhCiGa8Y0vPmHa1E2cdjpLhUq2Pl-gESwP7kk2plGgxLdsbjyTd9VjcJwBMiY0HQ8bvx5Q=s900-c-k-c0x00ffffff-no-rj");
    background-size: cover;
    background-position: center;
}

.creativespace {
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(black, #004aad, #5de0e6);
    position: absolute;
    top: 500vh;
}

.e {
    top: 10%;
    font-size: 100px;
}

.creative {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 40px;
    margin: 100px;
    margin-top: 200px;
    gap: 20px;
    justify-content: center;
}

.cb {
    width: 300px;
    height: 350px;
    background-color: #caf5f57c;
    border-radius: 0 50px;
    position: relative;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.aaa:hover {
    transform: scale(1.15) rotate(-4deg);
}

.bbb:hover {
    transform: scale(1.15);
}

.ccc:hover {
    transform: scale(1.15) rotate(4deg);
}

.image {
    width: 300px;
    height: 350px;
    border-radius: 0 50px;
    position: absolute;
}

.aa {
    background-image: url("project.jpg");
    background-size: cover;
}

.ct {
    width: 300px;
    height: 90px;
    border-radius: 0 50px;
    background-image: linear-gradient(-45deg, #9258f7b4, #6197eeb4, #10d7e2b4);
    position: absolute;
    bottom: 0;
    right: 0;
}

.bb {
    background-image: url("https://www.tallengestore.com/cdn/shop/products/Modern_Life_-_Modern_Abstract_Painting_4b53b750-c475-4f27-adcf-d25ee17a4ed9.jpg?v=1570135308");
    background-size: cover;
}

.cc {
    background-image: url("click.webp");
    background-position: center;
}

h2 {
    font-family: fredoka;
    font-weight: 400;
    font-size: 40px;
    color: white;
    margin: 20px;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.contact_me {
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(#5de0e6, #004aad);
    position: absolute;
    top: 600vh;
    display: flex;
}

.contact {
    z-index: 100;
}

.footer {
    width: 100%;
    height: 50vh;
    background-color: #000000;
    position: absolute;
    top: 700vh;
    bottom: 0px;
}

.work {
    color: #004aad;
    font-family: fredoka;
    font-weight: 500;
    font-size: 70px;
    margin: 40px;
    position: absolute;
    top: 10%;
    text-align: right;
    right: 40px;
    text-shadow: 2px 2px 4px rgb(203, 203, 203);
}

.contact {
    color: #caf5f5;
    font-family: roboto;
    font-weight: 200;
    font-size: 30px;
    margin: 40px;
    position: absolute;
    width: 700px;
    top: 30%;
    right: 40px;
    letter-spacing: 1px;
    text-align: right;
}

.text8 {
    color: rgba(255, 255, 255, 0.808);
    font-family: fredoka;
    font-size: 50px;
    font-weight: 400;
    position: absolute;
    top: 55%;
    text-align: right;
    right: 60px;
    margin: 60px;
    z-index: 10;
    text-shadow: 2px 2px 4px rgb(0, 0, 0);
}

.images {
    display: flex;
    flex-direction: column;
}

.contactimages {
    width: 200px;
    height: 100px;
}

.contact_me img {
    position: relative;
}

.footer {
    display: grid;
    grid-template-columns: 3fr 1fr 1.8fr;
}

.f1 {
    display: flex;
    flex-direction: column;
    background-color: #000000;
}

.f2, .f3 {
    background-color: #000000;
}

.text9 {
    color: white;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 500;
    margin-top: 60px;
    margin-left: 60px;
    font-size: 50px;
    letter-spacing: 1px;
}

.text10 {
    color: #0061e0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 300;
    margin-left: 60px;
    margin-top: 20px;
    font-size: 30px;
    letter-spacing: 1px;
}

.text11 {
    color: white;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 250;
    margin-left: 60px;
    margin-top: 40px;
    font-size: 20px;
    letter-spacing: 1px;
    width: 70%;
    list-style-type: none;
}

.text12 {
    color: white;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 500;
    margin-top: 60px;
    margin-left: 60px;
    font-size: 30px;
    letter-spacing: 1px;
}

.z {
    line-height: 40px;
    font-size: 22px;
    color: white;
}

nav a:link,
.text11 a:link{
    color: #caf5f5;
}

nav a:visited,
.text11 a:link {
    color: white;
}

nav a:hover,
.text11 a:link {
    color: #004aad;
}

.icons {
    display: flex;
    justify-content: center;
}



.zz {
    height: 50px;
    width: 50px;
    border-radius: 10px;
    border: 1px solid gainsboro;
    margin: 10px;
    margin-top: 40px;
}

.zz i, .zzz i {
    color: white;
    font-size: 30px;
    margin: 10px;
}

.zzz {
    height: 50px;
    width: 50px;
    border-radius: 10px;
    border: 1px solid white;
    margin: 10px;
    margin-top: 20px;
}

nav {
    width: 90%;
    height: 60px;
    position: fixed;
    z-index: 100;
    top: 10px;
    left: 5%;
    border-radius: 50px;
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: end;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}


.nav-toggle {
    display: none;
}

.navbar-toggle {
    color: white;
    cursor: pointer;
    font-size: 1.7rem;
    position: absolute;
    right: 25px;
    top: 10px;
    background-color: transparent;
    border: 2px solid transparent;
    display: none;
}

nav ul {
    text-decoration: none;
    list-style: none;
    padding: 10px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 600;
    font-size: 20px;
}

a {
    text-decoration: none;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: absolute;
    left: 40px;
    z-index: 1000;
    font-family: Rouge Script;
    font-size: 50px;
    color: white;
}

.end {
    position: relative;
    bottom: 0;
    background-color: black;
    color: white;
    height: 50px;
    width: 100%;
    z-index: 20;
    grid-column: span 3;
    text-align: center;
}


.hamburger{
    display: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

#hamburger-toggle{
    display: none;
}

.nav-links li{
    margin-left: 20px;
}

.nav-links a{
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.nav-links a:hover{
    color: #004aad;
}






.dropdown-menu {
    position: absolute;
    right: 2rem;
    top: 60px;
    width: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 10px;
    overflow: hidden;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    /* display: none; */
}

.nav-toggle:checked ~ .dropdown-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.dropdown-menu ul {
    flex-direction: column;
    padding: 10px;
}

.dropdown-menu li {
    padding: 10px 0;
    text-align: center;
}



@media (max-width: 992px) {
    .hero img {
        display: none;
    }
    .hero {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 90%;
        height: 130%;
    }
    .hello {
        text-align: center;
        margin: 0;
        padding: 0;
        font-size: 50px;
        top: 20%;
        left: 50%;
    }
    .name {
        text-align: center;
        width: 100%;
        margin: 0;
        padding: 0;
        font-size: 75px;
        top: 27%;
    }
    .a {
        text-align: center;
        width: 100%;
        margin: 0;
        padding: 0;
        font-size: 15px;
        top: 40%;
    }
    .pic {
        width: 250px;
        height: 250px;
        border-radius: 50%;
        position: absolute;
        top: 10%;
        left: 15%;
        box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
        background-image: url("sp.jpeg");
        background-position: 0px -10px;
        background-size: cover;
    }
    .about_me {
        width: 100%;
        top: 60vh;
        z-index: 1;
    }
    .me {
        font-size: 20px;
    }
    .edu {
        width: 100%;
        top: 50vh;
    }
    .skills {
        width: 100%;
        top: 340vh;
        z-index: -1;
    }
    .creativespace {
        width: 100%;
        top: 450vh;
        z-index: -2;
    }
    .creative {
        gap: 15px;
    }
    .contact_me {
        width: 100%;
        top: 548vh;
    }
    .work, .contact, .text8 {
        z-index: 5;
    }
    .contact {
        background-color: #004bad97;
        padding: 15px;
        border-radius: 15px;
    }
    .footer {
        width: 100%;
        top: 640vh;
    }
    .heading {
        font-size: 60px;
        z-index: 10;
    }
    .b {
        font-size: 20px;
    }
    .e {
        font-size: 80px;
    }
    .work {
        font-size: 60px;
    }
    .text8 {
        font-size: 40px;
    }
    .contact {
        font-size: 25px;
    }

    .hero .button{
        top:-42%
    }
}

@media (max-width: 576px) {
    .hero {
        width: 120%;
    }
    .pic {
        width: 300px;
        height: 300px;
        border-radius: 10%;
        right: 30%;
        box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    }
    .hello {
        text-align: left;
        top: 500px;
        margin-left: 40px;
        left: 100px;
        
    }
    .name {
        text-align: left;
        top: 550px;
        margin-left: 40px;
    }
    .a {
        text-align: left;
        top: 640px;
        margin-left: 40px;
    }
    .about_me {
        top: 700px;
        width: 150%;
    }
    .intro img {
        display: none;
    }
    .me {
        width: 80%;
        margin: auto;
    }
    .edu {
        z-index: 10;
        width: 150%;
        top: 620px;
    }
    .line {
        display: none;
    }
    .box {
        width: 90%;
        height: 90%;
        margin: 20px;
    }
    .text1 {
        font-size: 30px;
    }
    .text2 {
        font-size: 18px;
    }
    .text3 {
        font-size: 20px;
    }
    .focus {
        display: none;
    }
    .container {
        padding: 20px;
    }
    .skills img, .black {
        display: none;
    }
    .skills {
        z-index: 10;
        height: 0;
    }
    .text6 {
        text-align: center;
        top: -150px;
        right: -30%;
    }
    .text7 {
        text-align: center;
        top: -150px;
        right: -30%;
    }
    .skillbox {
        top: -150px;
        right: -30%;
    }
    .creativespace {
        top: 2940px;
        width: 150%;
        height: 1200px;
    }
    .e {
        top: 20px;
        font-size: 60px;
        left: 0px;
    }
    .creative {
        grid-template-columns: 1fr;
        top: 30px;
        gap: 30px;
    }
    .cb {
        height: 250px;
        width: 100%;
        background-color: transparent;
    }
    .creative .image {
        height: 250px;
    }
    .contact_me {
        width: 150%;
        top: 4120px;
    }
    .contact_me img {
        display: none;
    }
    .footer {
        top: 4750px;
        width: 150%;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
    }
    .navbar-menu {
        display: none;
    }
    .logo {
        top: 0px;
    }
    .navbar-toggle {
        display: block;
    }

          .hamburger {
        display: block;
      }

      .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
      }

      #hamburger-toggle:checked ~ .nav-links {
        display: flex;
      }

      .nav-links li {
        margin: 10px 0;
        text-align: center;
      }
   


}

.typing-animation{
    display: inline-block;
}
 
/* animations */
.hello {
    padding-bottom: 25px;
    border-right: 4px solid #caf5f5;
    width: 7ch;
    white-space: nowrap;
    overflow: hidden;
    animation:
        typing 6s steps(7, end) infinite,
        cursor 6s linear infinite;
}

@keyframes typing {
    0%   { width: 0; }
    33%  { width: 7ch; }
    66%  { width: 7ch; }
    100% { width: 0; }
}
@keyframes cursor {
    0%, 32%   { border-color: #caf5f5; }
    33%, 66%  { border-color: transparent; }
    67%, 100% { border-color: #caf5f5; }
}

.hero .button{
    background-color: #975bff;
    padding: 10px;
    font-size: 20px;
    color: white;
    position: fixed;
    top: 70%;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border: 0px;
    pointer-events: auto;
    font-family: roboto;
    z-index: 1000;
}

section,
.about_me
.edu,
.skills,
.creativespace,
.contact_me,
.footer{
    z-index: 10000000;
}

.box:hover,
.sb:hover{
    transform: scale(1.1);
}

header,
.navbar,
.nav_container{
    z-index: 99999999999999999999999999;
}


.hero a:hover{
    transform: scale(1.2);
}


.footer a:link,
.footer a:visited {
    color: white !important;
}

.footer a:hover {
    color: #004aad; 
}
