:root {
    --text: rgb(200, 200, 200);
}

.hidden {
    display: none;
}

a {
    text-decoration: none;
    color: #fff;
}

* {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

h1 {
    font-weight: 700;
    text-align: center;
    max-width: 60em;
    color: #fff;
}

body {
    margin: 0;
    background-color: #040404;
}

.text {
    color: var(--text);
    max-width: 60em;
    margin: auto;
    line-height: 1.5;
    text-align: justify;
}

footer {
    text-align: center;
    padding: 40px 0 20px;
    color: var(--text);
}

header {
    .logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100px;
        z-index: 10;
        img {
            width: 130px;
            height: auto;
            z-index: 10;
        }
        text {
            color: #fff;
            margin-top: 5px;
            opacity: .7;
            font-size: 0.7em;
            font-family: 'Playfair Display', serif;
        }
    }
}

.panels {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    .panel {
        height: calc((100vh - 100px) / 2);
        width: 50%;
        overflow: hidden;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        .touch {
            display: none;
            pointer-events: none;
            position: absolute;
            bottom: 20px;
            right: 40px;
            z-index: 1;
            /*display: flex;*/
            align-items: center;
            color: #fff;
            opacity: .6;
            svg {
                height: 50px;
                width: auto;
                margin-right: 10px;
                fill: #fff;
            }
            text {
                font-weight: 600;
            }
        }
        &:hover {
            & > a {
                transform: scale(1.05);
                filter: brightness(1.1);
            }
        }
        & > a {
            height: 100%;
            width: 100%;
            transition: transform 0.3s ease, filter 0.3s ease;
            filter: brightness(0.4);
            font-size: 1.5em;
            font-weight: 500;
            background-size: cover;
            background-position: center;
            background-color: rgb(10, 10, 10);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        &.domceky > a {
            background-image: url('./img/domceky.jpg');
        }
        &.lietadlo > a {
            background-image: url('./img/lietadlo.jpg');
        }
        &.livigno > a {
            background-image: url('./img/livigno.jpg');
        }
        &.slogan {
            width: 100%;
            height: 70px;
            h2 {
                color: #fff;
                opacity: .7;
                font-family: 'Playfair Display', serif;
                text-align: center;
                padding: 10px 30px;
                line-height: 1.5;
                font-size: 1.1em;
                font-weight: 600;
            }
        }
        &.coming-soon{
            width: 100%;
            a {
                color: #fff;
            }
        }
        .place-logo {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 10;
            max-width: 250px;
            max-height: 250px;
            pointer-events: none;
            filter: drop-shadow(0 0 5px rgba(0, 0, 0, 1));
        }
    }
}

@media (max-width: 767px) {
    .logo {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 90px;
        padding: 0;
        z-index: 1000;
        transform: unset;
        border-radius: 0;
        background-color: rgba(10, 10, 10, 1);
        img {
            width: 120px;
        }
        text {
            font-size: 0.7em;
            margin-top: 3px;
        }
    }

    .panels {
        height: auto;
        flex-direction: column;
        justify-content: space-between;
        gap: 10px;
        padding-top: 90px;
    }

    .panel {
        width: 100%;
        height: 300px;
        .touch {
            display: flex;
        }
        & > a {
            font-size: 1.2em;
        }
        img {
            width: 150px;
            height: auto;
            z-index: 10;
        }
    }
}

@media (max-width: 480px) {
    .logo {
        position: fixed;
        height: 70px;
        img {
            width: 90px;
        }
        text {
            font-size: 0.4em;
            margin-top: 3px;
        }
    }

    .panels {
        flex-direction: column;
        padding-top: 70px;
    }

    .panel {
        height: 200px;
        .touch {
            bottom: 10px;
            right: 20px;
            svg {
                height: 30px;
            }
            label {
                font-size: .8em;
            }
        }

        .place-logo {
            max-width: 120px;
            max-height: 120px;
        }
        & > a {
            font-size: 1.1em;
        }
    }
}