.project-highlights {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex: 1;
    padding: 50px;
}
  
.carousel {
    display: flex;
    overflow: hidden;
    justify-content: space-around;
    align-items: center;
    width: 90%;
    height: 90%;
}
  
.project-card {
    width: 25%;
    aspect-ratio: 1/1;
    border: 3px solid #C9C9C9;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-wrap: normal;
    position: relative;
    margin: 15px;
}

.project-card h3 {
    text-align: center;
}

.project-title {
    padding: 7.5% 0%;
    font-size: 17px;
}

.project-desc {
    padding: 10px;
    text-align: center;
    align-self: left;
    font-size: 14px;
}

.carousel .project-card:nth-of-type(1) {
    background: linear-gradient(.25turn, lightgrey, white);
}

.carousel .project-card:nth-of-type(2) {
    width: 27.5%;
    aspect-ratio: 1/1;
}

.carousel .project-card:nth-of-type(2) .project-title {
    font-size: 18px;
}

.carousel .project-card:nth-of-type(2) .learn-more-button {
    bottom: 11.5%;
}

.carousel .project-card:nth-of-type(3) {
    background: linear-gradient(.25turn, white, lightgrey);
}

.carousel .project-card:nth-of-type(4) {
    display: none;
}

.carousel .project-card:nth-of-type(5) {
    display: none;
}

.controls {
    display: flex;
    justify-content: space-between;
}

.controls button {
    background: transparent;
    border: none;
    color: rgb(69, 80, 93);
    font-size: 325%;
    padding: 5px 10px;
}

.controls button:hover {
    background-color: rgb(163, 171, 219);
    border-radius: 5px;
    color: lightslategrey;
    font-size: 300%;
}

.image { 
    background-image: url("../imgs/higgs_cms.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
    aspect-ratio: 1100/600;
    width: 100vw;
    background-position: center center;
}

main {
    margin: 0;
    padding: 0;
    justify-content: center;
}

.name-on-image {
    color: white;
    font-size: 5em;
    font-weight: bold;
    position: absolute;
    bottom: 20%;
    right: 125px;
}

.desc {
    color: white;
    font-size: 1.25em;
    position: absolute;
    bottom: 11%;
    right: 35px;
}

.project-highlights-title {
    color: lightgrey;
    text-align: center;
    font-size: 3.5em;
    padding: 2%;
    height: 10%;
}

.fade-image {
    position: relative;
    background-image: linear-gradient(to left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)), url('../imgs/polo_speech_right.png');
    background-repeat: no-repeat;
    aspect-ratio: 741/450;
    background-size: cover;
    height: 100vh;
    width: 100vw;
    background-size: 100% auto;
    display: flex;
    justify-content: flex-start;
    background-position: right top;
    min-height: 900px;
}

.description-about {
    width: 35%;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 75px;
}

.description-about-text {
    font-size: 2em;

    color: #5B5B5B;
    display: flex;
}

footer {
    display: flex;
    justify-content: center;
    background-color: #262525;
    color: lightgrey;
}

.project-img {
    height: 25%;
    padding: 7.5px;
}

.project-card .learn-more-button {
    position: absolute;
    bottom: 8%;
}

.project-highlights-wrapper {
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #586fad, #859bd6);
}

.hidden {
    opacity: 0.1;
    filter: blur(7px);
    transition: all 1s;
}

.show {
    opacity: 1;
    filter: blur(0px);
}

button {
    display: inline-block;
    border-radius: 4px;
    background-color: #333;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 16px;
    padding: 20px 30px;
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;
    outline: none;
    font-family: 'Lora', serif;
}
  
.learn-more-button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}
  
.learn-more-button span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}
  
.learn-more-button:hover span {
    padding-right: 25px;
}
  
.learn-more-button:hover span:after {
    opacity: 1;
    right: 0;
}
