body {
    margin: 0px;
    width: 100%;
    height: 100%;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    display: block;
    width: 0;
    color: #000;
    height: 2px;
    position: absolute;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-brand {
    font-size: 25px;
}

.btn {
    padding: 10px;
    margin-left: 10px;
    width: 150px;
    background-color: rgb(51, 228, 213);
    border-radius: 10px;
}

.home-details {
    display: flex;
    flex-direction: column;
    margin-top: 180px;
}

@media (max-width: 768px) {
    .home-details {
        margin-top: 100px;
    }
}


#dynamic-text {
    color: #666666;
    font-family: 'Times New Roman', Times, serif;
}
.hello-msg {
    margin-bottom: 0px;
    font-size: 25px;
    color: #666666;
    margin-left: 70px;
    font-family: 'Times New Roman', Times, serif;
}

.name {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 0px;
    font-family: 'Times New Roman', Times, serif;
    margin-left: 30px;
}

.talent {
    font-weight: 300;
    font-size: 30px;
    font-family: 'Times New Roman', Times, serif;
}


.my-image {
    height: 300px;
    width: 300px;
    margin-left: 20px;
    margin-top: 100px;
    margin-right: 140px;
    cursor: pointer;
    border-radius: 50%;
    box-sizing: border-box;
    box-shadow: 3px 3px 3px 3px greenyellow;
}

.about-container {
    margin-left: 120px;
    margin-top: 100px;
}

.button1 {
    margin-left: 25px;
}

#navItem1 {
    font-family: "Roboto";
}

#navItem2 {
    font-family: "Roboto";
}

#navItem3 {
    font-family: "Roboto";
}

#navItem4 {
    font-family: "Roboto";
}

#navItem5 {
    font-family: "Roboto";
}

.icon-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e0f7ff;
    border: 2px solid #74C0FC;
}

.icon-circle i {
    font-size: 20px;

}

.icons-container {
    padding-left: 20px;
    padding-right: 20px;
}

.icons {
    margin: 5px;
}

.about-heading {
    color: #666666;
    text-align: center;
}

.about-me {
    text-align: center;
    margin-top: 15px;

}

.skills-section {
    display: grid;
    gap: 20px;
    padding: 20px;
    grid-template-columns: 1fr;
    padding-top: 180px;
    margin-top: -180px;
}

.skill-container {
    margin: 20px;
    padding: 10px;
    background-color: #74C0FC;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(52, 145, 231, 0.1);
    scroll-behavior: smooth;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.skill-container:hover {
    animation: fadeInOut 0.5s forwards;
}
.icon-img{
    height: 35px;
    width: 35px;
}

.animate-icon {
    transition: transform 0.3s ease;
  }
  
  .animate-icon:hover {
    transform: scale(1.1); /* Zoom effect */
  }
 
  .animate-icon:hover {
    animation: fadeInOut 0.6s;
  }
  
@keyframes fadeInOut {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

.skill-heading {
    font-size: 25px;
    color: #333;
}

.skill-list {
    gap: 20px;
    justify-content: center;
}

.skill-item {
    align-items: center;
    width: 120px;
    text-align: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    flex-wrap: wrap;
}

.skill-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.skill-name {
    margin-top: 10px;
    font-size: 15px;
    color: #555;
}

.skill-cont-name {
    font-size: 25px;
    color: #0c0c0c;
}

.card-container {
    background-color: #24c6ee;
    width: 450px;
    margin-left: 50px;
    display: flex;
    margin-bottom: 10px;
    margin-top: 15px;
    flex-direction: column;
    justify-content: center;
    font-family: 'Times New Roman', Times, serif;
    font-size: 25px;
    border-radius: 15px;
    border: 3px solid #666666;
}


.study {
    color: whitesmoke;
    font-size: 25px;
    margin-left: 10px;
    margin-top: 5px;
}

.course {
    color: whitesmoke;
    font-size: 25px;
    margin-left: 10px;
    margin-top: 5px;
}

.place {
    color: whitesmoke;
    font-size: 25px;
    margin-left: 10px;
    margin-top: 5px;
}

.yearOfPass {
    color: #666666;
    align-self: flex-end;
    font-size: 25px;
    margin-left: 10px;
    margin-top: 5px;
    margin-right: 10px;
}

.project-card-container {
    border-radius: 15px;
    border-color: #000;
    border-width: 3px;
    margin-left: 10px;
    width: 300px;
    height: 450px;
}

.project-title {
    margin-top: 5px;
    font-size: 15px;
    color: #555;
}

.project-skills {
    margin-left: 50px;
    font-size: 20px;
    font-family: 'Courier New', Courier, monospace;
}

.project-cards {
    border: 2px solid;
    border-radius: 20px;
    border-color: #000;
    height: 400px;
    width: 300px;
    margin: 10px;
}

.project-cards:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.profile-image {
    height: 250px;
    width: 250px;
    margin: 10px;
}

.profile-image:hover {
    height: 300px;
    width: 300px;
    margin: 10px;
}

.project-heading {
    text-align: center;
    font-size: 20px;
    font-family: 'Courier New', Courier, monospace;
}

.project-buttons {
    margin: 15px;
}

.project-image {
    margin: 10px;
    border-radius: 15px;
    height: 200px;
    width: 280px;
}

.certificate-title {
    font-size: 20px;
    font-family: 'Courier New', Courier, monospace;
    color: #000;
}

.certiificate-heading {
    font-size: 30px;
    text-align: center;

}

.certificate-card {
    border: 2px solid #000;
    border-radius: 10px;
    width: 300px;
    margin: 10px;
}

.certificate-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.certificate-card-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}



.certificate-image {
    width: 250px;
}

.certificate-button {
    width: 90px;
    height: 40px;
    text-align: center;
    margin-top: 12px;
    margin-right: 10px;
}

.certificate-name {
    font-size: 18px;
}

.contact-title {
    font-size: 20px;
    font-family: 'Courier New', Courier, monospace;
    color: #000;
}

.contact-container {
    background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSwfYmEYs3oA-9bScfSdIlD9xLI5L7xpJrjEg&s");
    height: 100vh;
    width: auto;
    background-repeat: no-repeat;
    background-size: cover;
}

.contact-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-connect {
    color: #000;
    font-size: 20px;
    margin-left: 250px;
}

.contact-about-me {
    font-size: 15px;
    margin-left: 250px;
}

.contact-item-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    margin-left: 50px;
    width: 400px;
    animation: borderColorChange 2s infinite;
    border: 2px solid #000;
    border-radius: 10px;
}

