section{
    padding: 80px 1em 80px 1em;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;

}

/* home section */
.home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15%;
}
.hello-there, .i-am {
    font-size: 4rem;
    color: rgb(72, 72, 72);
}

.my-name {
    color: black;
}

.jobs{
    font-size: 1.8rem;
}

.left-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.left-col h3{
    font-size: 2rem;
    
}


.occupation-title{
    color: rgb(0, 84, 219);
    font-size: 2rem;
}

.left-col .talk{
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 1rem;
    text-decoration: none;
    color: white;
    width: 130px;
    height: 40px;
    background-color: rgb(255, 98, 0);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 0 1rem gray;
    transition: transform 0.3s ease;  
    font-weight: bold;
    
}

.talk {
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: center; /* center vertically */
    height: 100%; /* set height to fill parent container */
}

.left-col .talk:hover{
    transform: scale(1.1);
    
}

.social-media a{
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background: transparent;
    border: .2rem solid rgb(255, 98, 0);
    border-radius: 50%;
    font-size: 1.7rem;
    color: black;
    margin: 0.3em;
    transition: .5s ease;
    transition: transform 0.3s ease; 
    background: rgb(236, 206, 150);   

}

.social-media a:hover{
    
    color: var(--second-bg-color);
    box-shadow: 0 0 1rem gray;
    transform: scale(1.2);
}

.right-col{
    display: flex;
    align-items: center;
    justify-content: center;
}

.my-picture {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    box-shadow: 0 0 0.3rem gray;
    transition: box-shadow 0.5s ease;
}

/* Define the wiggle animation */
@keyframes wiggle {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(4deg); }
    50% { transform: rotate(-4deg); }
    75% { transform: rotate(2deg); }
    100% { transform: rotate(0deg); }
  }
  
  /* Apply the wiggle animation to the image when hovered */
  .my-picture:hover {
    animation: wiggle 0.5s ease-in-out;
    box-shadow: 0 0 1rem gray;
}
/*End of home section*/

/*About me*/

.about-me-logo {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5em;
    margin-bottom: 50px;
}

.about-left-col, .about-right-col {
    width: 50%;
}

.about-left-col {
    display: flex;
    justify-content: center;
}

.about-photo {
    width: 250px;
    border-radius: 5%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4); /* add a subtle box shadow */
}

.my-description {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 1rem;
    text-align: justify;
}


.my-gmail {
    color: rgb(120, 120, 255);
}

.download-cv-container {
    margin-top: 60px;
}

.download-cv-container a {
    text-decoration: none;
    background-color: rgb(4, 179, 4);
    padding: 10px 40px 10px 40px;
    border-radius: 20px;
    color: white;
}

/* End of About-me*/

/*Skills */

.skills-section {
    background-color: rgb(229, 229, 229);
}

.skills-grid {
    padding: 2em;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    column-gap: 16px;
    row-gap: 40px;
}

.skill-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(222, 222, 222);
    padding: 0.5em;
    border-radius: 5%;
    width: 8rem;
    height: 8rem;
    transition: box-shadow 0.5s ease;
    transition: scale 0.5s ease;
}

.skill-box:hover {
    box-shadow: 0 0 1rem gray;
    scale: 1.01;
}


.locked-skill-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(139, 139, 139);
    padding: 0.5em;
    border-radius: 5%;
    width: 8rem;
    height: 8rem;
}



.skill-icon {
    font-size: 5rem;
    line-height: 10px;
    color: rgb(59, 59, 59);
}

.wordpress-icon {
    font-size: 5rem;
    line-height: 10px;
    color: rgb(0, 87, 180);
}

.html-icon {
    font-size: 5rem;
    line-height: 10px;
    color: rgb(180, 6, 0);
}

.css-icon {
    font-size: 5rem;
    line-height: 10px;
    color: rgb(0, 153, 180);
}

.js-icon {
    font-size: 5rem;
    line-height: 10px;
    color: rgb(176, 170, 68);
}

.tailwind-icon {
    font-size: 5rem;
    line-height: 10px;
    color: rgb(0, 153, 180);
}

.cpp-icon {
    font-size: 5rem;
    line-height: 10px;
    color: rgb(0, 48, 221);
}
/* End of Skill section */


/* Project Section */


.projects-grid {
    padding: 2em;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 16px;
    row-gap: 16px;
}

.project-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(220, 220, 220);
    transition: box-shadow 0.5s ease;
    transition: scale 0.5s ease;
    width: 350px;
    height: 215px;
}

.project-box:hover {
    box-shadow: 0 0 1rem gray;
    scale: 1.01;
}

.project-image {
    width: 350px;
    height: 175px;
}

.project-button{
    margin: 0;
    padding: 0;
    border: none;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    background: transparent;
    text-decoration: none;
    color: inherit;
  }
  
  .project-title {
    text-decoration: none;
    color: black;
  }

.project-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 40px;
    margin-bottom: 8px;
}



.view-more-projects {
    text-decoration: none;
    font-size: 1rem;
    color: white;
    background-color: rgb(255, 98, 0);
    padding: 0.5em;
    width: 120px;
    height: 40px;
    text-align: center;
    font-weight: bold;
    border-radius: 20px;
    transition: box-shadow 0.5s ease;
    transition: transform 0.3s ease;  
}

.view-more-projects:hover {
    box-shadow: 0 0 1rem gray;
    transform: scale(1.08);
}

