
:root {
    --accent-color: #0099ff;
}


body {
    font-family: system-ui;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100vh;
    color: #000000;
    background: url(../assets/bckgrnd.webp) no-repeat center;
    background-size: cover;
}



main {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
}

/* HEADER BELOW */

header {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.header-content {
    display: flex;
    flex-direction: row;
    width: calc(100% - 40px);
    height: 100%;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
}

.header-logo {
    height: calc(100% - 30px);
}
.header-logo img {
    height: 100%;
}

#nav-list {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: flex;
    gap: 4px;
}

#nav-list-collapse {
    font-size: 25px;
    margin-left: 10px;
    top: 10px;
    position: absolute;
    color: var(--text-color);
    cursor: pointer;
}

#nav-list ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    list-style-type: none;
    padding-left: 0;
    text-align: center;
    list-style-type: none;
    margin: 0;
}


nav ul li a {
    color: #000000;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 30px;
    transition: background-color 0.5s ease, color 0.5s ease;
    position: relative;
}


#nav-list ul li {
    margin: 15px 0;
}

#nav-list ul li a {
    color: var(--text-color);
    font-size: 18px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 50%;
	bottom: -3px;
	width: 0;
	height: 3px;
    background: var(--accent-color);
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

nav ul li a:hover::after,
nav ul li a:focus::after,
nav ul li a.current::after {
    width: 100%;
    left: 0;
}

#nav-list.show {
    transform: unset;
}

.language-switcher {
    position: relative;
    display: inline-block;
}

.language-switcher img {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    margin-top: 5px;
    margin-left: 5px;
    border-radius: 10px;
}

.language-switcher img:hover {
    transform: scale(1.20);
}

#hamburger-icon {
    cursor: pointer;
    z-index: 1001;
    position: absolute;
    right: 20px;
}

.hamburger-line {
    stroke: currentColor;
    stroke-width: 2;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Default (Hamburger) State */
.hamburger-line.nav_top {
    transform-origin: center;
}

.hamburger-line.nav_middle {
    opacity: 1;
}

.hamburger-line.nav_bottom {
    transform-origin: center;
}

/* Active (X) State */
#hamburger-icon.nav_active .hamburger-line.nav_top {
    transform: translateY(6px) translateX(-6px) rotate(45deg);
}

#hamburger-icon.nav_active .hamburger-line.nav_middle {
    opacity: 0;
}

#hamburger-icon.nav_active .hamburger-line.nav_bottom {
    transform: translateY(-6px) translateX(-6px) rotate(-45deg);
}

/* ~~~~~~~~~~~~~ */

.mobile-only {
    display: none;
}


/* FOOTER CODE BELOW */

footer {
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
}

.footer-content {
    color: white;
    background-color: black;
    margin-bottom: 60px;
    width: calc(100% - 40px);
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    border-radius: 20px;
}

.social-media,
.newsletter-section,
.copyright-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
.newsletter-section {
    display: none;
}

.social-media {
    margin-left: 20px;
}

.social-media a {
    margin-left: 10px;
}

.social-media p {
    margin: 0;
}

.social-media a img {
    height: 25px;
}

.copyright-section {
    margin-right: 20px;
}

.newsletter-section p {
    white-space: nowrap;
}

.subscribe-button {
    height: 32px;
    border-radius: 8px;
    border: 1px solid white;
    background-color: white;
    cursor: pointer;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.subscribe-button:hover {
    background-color: black;
    color: white;
}

@media (max-width: 1500px) {


}


@media (max-width: 1000px) {
    .footer-content {
        flex-direction: column;
        height: unset;
    }
    
    .social-media {
        margin: 0;
        margin-top: 16px;
    }
    .copyright-section {
        margin: 20px 0;
        margin-top: 10px;
    }
}



@media (max-width: 768px) {
    .mobile-only {
        display: unset;
    }
    /* Mobile menu */
    #nav-list {
        background: #ffffff;
        box-shadow: inset 2px 0px 0 #828282;
        transition: all 0.2s ease-in-out;
        z-index: 1000;
        height: 100vh;
        border-radius: 0;
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        flex-direction: column-reverse;
        justify-content: flex-end;
    }
    .language-switcher {
        margin-top: 40px !important;
        margin-left: 30px !important;
    }

    #nav-list ul {
        flex-direction: column;
        margin: 0 90px;
        margin-top: 20px;
        gap: 0;
    }

}

.mobile-newsletter {
    display: none;
}

@media (max-width: 550px) {
    .desktop-newsletter {
        display: none;
    }

    .mobile-newsletter {
        display: unset;
    }
}

@media (max-width: 370px) {
    .footer-content {        
        width: calc(100% - 20px);
    }
}
/* EXTRAS */


/* Floating label container */
.floating-label {
    position: relative;
    width: 100%;
}

/* Style for the label */
.floating-label label {
    position: absolute;
    top: 20px;
    left: 6px;
    transform: translate(0px, -70%);
    color: #888;
    transition: 0.2s ease all;
    pointer-events: none;
    font-size: 16px;
}

/* Style when input is focused or has content */
.floating-label input:focus ~ label,
.floating-label input:not(:placeholder-shown) ~ label {
    top: 0;
    transform: translate(-5px, -110%);
    font-size: 12px;
    color: white;
}

.floating-label input {
    background: white;
    border: none !important;  
    outline: none;
    border-radius: 8px;
}

/* Placeholder should be invisible to create the floating effect */
.footer-input-field::placeholder {
    color: transparent;
}

.footer-input-field {
    border: solid 1px !important;
    height: 30px;
}
