.introduction {
    background-color: rgb(44, 49, 83);
    height: 400px;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 36px;
}

hr {
    width: 70%;
    height: 2px;
    border: none;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
    margin: 30px 0;
}

.presentation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.presentation-buttons-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.presentation-button {
    border: 2px solid white;
    font-weight: bold;
    border-radius: 32px;
    padding: 8px 16px;
    margin: 0px 10px;
    font-size: 18px;
    color: white;
    text-decoration: none;
    text-wrap: none;
    transition: background-color 0.15s, color 0.15s;
}

.presentation-button:hover {
    background-color: white;
    color: black;
}

.welcome {
    font-weight: bold;
    color: white;
    font-size: 48px;
    white-space: preserve nowrap;
}

.featured-projects {
    display: flex;
    flex-direction: column;
    background-color: rgb(78, 84, 119);
    align-items: center;
}

.featured-title {
    display: block;
    font-style: bold;
    font-size: 42px;
    color: white;
    font-weight: bold;
    margin: 40px 0;
}

.projects-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: space-between;
}

@media(max-width: 1457px)
{
    .projects-container{
        grid-template-columns: 1fr 1fr ;
    }
}

@media(max-width: 978px)
{
    .projects-container{
        grid-template-columns: 1fr;
    }
}

.project {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: lightblue;
    margin: 0 40px;
    margin-bottom: 40px;
    transition: box-shadow 0.15s;
    text-decoration: none;
    border-radius: 14px;    
    overflow: hidden;
}

.project:hover {
    box-shadow: 0px 0px 10px 6px rgba(66, 66, 66, 0.9);
    cursor: pointer;
}

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

.project-image-container {
    position: relative;
    width: 400px;
    height: 400px;
    overflow: hidden;
}

.project-image {
    object-fit: cover;
    transition: transform 0.5s;
}

.project-image-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height:100%;
    box-shadow: inset 0 -50px 50px rgba(0, 0, 0, 0.3);
}

.project-bottom {
    display: flex;
    flex-direction: column;
    background-color: white;
    padding: 14px 20px;
    color: black;
}

.project-title {
    font-weight: bold;
    font-size: 24px;
}

.project-subtitle {
    font-weight: 300;
}

.project-description {
    display: flex;
    align-items: center;
    margin-top: 16px;
}

.project-description div {
    margin-right: 12px;
    color: rgb(100, 100, 100);
}