html,
body {
    overflow-x: hidden;
    font-family: 'Roboto', sans-serif;
}


#scroll-progress {
    position: fixed;
    top: 0;
    width: 0%;
    height: 4px;
    background: gold;
    z-index: 1;
    animation: scroll-progress linear;
    animation-timeline: scroll();
}

@keyframes scroll-progress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.containers {
    color: white;
    font-family: 'Roboto', sans-serif;
}

.navbar-collapse1 a {
    font-size: 0.5rem;
    color: white;
    text-decoration: none;
}

.animate {
    opacity: 0;
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.slide-up {
    transform: translateY(20px);
}

.slide-up.show {
    opacity: 1;
    transform: translateY(0);
}

.slide-down {
    transform: translateY(-20px);
}

.slide-down.show {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    transform: translateX(30px);
}

.slide-left.show {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    transform: translateX(-30px);
}

.slide-right.show {
    opacity: 1;
    transform: translateX(0);
}

.zoom-in {
    transform: scale(0.8);
}

.zoom-in.show {
    opacity: 1;
    transform: scale(1);
}
.mern {
    text-align: center;
    overflow: hidden;
    font-weight: 700;
    white-space: nowrap;
    border-right: 2px solid;
    box-sizing: border-box;
    font-family: Georgia, serif;
    font-size: 24px;
}

.typing-text {
    display: inline-block;
    animation: typing 4s steps(25, end), blink 0.7s step-end infinite alternate;
    white-space: nowrap;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 18ch;
    }
}

@keyframes blink {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: black;
    }
}


/* .introDiv css starts here */

.introDiv {

    background: url("./images/pondi_sea1.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    padding: 0.5rem;
    padding-bottom: 0 !important;
    height: 100vh;
    margin-bottom: 5rem;
}

.introDiv #div2 {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: end;

    border-bottom: 2px solid white;
    height: 85%;
}

.introDiv2 {
    width: 100%;
}

.introDiv .introDiv2 button {

    border: 1.5px solid white;
    border-radius: 10px;

}


/* education div starts here */
.EducationDiv {

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    color: white;

    height: 220px;
    width: 100%;
    border-radius: 13px;
    border: 1px solid black;

    background-image: url("images/bg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

}

.EducationDiv h6,
p {
    text-align: center;
}

.EducationDiv h5 {
    font-weight: bold;
    color: gold;
}

.EducationDiv2 {
    border: 1px solid black;
    padding: 3%;
    /* margin-top: 2%; */
    border-radius: 13px;
    color: white;

    background-image: url("images/bg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    /* background-color: white;
    color: rgb(66, 108, 66); */

}

.EducationDiv2 h5 {
    color: gold;
}

.EducationDiv2 p {
    text-align: left;
}

.EducationDiv2 h6 {
    margin-bottom: 15px;
}

.EducationDiv::-webkit-scrollbar {
    display: none;
}

p small {
    color: gold;
}

@media only screen and (max-width: 576px) {
    .introDiv2 {
        width: 95%;
    }
}

#profile_pic {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    width: 190px;
    height: 230px;
    margin: auto;
    background-color: #3d5875;
    background-image: linear-gradient(19deg, #3d5875 0%, #38587a 100%);
    border: 3px solid #3d5875;
    border-radius: 30% 30% 30% 30% / 70% 70% 30% 30%;
    box-shadow: 15px 15px 50px rgba(0, 0, 0, 0.2);
    animation: morphing 5s infinite ease-in-out;
    overflow: hidden;
}

#profile_pic:hover {
    animation-play-state: paused;
}

@keyframes morphing {
    0% {
        border-radius: 30% 30% 30% 30% / 70% 70% 30% 30%;
        box-shadow: 15px 15px 50px rgba(0, 0, 0, 0.2);
    }

    25% {
        border-radius: 38% 27% 45% 35% / 56% 46% 34% 24%;
    }

    50% {
        border-radius: 30% 30% 33% 37% / 45% 27% 43% 45%;
        box-shadow: -10px -5px 50px rgba(0, 0, 0, 0.2);
    }

    /* 75% {
        border-radius: 35% 25% 38% 42% / 63% 68% 32% 37%;
    } */
}

.timeline {
    margin: auto;
    max-width: 800px;

    /* display: flex; */
    display: grid;
    /* flex-direction: column; */
    gap: 3;
    justify-content: space-around;
    /* height: 85%; */
}

.event::after {
    content: '';
    position: absolute;
    left: -6px;
    top: 15px;
    width: 10px;
    height: 10px;
    background-color: gold;
    border-radius: 50%;
    border: 2px solid #3d5875;
}

.event,
.event1 {
    border-left: 2px solid white;
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
    text-align: left;
}

.event1::after {
    content: '';
    position: absolute;
    left: -6px;
    top: 5px;
    width: 10px;
    height: 10px;
    background-color: gold;
    border-radius: 50%;
    border: 2px solid #3d5875;

}

.event:last-child {
    margin-bottom: 0;
}

.date {
    font-weight: bold;
    margin-bottom: 5px;
}

.timeline p {
    margin-bottom: 15%;
}
.timeline img{
    width: 45px; 
    height: 45px;
    margin-right: 10px;
}
.timeline .school{
    font-weight: bolder;
    font-size: large;
}

.timeline .schoolYears{
    font-size: small;
    /* color: black; */
    opacity: 0.7;
}
.timeline .branch{
    opacity: 0.7;
    /* color: gray; */
}
/* github div starts here */

.githubContributionScroll-wrapper {
    overflow-x: auto;
}

#githubContributions {
    max-width: 100%;
    min-width: 575px;
    /* min-height: 200px; */
    max-height: 180px;
}


