.hero {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero>img {
    width: 100%;
    max-height: 100vh;
    object-fit: cover
}

.hero>h1 {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-family-Poppins-bold);
    font-size: clamp(30px, 3vw, 80px);
    color: var(--ash);
    text-transform: uppercase;
}

/* REFERENCES PAGE */
.references {
    margin: 2.5rem auto;
    padding: 40px;
    background-color: var(--tertiary-color);
    border-radius: 35px;
    max-width: 1700px;
}

.references h3 {
    color: var(--secondary-color);
    text-align: start;
    font-size: clamp(16px, 3vw, 22px);
    margin: 10px 0 5px 0;
}

.references p {
    color: var(--font-grey);
    text-align: start;
    font-size: clamp(12px, 3vw, 15px);
}

.references>.presentation-title {
    margin-bottom: 2rem;
    color: var(--secondary-color);
    text-align: center;
    font-size: clamp(30px, 3vw, 60px);
}

.references>.presentation {
    max-width: 1175px;
    margin: auto;
    text-align: start;
    font-size: 28px;
    color: var(--font-grey);
    margin-bottom: 2rem;
}

.references-container {
    width: 100%;
    justify-content: space-between;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.references-container .content {
    padding: 7px;
    text-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.references-container .content .text {
    text-align: justify;
    margin-top: 10px;
}

.references-container .content .link {
    margin-top: 25px;
}

.references-container .content .btn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    transition: 0.3s ease;
    cursor: pointer;
}

.references-container .content .btn:hover {
    background-color: var(--secondary-color);
}

.references-container .content img {
    width: 100%;
    border-top-left-radius: 35px;
    border-top-right-radius: 35px;
    object-fit: cover;
    height: 225px;
}

/* REFERENCE details */
.reference {
    margin: 2.5rem auto;
    padding: 40px;
    background-color: var(--tertiary-color);
    border-radius: 35px;
    max-width: 1700px;
}

.reference>.presentation-title {
    margin-bottom: 2rem;
    color: var(--secondary-color);
    text-align: center;
    font-size: clamp(40px, 3vw, 60px);
}

.reference>.presentation {
    max-width: 1175px;
    margin: auto;
    text-align: center;
    font-size: 28px;
    color: var(--font-grey);
    margin-bottom: 2rem;
}

.reference-container-show {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: start;
    gap: 20px;
}

.reference-container-show .content {
    padding: 7px;
    width: 100%;
    text-align: start;
}

.reference-container-show .presentation {
    margin-top: 15px;
}

.reference-container .content .text {
    text-align: justify;
    margin-top: 10px;
}

@media screen and (max-width: 1200px) {
    .hero {
        padding-top: 72px;
    }

    .hero>h1 {
        top: 62%
    }

    .references {
        padding: 25px 10px;
    }

    .references, .reference {
        width: 95%;
    }

    .references-container .content, .reference-container-show .content {
        width: 30%;
    }
}

@media screen and (max-width: 980px) {
    .references-container .content, .reference-container-show .content {
        width: 46%;
    }
}

@media screen and (max-width: 600px) {
    .references-container .content {
        width: 100%;
    }
}