﻿/*
    Author: Tedje
    Date: 16-01-2024
    Description: Flash Gym Trainers Stylesheet
*/

/* .container-1 {
    padding-top: 120px;
    width: 60%;
    margin: 0 auto;
    min-height: 30vw;
} */

.container-1 {
    position: relative;

}

.header {
    position: relative;
    height: clamp(320px, 60vh, 700px);
    overflow: hidden;
}

.header img {
    position: absolute;
    inset: 0; /* top/right/bottom/left: 0 */
    width: 100%;
    height: 100%;
    object-fit: cover; /* werkt nu, want vaste hoogte */
    object-position: center; /* of 'center top' als je de bovenkant wilt prioriteren */
    display: block;
    transform: none; /* niet nodig met cover */
}

.header-content {
    position: absolute;
    font-size: 3rem;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    text-transform: uppercase;
    color: white;
    z-index: 10;
}

.header-content h2
{
   text-align: center;
}

.header-content a {
    display: inline-block;
    text-decoration: none;
    color: var(--gold-color);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    border: 3px solid var(--gold-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    transition: all 300ms ease;
    opacity: 0;
    animation: fadeIn 1000ms ease-in-out forwards;
    animation-delay: 1000ms;
}

.header-content a:hover {
    color: var(--blue-color);
    background: var(--gold-color);
}

.header-content hr {
    width: 60px;
    border: 3px solid var(--gold-color);
    margin: 0 auto 1rem auto;
}

.header-button
{
    gap: 0px;
    justify-content:space-between;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Cover the entire header */
    height: inherit; /* Cover the entire header */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    /* Adjust background color and opacity as needed */
    z-index: 1; /* Ensure overlay is above the image */
    pointer-events: none; /* Allow pointer events to pass through overlay */
}

.container-2 {
    position: relative;
    width: 100%;
    overflow: hidden;

    font-size: 17px;
}



.container-2a {
    width: 60%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 1.5rem;
    gap: 2rem;
}

.container-2a-image {
    border: 1px solid #f3c846; /* goudkleur */
    background-color: #0e1824; /* donkerblauw */
    box-shadow: 0 0 12px rgba(243, 200, 70, 0.2);
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease;
}

.container-2a-image img {
    position: relative;
    width: 100%;
}

.container-2a-text {
    width: 50%;
    color: #f3f3f3;
}

.container-2a-text h1 {
    position: relative;
    font-size: 2rem;
    z-index: 5;
    color: var(--gold-color)
}

.container-2a hr {
    width: 60px;
    border: 3px solid var(--gold-color);
    margin: 0;
}

.container-2a-text ul, .container-4a ul {
    padding: 0;
    list-style: none;
}

.container-2a-text ul i, .container-4a ul i {
    font-size: 24px;
    margin-right: 5px;
}

/*==================================
            MEDIA QUERIES
==================================*/

/* Grote schermen */
@media only screen and (min-width: 1024px) and (max-width: 1460px) {

    .container-1a, .container-2a, .container-3a, .container-4a {
        width: 85%;
    }

    .flexbox-3a article {
        width: 15%;
    }
}

/* Middelgrote schermen */
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
}

@media only screen and (min-width: 923px) and (max-width: 1023px) {


}

/* Middelgrote schermen */
@media only screen and (min-width:768px) and (max-width:1000px) and (orientation: portrait) {

    .container-2a {
        display: block;
        width: 85%;
        margin: 0 auto;
    }

    .container-2a-text {
        width: 100%;
    }

    .container-2a-image
    {
        margin: 1rem auto;
    }


}

@media only screen and (min-width: 768px) and (max-width: 952px) {

    .container-2a {
        width: 85%;
    }

    .container-2a article {
        width: 100%;
        padding: 0;
    }

}

/* Kleine schermen */
@media only screen and (max-width: 767px) {

    .container-2a {
        display: block;
        width: 85%;
        margin: 0 auto;
    }

    .container-2a article {
        width: 100%;
        padding: 0;
    }

}

@media only screen and (max-width: 478px) and (orientation: portrait) {
    .container-2a {
        width: 80%;
    }



}


