@import url('https://fonts.googleapis.com/css2?family=Knewave&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Krub:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    height: 100%;
    margin: 0;
    font-family: "Krub", sans-serif;
}

/* navbar */
.navbar {
    position: fixed;
    top: -50px;
    /* Először rejtve */
    width: 100%;
    background-color: #000;
    color: white;
    padding: 30px 0;
    text-align: center;
    transition: top 0.3s;
    z-index: 1000;
}

.navbar ul {
    list-style-type: none;
}

.navbar ul li {
    display: inline;
    padding: 0 20px;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.navbar ul li a:hover {
    color: #fa000c;
    transition: 0.3s;
}

.menu-icon {
    display: none;
    /* Asztali nézetben nem látható */
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 4px;
    background-color: white;
    margin-bottom: 5px;
}

.landing-bg {
    background-image: url("./img/header.png");
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px;
}

.center {
    text-align: center;
    margin: 0 auto;
}

.hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

.header-logo {
    width: 50%;
    margin: 0 auto;
    display: block;
}

.row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.justify-center {
    justify-content: center;
}

.col {
    display: flex;
    flex-direction: column;
}

.col-50 {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
}

h1 {
    font-family: 'Knewave';
    font-size: 3.5rem;
    font-weight: 200;
    color: #fff;
    text-align: center;
}

h2 {
    font-family: "Luckiest Guy";
    font-size: 2.5rem;
    font-weight: 200;
    color: #000;
    margin-bottom: 20px;
}

h3 {
    font-family: "Luckiest Guy";
    font-size: 1.3rem;
    font-weight: 200;
    color: #000;
    padding: 10px 0;
}

.no-list-stlye {
    list-style: none;
}

p {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 5px;
    /* text-align: justify; */
}

#nevezes ul {
    padding: 15px;
}

#nevezes ul li {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 5px;
    margin-top: 5px;
    margin-left: 50px;
}

.color-red {
    color: red;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: #fff;
    font-family: 'Knewave';
    font-weight: 100;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 1rem;
}

.countdown-text {
    font-size: 1.5rem;
    font-weight: 100;
}

/* CSS */
.red-button {
    align-items: center;
    background-clip: padding-box;
    background-color: #fa000c;
    border: 1px solid transparent;
    border-radius: .25rem;
    box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-family: system-ui, -apple-system, system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    line-height: 1.25;
    margin: 10px auto;
    min-height: 3rem;
    padding: calc(.875rem - 1px) calc(1.5rem - 1px);
    position: relative;
    text-decoration: none;
    transition: all 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: baseline;
    max-width: 300px;
    width: auto;
}

.red-button:hover,
.red-button:focus {
    background-color: #fb3232;
    box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
}

.red-button:hover {
    transform: translateY(-1px);
}

.red-button:active {
    background-color: #c85000;
    box-shadow: rgba(0, 0, 0, .06) 0 2px 4px;
    transform: translateY(0);
}

.row-list {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    list-style: none;
    padding: 0;
}

.row-list li {
    flex-basis: calc(25% - 10px);
    padding: 10px;
    margin-bottom: 10px;
    text-align: center;
}

.row-list li img {
    width: 80%;
    height: auto;
}


.bold {
    font-weight: bold;
}

.black-bg {
    background-color: #000;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
}

.black-bg h2 {
    color: white;
}

.footer {
    background-color: #000;
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 20px;
}

.footer a {
    color: red;
    text-decoration: none;
    font-weight: bold;
}

/* Modal */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content,
#caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 70px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.gallery_img {
    width: 100%;
    height: auto;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}


@media screen and (max-width: 768px) {
    .col-50 {
        width: 100%;
    }

    .navbar ul {
        display: none;
        /* Kezdetben rejtve mobilon */
        flex-direction: column;
        text-align: center;
    }

    .navbar ul.active {
        display: flex;
    }

    .menu-icon {
        display: flex;
        position: absolute;
        right: 20px;
        top: 15px;
    }

    .navbar ul li {
        padding: 10px 0;
    }

    .row-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column;
    }

    .row-list li img {
        width: 50%;
        height: auto;
    }

    .row {
        flex-direction: column;
    }
}