.contributionBox {
    height: 15px;
    width: 15px;
    margin-right: 5px;
    border-radius: 1px;
    /* background-color: green; */
}

.contributionBox:nth-child(2) {
    background-color: #161B22
}

.contributionBox:nth-child(3) {
    background-color: #0E4429
}

.contributionBox:nth-child(4) {
    background-color: #006D32
}

.contributionBox:nth-child(5) {
    background-color: #26A641
}

.contributionBox:nth-child(6) {
    background-color: #39D353
}

#logo {
    height: 40px;
    width: 40px;
    padding: 0%;
}

#logoDiv {
    background-color: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    padding-top: 5px;
    margin-bottom: 5px;
    padding-left: 2px;
    padding-right: 2px;
    /* padding: 2px; */
    border-radius: 5px;
    height: 50px;
    color: black;
    opacity: 1;

}


/* certifications div starts here */
.crtificatesContainer {
    /* background-image: url("images/bg.jpg"); */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    padding: 4%;
    text-align: center;
}

.crtificatesContainer img {
    height: 30%;
    width: 85%;
    padding: 1%;
}

.certificatesDiv strong {
    font-weight: 900;
    color: gold;

}

.certificatesDiv {
    width: 100%;
    height: 200px;
    overflow: hidden;
    font-weight: 500;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 3%;
    padding: 1%;
    position: relative;
}

.content {
    height: 140px;
    width: 250px;
    min-width: 250px;
    border-radius: 10%;
    padding: 1%;
    box-shadow: 1px 1px 10px black;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: scroll 15s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-400%);
    }
}

.certificatesDiv:hover .content {
    animation-play-state: paused;
}

.Skills p:hover,
.contact li:hover,
.navbar li:hover {
    transform: scale(1.1);
}

.carousel img {
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.Skills p,
.crtificatesContainer p,
.contact li {
    transition: transform 0.1s ease-in-out;
}

@media only screen and (max-width: 430px) {
    .EducationDiv {
        height: 100%;
    }
}


.footer_menu ul li {
    display: inline-flex;
}

.footer_menu ul li a {
    color: black;
    padding: 0 10px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.footer_menu ul li a:hover {
    color: #554c86;
}

.footer_profile ul li {
    display: inline-block;
}

.footer_profile ul li a img {
    width: 60px;
}

@media only screen and (max-width:480px) {
    .footer_profile ul li {
        margin: 2px;
    }
}

.footer_profile ul li a {
    background: #3d5875;
    width: 40px;
    height: 40px;
    display: block;
    text-align: center;
    margin-right: 5px;
    border-radius: 50%;
    line-height: 40px;
    box-sizing: border-box;
    text-decoration: none;
    -webkit-transition: .3s;
    transition: .3s;
    color: #fff;
}