/* General Styles */
html {
    background-image: linear-gradient(90deg, rgb(21, 21, 21) 0%, rgb(30, 30, 31) 35%, rgb(21, 21, 21) 100%);
}

body {
    margin: 0;
    font-family: "Lato", sans-serif;
}

.arrow{
    width: 10px;
    height: 40px;
    border-radius: 5px;
    color: white;
    animation: move 1.1s infinite ease-in-out;
    margin: auto;
    position: relative;
    top: -15px;
}

@keyframes move{
    0%{margin-top:0px;}
    50%{margin-top:100px;}
    100%{margin-top:0px;}
}
/* Navbar */
.nav-bar-div {
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    width: 100vw;
    height: 10vh;
    background-image: linear-gradient(90deg, rgb(21, 21, 21) 0%, rgb(30, 30, 31) 35%, rgb(21, 21, 21) 100%);
}

.nav-bar {
    font-size: 20px;
    font-weight: bold;
    color: white;
    margin: 20px;
    margin-top: 4vh;
    font-family: "Lato", sans-serif;
    text-decoration: none;
}

.nav-bar:hover {
    opacity: 0.8;
    cursor: pointer;
}

nav a {
    text-decoration: none;
    color: inherit;
}

/* Intro Section */
.passion {
    color: wheat;
    text-align: center;
    padding: 1.5vw;
    font-family: "Fira Code", monospace;
    font-weight: 400;
    font-style: normal;
}

.name {
    margin: 9.028vw;
    margin-bottom: 3.472vw;
    padding-top: 4.861vw;
    letter-spacing: 1.389vw;
    color: wheat;
    text-align: center;
    font-family: "Fira Code", monospace;
    font-weight: 400;
    font-style: normal;
}

.passion {
    letter-spacing: 0.694vw;
    align-items: center;
}
/* About Section */
.about {
    margin-top: 40px;
}

.aboutParas {
    text-align: center;
}

.head {
    color: rgb(246, 92, 92);
    font-family: "Fira Code", monospace;
    font-weight: 400;
}

.para {
    display: inline-block;
    flex-wrap: wrap;
    text-align: center;
    padding: 20px;
    margin: 20px;
    width: 261px;
    height: 245px;
    color: white;
    word-wrap: break-word;
    font-family: "Lato", sans-serif;
    text-decoration: none;
    font-size: 20px;
    border-radius: 20px;
    transition: 0.15s;
}

.para:hover {
    background-color: rgb(53, 53, 53);
}

.graph_btn {
    margin: 10px;
    padding: 15px;
    width: 120px;
    font-weight: bold;
    background-color: rgb(27, 162, 252);
    border-radius: 20px;
    border: 2px solid rgb(27, 162, 252);
}

/* Publications section */
.pub {
    margin-top: 70px;
    margin-bottom: 80px;
    text-align: center;
    font-family: "Fira Code", monospace;
    font-weight: 400;
    color: wheat;
    letter-spacing: 20px;
}

.pub_body {
    width: 80vw;
    margin: auto;
    padding: 25px;
    border-radius: 20px;
    word-wrap: break-word;
    background-color: rgb(53, 53, 53);
}
.pubHead{
    color: rgb(246, 92, 92);
    font-size: 20px;
}
.pubPara{
    color: wheat;
}
.pubText {
    color: white;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 17px;
}
.link{
    color: wheat;

}
/* Projects Section */
.proj_head {
    margin-top: 50px;
    margin-bottom: 60px;
    text-align: center;
    font-family: "Fira Code", monospace;
    font-weight: 400;
    color: wheat;
    letter-spacing: 20px;
}

/* Current Work section */
.current_work {
    margin-top: 70px;
    margin-bottom: 80px;
    text-align: center;
    font-family: "Fira Code", monospace;
    font-weight: 400;
    color: wheat;
    letter-spacing: 20px;
}

.workbody{
    width: 80vw;
    margin: auto;
    padding: 25px;
    border-radius: 20px;
    word-wrap: break-word;
    background-color: rgb(53, 53, 53);
}
.workHead{
    color: rgb(246, 92, 92);
}
.workPara{
    color: wheat;
}
.workText {
    color: white;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 19px;
}
.link{
    color: wheat;

}
/* Projects Section */
.proj_head {
    margin-top: 70px;
    margin-bottom: 80px;
    text-align: center;
    font-family: "Fira Code", monospace;
    font-weight: 400;
    color: wheat;
    letter-spacing: 20px;
}

.ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    color: rgb(246, 92, 92);
    font-size: 18px;
    list-style: none;
}

