* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body, html {
    width: 100%;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}
body {
    background-color: #c2b280;
    background-image: url('https://www.transparenttextures.com/patterns/subtle-grey.png');
}

/* Video na pozadí */
.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* HEADER */
.header {
    max-width: 1500px;
    height: 80px;
    margin: 0 auto;
    padding-top: 10px;
    overflow: hidden;
    background-color: transparent;
}
/* logo */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.header .icon-container,
.header .logo-container {
    float: left;
    width: 240px;
    margin-left: 5%;
}
.header .icon-container img {
    width: 30px;
    height: 30px;
    animation: rotate 10s linear infinite;
}
.header .logo-container img {
    width: 240px;
    height: 53px;
}
/* menu */
.hamburger-menu {
    display: none;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 1000;
}
.hamburger-menu img {
    width: 30px;
    height: 30px;
    background-color: #FFFFFF;
    border-radius: 5px;
}
.header .menu {
    float: right;
    width: calc(90% - 370px);
    margin-top: 0;
    margin-right: 5%;
    text-align: right;
    display: block;
}
.header .menu a {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-left: 15px;
    font-size: 16px;
    transition: background-color 0.3s ease;
    display: inline-block;
}
.header .menu a:hover {
    background-color: rgba(0, 0, 0, 0.7);
}
.header .language-switcher {
    display: inline-block;
    margin-left: 15px;
    font-size: 16px;
    color: #fff;
}
.header .language-switcher select {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

/* CONTENT */
.content-wrapper {
    max-width: 1500px;
    margin: 0 auto;
    min-height: calc(100% - 120px);
}
.content-main-wrapper {
    max-width: 1500px;
    margin: 0 auto;
    min-height: 50vh;
}

/* FORM login */
.login-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 100%;
}
.contact-container {
    position: relative;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 8px;
    max-width: 400px;
    text-align: center;
    margin: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.login-container h2,
.contact-container h2 {
    color: #004c99;
    margin-bottom: 20px;
}
.login-container img,
.contact-container img{
    margin-bottom: 20px;
    width: 170px;
    height: 40px;
}
.login-container label,
.contact-container label {
    display: block;
    margin-bottom: 5px;
    color: #111111;
    font-weight: 300;
    font-size: 14px;
    text-shadow: none;
}
.login-container input,
.contact-container input,
.contact-container textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 300;
}
.contact-container .checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.contact-container input[type="checkbox"] {
    margin-right: 10px;
}
.checkbox-container a,
.contact-container a {
    color: #0077aa;
    text-decoration: none;
}
.checkbox-container a:hover,
.contact-container a:hover {
    text-decoration: underline;
}

/* Google reCAPTCHA v2 */
.g-recaptcha {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}