.contact-form-element {
    border-radius: 10px;
    height: 40px;
    width: 250px;
}

.contact-form-element-message {
    border-radius: 10px;
    height: 140px;
    width: 250px;
}

.footer-container {
    background-color: gray;
    opacity: 0.9;
}

.footer-elements {
    color: whitesmoke;
    text-align: center;
}

@keyframes borderColorChange {
    0% {
        border-color: #ffa500;
    }

    33% {
        border-color: #808080;
    }

    60% {
        border-color: #008080;
    }

    100% {
        border-color: #ff69b4;
    }
}

@media (min-width: 600px) {
    .skills-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .skills-section {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 576px) {
    #skills-section-tag {
        margin-top: -120vh;
    }

    #projects-section-tag {
        margin-top: 390px;
    }

    #certificates-section-tag {
        margin-top: 250px;
    }

    #contact-section-tag {
        margin-top: 1350px;
        margin-left: 10%;
    }
    #footer-section-tag{
        margin-top: 100px;
    }
    
}

@media (max-width: 576px) {
    #projects-section-tag {
        margin-top: 1190px;
    }

    #certificates-section-tag {
        margin-top: 450px;
    }

    #contact-section-tag {
        margin-top: 1950px;
        margin-left: 10%;
    }
    .footer-container{
        margin-left: 0px;
        margin-right: -120px;
        width: 450px;
        font-size: 12px;
    }
    .my-image {
        display: none;
    }

    .home-details {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-left: 50%; 
    }
    
    .contact-img{
        display: none;
    }
    .contact-item-container{
        margin-left: 1px;
    }
    .certificate-card-container{
        display: grid;
        grid-template-columns: 1fr;  
    }
    .hello-msg{
        margin-left: 0px;
        text-align: left;
    }
    .button1{
        margin-left: -50px;
        text-align: left; 
    }
    .icons-circle{
        justify-content: flex-start;
        align-items: flex-start;
    }
    .about-container {
        margin-left: -130px;         
        margin-right: 0px;                  
    }
    .hello-msg{
        margin-left: -40px;
    }
    .talent{
        margin-left: -780px;
    }
    .name{
        margin-left: -50px;
    }
}

@media(min-width:768px) {
    .my-image {
        margin-right: 0px;
    }

}

#home-section-tag {
    height: 200vh;
}

#skills-section-tag {
    height: 140vh;
}

#contact-section-tag {
    height: 120vh;
}

#certificates-section-tag {
    height: 10vh;
}

#projects-section-tag {
    height: 100vh;

}
