:root {
    --primary-color: #5bd372;
    --secondary-color: #329e47;
    --footer-color: #002803;
}

html {
    background-color: var(--secondary-color);
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background: var(--primary-color);
}

.home-header {
    background: url("../../../static-sites/sportsalerts/images/background.jpg") no-repeat center center/cover;
    color: white;
    height: 100vh;
    text-align: center;
    position: relative;
}

.header-elements {
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
    align-items: center;
}

.home-header::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    height: 100vh;
    width: 100%;
    background: var(--primary-color);
    mix-blend-mode: color;
}

.header-logo img {
    max-width: 200px;
    max-height: 40px;
}

section {
    min-height: 50vh;
}

header nav {
    position: relative;
    z-index: 999;
}

header nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
}

header .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

header .content h1 {
    font-size: 3em;
    margin: 0;
}

header .content p {
    font-size: 16px;
}

header .content a {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    background-color: transparent;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

section {
    padding: 60px 20px;
    text-align: center;
}

section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.content {
    color: white;
}

.what-we-do {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 20px;
}

.about,
.faq {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 20px;
}

.footer {
    background-color: var(--footer-color);
    color: white;
    padding: 60px 20px;
}

.about p,
.what-we-do p,
.faq p,
.footer p {
    font-size: 16px;
    line-height: 1.5;
}

.services,
.faqs {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service {
    flex: 1 1 20%;
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    color: white;
}

.faq-item {
    flex: 40%;
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    color: white;
}

.service h3 {
    font-size: 1.5em;
}

.service p {
    font-size: 1em;
}

footer {
    background-color: #001f3f;
    color: white;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: end;
}

.logo-image {
    max-width: 40%;
}

footer div {
    width: 30%;
}

footer a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    header,
    .footer {
        flex-direction: column;
    }

    header {
        gap: 20px;
    }

    footer div {
        width: 100%;
    }

    .footer-left,
    .footer-right {
        align-items: center;
    }
}


.lang {
    position: relative;
    z-index: 10;
    text-align: center;
    background: rgba(157, 157, 157, 0.3);
    perspective: 700px;
}

.lang_fixed {
    position: fixed;
    right: 20px;
    top: 20px;
}

.lang__link {
    cursor: pointer;
    transition: .3s all;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-shrink: 0;
    box-sizing: border-box;
    text-decoration: none;
    border-radius: 2px;
    padding: 4px;
}

.lang__img {
    width: 30px;
    height: 18px;
    flex-shrink: 0;
    font-size: 10px;
    display: block;
    transition: .3s all;
}

.lang__link_sub:hover {
    filter: drop-shadow(0 0 3px rgb(136, 136, 136)) brightness(130%);
}


.lang__name {
    color: #737b84;
    font-size: 12px;
    line-height: 12px;
    flex-shrink: 0;
    text-transform: uppercase;
}

.lang__link_sub {
    width: 100%;
    height: auto;
    position: relative;
    padding: 0;
    margin-bottom: 2px;
}

.lang__list {
    background: rgba(157, 157, 157, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: .3s all;
    transform: rotateX(-90deg);
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 10;
    line-height: 13px;
    padding: 4px;
    transform-origin: center top;
    box-sizing: border-box;
}

.lang:hover .lang__list {
    opacity: 1;
    visibility: visible;
    transform: rotateX(0);
}

.lang__link_select {
    align-items: flex-start;
    text-align: center;
    font-size: 0;
}

.terms-sect {
    max-width: 1000px;
    margin: auto;
    text-align: left;
}