.li {
    text-align: center;
    flex-wrap: wrap;
    text-align: center;
    padding: 20px;
    width: 261px;
    height: 190px;
    word-wrap: break-word;
    text-decoration: none;
    font-size: 20px;
    border-radius: 20px;
}

.li:hover {
    background-color: rgb(53, 53, 53);
}

.liHead {
    color: rgb(246, 92, 92);
    font-family: "Fira Code", monospace;
    font-weight: 400;
    font-size: 20px;
}

.liTxt {
    width: 200px;
    color: white;
    margin: 30px;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 18.5px;
}

/* Internship Section */

.title {
    margin-top: 90px;
    margin-bottom: 80px;
    text-align: center;
    font-family: "Fira Code", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    color: wheat;
    letter-spacing: 20px;
}

.internship-wrap {
  position: relative;
  max-width: 80vw;
  margin: 0 auto;
  padding: 0 64px; /* space for side buttons */
}

.intern-card { /* container that will hold your existing .internbody block */
  border-radius: 20px;
  background: rgb(53, 53, 53);
  color: white;
  padding: 25px;
  min-height: 260px; /* keeps height stable */
}

/* side nav buttons */
.intern-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 28px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s, transform .15s, opacity .15s;
}
.intern-nav:hover { background: rgba(255,255,255,.16); }
.intern-nav:active { transform: translateY(-50%) scale(.96); }
.intern-prev { left: 12px; }
.intern-next { right: 12px; }

/* keep your existing typography */
.internHead { color: rgb(246, 92, 92); margin: 0 0 6px; }
.internPara { color: wheat; margin: 0 0 14px; }
.internTxt  { color: white; font-family: "Lato", sans-serif; font-weight: 400; font-size: 19px; line-height: 1.6; }

/* Responsive tweaks */
@media (max-width: 640px) {
  .internship-wrap { padding: 0 48px; }
  .intern-nav { width: 40px; height: 40px; font-size: 24px; }
}
@media (max-width: 480px) {
  .internship-wrap { padding: 0 18px 56px; }
  .intern-nav { top: auto; bottom: -18px; transform: none; }
  .intern-prev { left: 18px; }
  .intern-next { right: 18px; }
}

/* Certificates Section */
.certificates {
    display: flex;
    flex-direction: column;
}

.certHead {
    margin-top: 90px;
    margin-bottom: 80px;
    text-align: center;
    font-family: "Fira Code", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    color: wheat;
    letter-spacing: 20px;
}

.certs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 2vw;
    justify-items: center;
}

.cert_head {
    color: white;
    font-family: "Fira Code", monospace;
    font-weight: 400;
}

.certi {
    margin: 1vh;
}


.cert_btn {
    position: relative;
    left: 2vw;
    margin: 10px;
    padding: 15px;
    width: 120px;
    font-weight: bold;
    background-color: rgb(27, 162, 252);
    border-radius: 20px;
    border: 2px solid rgb(27, 162, 252);
}

.cert_btn:hover {
    opacity: 0.8;
}

/* Resume Section */
.resHead {
    margin-top: 60px;
    margin-bottom: 80px;
    text-align: center;
    font-family: "Fira Code", monospace;
    font-weight: 400;
    color: wheat;
    letter-spacing: 20px;
}

.resume_txt {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    color: white;
    margin-top: -2vh;
    font-size: 18px;
}

/* Contact Section */
.cont_head {
    font-family: "Fira Code", monospace;
    font-weight: 400;
    color: wheat;
    letter-spacing: 20px;
    margin-left: 1vw;
}

.contact_bar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    margin-bottom: 10vh;
}

.mailImg,
.linkdinImg,
.twitterImg {
    filter: invert(1);
}

.mailImg {
    height: 4.5vh;
    margin-left: 15vw;
}

.linkdinImg,
.twitterImg {
    height: 5vh;
    margin-left: 5vw;
}

/* Animations */

@keyframes move {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate {
    animation: move 2s ease-in-out forwards;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-bar {
        margin: 10px;
        margin-top: 2vh;
    }

    .name,
    .passion {
        font-size: 18px;
        padding-top: 60px;
    }

    .about,
    .learning,
    .resume_txt {
        padding: 0 10px;
    }

    .aboutMe,
    .liTxt {
        width: 100%;
    }

    .ul {
        flex-direction: column;
        align-items: center;
    }

    .certs {
        grid-template-columns: 1fr;
    }

    .mailImg,
    .linkdinImg,
    .twitterImg {
        height: 4vh;
        margin-left: 10vw;
    }
}
