
/***PROJECTS***/
/****************************************************************************************************************/

#projects {
    position: relative;
    background: white;
    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

@keyframes appear {
    from {
      transform: scale(0.9);
    }
    to {
      transform: scale(1);
    }
  }

.project-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F2F4F3;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    width: 60%;
    padding: 50px;
    gap: 40px;
    transition: opacity 1s, transform 1s;
    animation: appear 1s linear forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

.project-card:hover {
    background-color: #E6E8E7;
}

.project-image img {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    object-fit: cover;
}

.project-image .small-image {
    height: 250px;
    width: 350px;
    object-fit: cover;
}

.project-content {
    flex: 1;
}

.project-content h3 {
    font-family: "Ubuntu", serif;
    font-weight: 400;
    font-size: 2.5em;
}
.project-content p {
    font-family: "Ubuntu", serif;
    font-style: regular;
    font-weight: 300;
    font-size: 1.2em;
    width: 70%;
}

.tech-icons {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-size: 50px 50px;
    vertical-align: middle;
}

.project-btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    font-size: 1.2em;
    font-family: "Ubuntu", serif;
    color: #666666;
    border: 2px solid #666666;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s, transform 0.2s;
}

.project-btn:hover { 
    transform: scale(1.1);
}

.project-btn:active {
    transform: scale(0.9);
}


/***SKILLS***/
/****************************************************************************************************************/


@keyframes appearskills {
    from {
      transform: scale(0.8);
    }
    to {
      transform: scale(1);
    }
  }

#skills {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.skill-row {
    display: flex;
    flex-direction: row;
    margin: 20px auto;
    gap: 20px;
    transition: opacity 1s, transform 1s;
    animation: appearskills 1s linear forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

.skill-duo {
    display: flex;
    flex-direction: column;
}

.skill-duo:hover {
    scale: 1.1;
}

.skill-icon {
    width: 100px;
    height: 100px;
    background-size:contain;
    background-repeat: no-repeat;
    background-position: center;

}
.skill-title {
    font-size: 16px;
    left: 50%;
    font-family: "Ubuntu", serif;
    text-align: center;
    color: #666666;
  }


/***RESUME***/
/****************************************************************************************************************/

.resume-button {
    background-color: #937DAF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-align: center;
    font-family: "Ubuntu", serif;
    font-size: 2em;
    margin: 0 auto;
    display: block;
    transition: opacity 1s, transform 1s;
    animation: appearskills 1s linear forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 20%;
    
}

.resume-button:hover {
    background-color: #846D9E;
    scale: 1.1;
    
}
.resume-button:active {
    background-color:#937DAF;
}

.mediumbox {
    height: 100px;
    margin-bottom: 20px;
}

.largebox {
    height: 300px;
    margin-bottom: 20px;
}
.smallbox {
    height: 40px;
    margin-bottom: 20px;
}