/* Header CSS */

.header
{
    position: relative;
    background-image: url("../img/background/background.jpeg");
    background-position: center;
    background-repeat: no-repeat; 
    background-size: cover;
}

.header .container
{
    position: relative;
    z-index: 999;
    color: var(--white);
    padding: calc(50vh - 132px) 20px calc(50vh - 132px);
}

.header-overlay
{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--dark);
    top: 0;
    left: 0;
    opacity: 0.55;
}

.header h1
{
    font-size: 48px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
}

.header p
{
    margin: 20px 0 35px;
}

@media(max-width: 992px)
{
    .header h1
    {
        font-size: 32px;
    }

    .header .container
    {
        padding: calc(45vh - 106px) 20px calc(55vh - 130px);
    }

    .header p
    {
        font-size: 16px;
    }
}

@media(max-width: 400px)
{
    .header .container
    {
        padding: calc(45vh - 106px) 15px calc(55vh - 130px);
    }

    .header h1
    {
        font-size: 32px;
    }
}



/* Offer CSS */

.offer p
{
    margin: 20px 0 70px;
}

.offer-tiles-wrapper
{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.offer-tile
{
    width: 30%;
    position: relative;
    border-radius: 100%;
    overflow: hidden;
    border: 3px solid var(--dark);
    cursor: pointer;
}

.offer-tile-overlay
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--gold);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 998;
}

.offer-tile:hover .offer-tile-overlay
{
    opacity: 0.5;
}

.offer-tile figcaption
{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 0 35px;
    background-color: var(--white);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 999;
}

.offer-tile:hover figcaption
{
    opacity: 1;
}

.offer-tile figcaption h4
{
    text-transform: uppercase;
    color: var(--dark);
    font-size: 20px;
}

@media(max-width: 992px)
{
    .offer p
    {
        margin-bottom: 50px;
    }

    .offer-tiles-wrapper
    {
        justify-content: space-around;
        row-gap: 40px;
    }

    .offer-tile
    {
        width: 45%;
        max-width: 350px;
    }

    .offer-tile figcaption
    {
        padding: 25px 0 30px;
    }

    .offer-tile figcaption h4
    {
        font-size: 18px;
    }
}

@media(max-width: 600px)
{
    .offer-tile
    {
        width: 90%;
        max-width: 400px;
    }
}



/* Instruction CSS */

.instruction
{
    background-color: var(--white);
}

.instruction > .container > p
{
    margin: 20px 0 50px;
}

.instruction-tiles-wrapper
{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 50px;
}

.instruction-tile
{
    width: 30%;
}

.instruction-tile-icon
{
    background-color: var(--gold);
    border-radius: 100%;
    width: 70px;
    height: 70px;
    padding: 15px;
    margin: 15px auto;
}

.instruction-tile-icon img
{
    width: 40px;
}

.instruction-tile h5
{
    font-family: Lato, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark);
    font-size: 16px;
    line-height: 1.4;
}

.instruction-tile p
{
    text-align: center;
    margin: 20px 0 0;
    line-height: 1.2;
}


@media(max-width: 992px)
{
    .instruction > .container > p
    {
        margin-bottom: 40px;
    }
}

@media(max-width: 600px)
{
    .instruction-tiles-wrapper
    {
        justify-content: space-around;
    }

    .instruction-tile
    {
        width: 80%;
        max-width: 350px;
    }
}

@media(max-width: 400px)
{
    .instruction-tile
    {
        width: 95%;
    }

    .instruction-tile h5
    {
        font-size: 15px;
    }
}



/* Quote CSS */

.quote 
{
    position: relative;
    background-image: url("../img/background/quote.jpeg");
    background-size: cover;
    background-repeat: no-repeat; 
    background-position: center 40%;
}

.quote .container
{
    position: relative;
    padding: 150px 40px;
    z-index: 999;
}

.quote p
{
    color: var(--white);
    text-align: center;
}

.quote-overlay
{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--dark);
    top: 0;
    left: 0;
    opacity: 0.45;
    z-index: 998;
}

@media(max-width:400px)
{
    .quote p
    {
        color: var(--white);
        text-align: center;
        font-size: 17px;
    }
}