﻿/*
 * Author: Ted - TedSite.nl
 * Description: Galerij CSS
 * Date: 21-08-2024
*/

/* ===== Main container ===== */
.main-container {
    position: relative;
    width: 100%;
    margin: 5rem 0;
    overflow: hidden;
}

    .main-container h2 {
        font-family: BebasNeue;
        font-size: clamp(2.4rem, 5vw, 3rem);
        text-align: center;
        text-transform: uppercase;
        color: var(--gold-color, #f3c846);
        margin-bottom: 1rem;
        letter-spacing: 1px;
    }

    .main-container hr {
        width: 60px;
        border: 3px solid var(--gold-color);
        margin: 0 auto 1rem auto;
    }

/* ===== Slide container ===== */
.slide-container {
    width: 60%;
    margin: 0 auto;
    border: 1px solid var(--gold-color, #f3c846);
    box-shadow: 0 0 12px rgba(243, 200, 70, 0.2);
    border-radius: 8px;
    overflow: hidden;
    background-color: #0e1824;
}

/* ===== Dot navigation ===== */
.dot-container {
    text-align: center;
    margin-top: 20px;
}

.dot {
    height: 14px;
    width: 14px;
    margin: 0 6px;
    background-color: rgba(243, 200, 70, 0.4);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--gold-color, #f3c846);
}

    .dot.active {
        background-color: var(--gold-color, #f3c846);
    }

/* ===== Slider main view ===== */
#Slider {
    position: relative;
    display: flex;
    width: 100%;
    height: 690px;
    border: 1px solid var(--gold-color, #f3c846);
    overflow: hidden;
    background-color: #0e1824;
}

    #Slider img {
        max-height: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        transition: all 1s ease-in-out;
        background-repeat: no-repeat;
        object-fit: cover;
    }

/* ===== Arrows ===== */
#Arrows {
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

    #Arrows i {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(14, 24, 36, 0.65);
        color: var(--gold-color, #f3c846);
        cursor: pointer;
        height: 30px;
        padding: 15px;
        border-radius: 4px;
        transition: background-color .3s, color .3s, transform .2s;
    }

    /* Linker arrow */
        #Arrows i:first-of-type:hover {
            transform: translateY(-50%) scale(1.05);
            background-color: var(--gold-color, #f3c846);
            color: #0e1824;
        }

    /* Rechter arrow */
    #Arrows i:last-of-type {
        left: 100%;
        transform: translate(-100%, -50%);
    }

        #Arrows i:last-of-type:hover {
            transform: translate(-100%, -50%) scale(1.05);
            background-color: var(--gold-color, #f3c846);
            color: #0e1824;
        }

/* ===== Row of thumbnails ===== */
.row {
    display: flex;
    margin: 2rem auto;
    width: 90%;
    gap: 1rem;
    justify-content: center;
}

    .row:after {
        content: "";
        display: table;
        clear: both;
    }

/* Column thumbnails */
.column {
    float: left;
}

/* Thumbnails styling */
.demo {
    opacity: 0.6;
    border: 1px solid rgba(243, 200, 70, 0.4);
    border-radius: 4px;
    transition: opacity 0.3s, border-color 0.3s;
}

    .active, .demo:hover {
        opacity: 1;
        border-color: var(--gold-color, #f3c846);
        cursor: pointer;
    }


/*==================================
            MEDIA QUERIES
==================================*/

/* Grote schermen */
@media only screen and (min-width: 1024px) and (max-width: 1460px) {

}

/* 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) {
}

@media only screen and (min-width: 768px) and (max-width: 952px) {
    .slide-container {
        width: 80%;
    }

}

/* Kleine schermen */
@media only screen and (max-width: 767px) {
    .slide-container {
        width: 90%;
    }
}

@media only screen and (max-width: 478px) and (orientation: portrait) {

    .main-container
    {
        margin: 7rem 0;
    }

    .main-container h2
    {
        font-size: 2rem;
    }

}