/*contact*/
.contact-section {
    background-color: rgb(229, 236, 251);
    
}

.contact-container {
    margin-top: 20px;
    display: flex;
    padding: 2em;
    background-color: #f7f7f7;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* add a subtle box shadow */
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    gap: 5%;


}

.contact-left-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.please-fill {
    text-align: center;
    color: rgb(98, 98, 98);

}

.contact-image {
    width: 200px;
}

.contact-right-col {
    width: 100%;
}

form label {
    display: block;
    margin-bottom: 5px;
  }
  
  form input,
  form textarea {
    display: block;
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* include padding and border within total width */
    margin-bottom: 10px;
    font-size: 1rem;
  }
  
  form button {
    background-color: rgb(4, 179, 4);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
  }
  
  form button:hover {
    background-color: rgb(73, 177, 73);
  }

  /*Footer*/

.footer {
    background: rgb(0, 1, 43);
    height: 250px;
}

.footer-content {
    display: flex;
    justify-content: center;

}

.footer-my-name, .footer-my-contact-info {
    font-weight: bold;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.greetings {
    width: 500px;
    margin-bottom: 20px;
    color: white;
}

.col-1 {
    padding: 2em;
    border-bottom: 0.1rem solid #fff3;
    background: rgb(0, 1, 43);
}

.col-2 {
    padding: 2em;
    border-bottom: 0.1rem solid #fff3;
    background: rgb(0, 1, 43);
}

.footer-my-number,
.footer-my-email,
.footer-my-location {
    color: orange;
}

.footer-credentials {
    color: white;
}

.bottom {
    background: rgb(0, 1, 43);
    height: 50px;
    
    display: flex;
    align-items: center;    
    justify-content: center;
}

.bottom-footer {
    color: white;
    text-align: center;
}

.heart {
    color: red;
}

.bottom-name {
    color: orange;
}

@keyframes beat {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.2);
    }
    100% {
      transform: scale(1);
    }
  }
  
  .heart {
    animation-name: beat;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
  }

  @media (min-width: 768px) and (max-width:1060px) {
    .skills-grid {
        padding: 2em;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        column-gap: 16px;
        row-gap: 40px;
    }
}

  
@media (min-width: 320px) and (max-width:768px) {
    .about-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .section-title {
        margin-bottom: 20px;
    }

    .about-left-col, .about-right-col {
        width: 80%;
    }

    .about-photo {
        width: 200px;
        border-radius: 5%;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4); /* add a subtle box shadow */
        margin-bottom: 20px;
    }

    .skills-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        column-gap: 8px;
        row-gap: 8px;
 
    }

}

@media (min-width: 700px) and (max-width:1052px) {
    .projects-grid {
        padding: 2em;
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 16px;
        row-gap: 16px;
    }
}

@media (max-width: 699px) {
    .projects-grid {
        padding: 2em;
        display: grid;
        grid-template-columns: 1fr;
        column-gap: 16px;
        row-gap: 16px;
    }
}

@media (max-width: 870px) {
    .contact-container {
        margin-top: 50px;
        display: flex;
        flex-direction: column;
        padding: 2em;
        background-color: #f7f7f7;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* add a subtle box shadow */
        border-radius: 1%;
    }

    .contact-left-col {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-bottom: 40px;
    }
}

@media (min-width: 700px) and (max-width: 900px) {
    .greetings {
        width: 300px;
        margin-bottom: 20px;
        color: white;
    }
    
}

@media (max-width: 699px) {
    .greetings {
        width: 300px;
        margin-bottom: 20px;
        color: white;
    }

    .footer-content {
        flex-direction: column;
    
    }

    .col-1 {
        padding: 2em;
        border-bottom: none;
        background: rgb(0, 1, 43);
    }
}


@media (max-width: 376px) {
    .hello-there, .i-am {
        font-size: 2.5rem;
        color: rgb(72, 72, 72);
    }

    .my-picture {
        width: 250px;
        height: 250px;
        border-radius: 50%;
        transition: box-shadow 0.5s ease;
    }

    .my-address, .my-email {
        font-size: 0.9rem;

    }

    .skills-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 16px;
        row-gap: 16px;
 
    }
}  

@media (min-width: 863px) {
    form input {
        width: 100%;
    }
}

@media (max-width: 1150px) {
    .home {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3%;
    }

    .hello-there, .i-am {
        font-size: 3rem;
        color: rgb(72, 72, 72);
    }

    .left-col h3{
        font-size: 1.4rem;
        
    }

    .occupation-title{
        color: rgb(0, 84, 219);
        font-size: 1.4rem;
    }

    .my-picture {
        width: 300px;
        height: 300px;
        border-radius: 50%;
        transition: box-shadow 0.5s ease;
    }


    .social-media a{
        text-decoration: none;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 2.5rem;
        height: 2.5rem;
        background: transparent;
        border: .2rem solid rgb(255, 98, 0);
        border-radius: 50%;
        font-size: 1.5rem;
        color: black;
        margin: 0.3em;
        transition: .5s ease;
        transition: transform 0.3s ease; 
        background: rgb(236, 206, 150);   
    
    }
    
}

@media (max-width: 376px) {
    .hello-there, .i-am {
        font-size: 2.5rem;
        color: rgb(72, 72, 72);
    }

    .my-picture {
        width: 275px;
        height: 275px;
        border-radius: 50%;
        transition: box-shadow 0.5s ease;
    }
}


.linux-logo {
    width: 75px;
    height: 75px;
}