/* Popup pre podmienky */
.popup {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}
.popup-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
    border-radius: 10px;
}
.popup-content h3 {
    margin-top: 0;
}
.popup-content p {
    line-height: 1.6;
    text-align: justify;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.login-container button[type="submit"],
.contact-container button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #0099cc;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}
.login-container button[type="submit"]:hover,
.contact-container button[type="submit"]:hover {
    background-color: #0077aa;
}
.forgot-password {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #0077aa;
    text-decoration: none;
    text-align: right;
}
.forgot-password:hover {
    color: #005f8a;
}

/* okná a bannery*/
.motto {
    text-align: center;
    color: white;
    font-size: 36px;
    margin-top: 20vh;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
.window-container {
    display: flex;
    justify-content: space-around;
    margin-top: 15vh;
    padding-left: 40px;
    padding-right: 40px;
}
.window {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 8px;
    width: 30%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}
.window h2 {
    color: #004c99;
    margin-bottom: 20px;
}
.window p {
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}
.banner {
    background: linear-gradient(135deg, #003366, #004c99);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-radius: 15px;
    margin: 0 40px 40px 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.banner img {
    width: 50px;
    height: auto;
    animation: rotate 10s infinite linear;
}
.banner h2 {
    font-size: 24px;
    text-align: left;
    margin: 0 0 0 50px;
    flex-grow: 1;
}
.banner p {
    font-size: 14px;
    text-align: left;
    margin: 5px 0 0 50px;
    color: #f0f0f0;
    max-width: 90%;
}
.banner button {
    background-color: #0077aa;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-right: 40px;
}
.banner button:hover {
    background-color: #005f8a;
}
.white-section {
    background-color: #FFFFFF;
    width: 100%;
    margin-top: 40px;
    padding: 40px;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
}
.content-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
}
.content-section .text {
    width: 50%;
    font-size: 16px;
    line-height: 1.8;
}
.content-section .text p {
    margin-top: 20px;
}
.content-section img {
    width: 45%;
    border-radius: 10px;
}
.content-section .image {
    margin: 0;
}
.content-section h2 {
    text-align: center;
    margin-bottom: 20px;
}
.content-section .button {
    text-align: center;
    margin-top: 20px;
}
.content-section .button button {
    background-color: #0077aa;
    color: #FFFFFF;
    padding: 8px 16px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.content-section .button button:hover {
    background-color: #005f8a;
}

.gray-section {
    background-color: #f0f0f0;
    margin-bottom: 40px;
    padding: 20px 30px;
    border-radius: 15px;
}
.section-column {
    display: flex;
    justify-content: space-between;
}
.column {
    width: 48%;
    font-size: 16px;
    line-height: 1.8;
}

.separator-container {
    position: relative;
    display: block;
    width: 100%;
}
.separator {
    width: 100%;
    height: 1.5px;
    max-height: 1.5px;
    min-height: 1.5px;
    background: linear-gradient(to right, transparent, #004c99, transparent);
    margin: 40px 0;
    padding: 0;
    display: block;
    flex: none;
    align-self: center;
    position: relative;
    box-sizing: border-box;
    transform: scaleY(0.5);
}

.privacy-policy-container,
.terms-of-use-container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 8px;
    margin: 100px auto;
    width: 80%;
    max-width: 900px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.privacy-policy-container h1, .privacy-policy-container h2,
.terms-of-use-container h1, .terms-of-use-container h2 {
    color: #004c99;
    margin-bottom: 20px;
}
.privacy-policy-container p,
.terms-of-use-container p {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 20px;
}
.privacy-policy-container ul,
.terms-of-use-container ul {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 20px;
}

/* FOOTER */
.footer-strip {
    position: relative;
    width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0;
    font-size: 14px;
    overflow: hidden;
    margin: 0;
    clear: both;
}
.footer-strip .footer-links {
    float: left;
    margin-left: 20px;
}
.footer-strip a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    transition: color 0.3s ease;
}
.footer-strip a:hover {
    color: #cccccc;
}
.footer-right {
    float: right;
    margin-right: 20px;
    font-size: 14px;
    color: #ffffff;
    font-weight: 300;
}

/*@media (max-height: 900px) {
    .white-section {
        margin-top: 0;
    }
}*/

/* Media queries pre responzívnosť */
@media (max-width: 768px) {
    body {
        padding: 20px;
    }
    .header .menu {
        display: none;
        position: absolute;
        top: 80px;
        right: 20px;
        left: 20px;
        background: rgba(0, 0, 0, 0.9);
        padding: 20px;
        border-radius: 8px;
        width: auto;
        z-index: 999;
        text-align: left;
    }
    .header .menu a {
        display: block;
        padding: 10px;
        margin: 10px 0;
        text-align: center;
        border-radius: 5px;
    }
    .header .hamburger-menu {
        display: block;
    }
    .header .language-switcher {
        display: block;
        margin-top: 20px;
        text-align: center;
    }
    .header .login-container {
        padding: 15px;
        max-width: 90%;
    }

    .window-container {
        flex-direction: column;
        align-items: center;
        margin-top: 5vh;
        padding-left: 20px;
        padding-right: 20px;
    }
    .window {
        width: 90%;
        margin-bottom: 20px;
        padding: 20px;
    }

    .white-section {
        margin-top: 0;
        border-radius: 8px 8px 0 0;
    }

    .content-section {
        flex-direction: column;
        text-align: center;
        padding: 0;
    }
    .content-section img {
        width: 80%;
        margin-bottom: 20px;
    }
    .content-section .image {
        margin-top: 20px;
    }
    .content-section .text {
        width: 100%;
    }
    .content-section .text p {
        text-align: left;
    }
    .content-section .text ul li {
        text-align: left;
    }
    .gray-section {
        margin-top: 80px;
    }

    .banner {
        flex-direction: column;
        text-align: center;
        padding: 0;
        margin: 20px 0;
    }
    .banner img {
        margin-bottom: 10px;
    }
    .banner h2 {
        text-align: center;
        margin: 10px 0;
        font-size: 20px;
    }
    .banner p {
        max-width: 100%;
        font-size: 14px;
        margin: 10px 0;
        text-align: left;
    }
    .banner button {
        font-size: 14px;
        padding: 10px 20px;
        margin-top: 10px;
        margin-right: 0;
    }

    .section-column {
        flex-direction: column;
        align-items: center;
    }
    .section-column .column {
        width: 100%;
        margin-bottom: 20px;
        text-align: left;
    }
    .gray-section {
        width: 100% !important;
        padding: 20px 10px !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
    .gray-section h2 {
        text-align: center;
        margin-bottom: 20px;
    }
    .button {
        text-align: center;
        margin-top: 20px;
    }
    .button button {
        width: auto;
        padding: 10px 20px;
    }

    .footer-strip a {
        font-size: 14px;
        margin: 0 10px;
    }
    .footer-right {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .icon {
        font-size: 30px;
    }
    .menu a {
        font-size: 14px;
        padding: 6px 10px;
    }
    .language-switcher select {
        font-size: 14px;
    }
    .login-container img {
        width: 120px;
        height: 60px;
    }
    .login-container button {
        font-size: 14px;
    }
    .forgot-password {
        font-size: 12px;
    }

    .window {
        width: 95%;
        padding: 15px;
    }

    .banner {
        padding: 15px;
    }
    .banner h2 {
        font-size: 18px;
    }
    .banner p {
        font-size: 12px;
    }
    .banner button {
        font-size: 12px;
        padding: 8px 16px;
    }

    .gray-section {
        width: calc(100% - 20px);
        padding: 15px 5px;
        margin: 15px 0;
    }

    .footer-strip a {
        font-size: 12px;
        margin: 0 5px;
    }
    .footer-right {
        font-size: 10px;
    }
}