@font-face {
      font-family: 'Ancient German GothicC';
        src: url("../fonts/Ancient German GothicC/ancientgermangothicc.otf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
    font-family: 'Ancient German GothicC';
}



nav {
    padding: 40px;
    width: 60%;
    margin: 0 auto;
}

nav ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}


nav ul li {
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    font-size: 2rem;
    color: white;
    white-space: nowrap;
}

.logo-small {
    margin: 0 auto;
    text-align: center;
    font-size: 5rem;
}

nav.dark ul li a {
    color: black
}

nav.light.active {
    background: darkred;
}

.burger-menu.dark .burger-line {
    background: black;
}

.bg {
    background: url("../images/bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10rem;
    width: 100%;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap:wrap;
}

.card {
    width: 48%;
}

.card img {
    width: 100%;
}

.text {
    display: flex;
    flex-direction: column;
}

.text h1,
.text p {

    text-align: center;
}

.text h1 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.text p {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.text a {
  margin-bottom: 20px;
    font-size: 1.2rem;
    text-decoration: none;

    text-align: center;
    color: black;
}

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger-line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.stores {
    flex-direction: column;
}

.stores .text {
    text-align: center;
}

.stores .text span {

    font-size: 1.5rem;
    padding-bottom: 20px;
}

.stores .text a {
    text-decoration: none;

    color: black;
}

.container.about{
    flex-direction: column;
    width: 90%;
    margin: 0 auto;
}

.container.about p {

}

.map {
    width: 90%;
    margin: 0 auto;
}

.map iframe {

}

@media (max-width: 975px) {
    nav ul {
        flex-direction: column;
    }

    .logo {
        font-size: 4.5rem;
    }

    .burger-menu {
        display: flex;
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 3;
    }

    .nav-links {
        position: fixed;
        /*top: 60px;*/
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transition: left 0.3s ease;
        z-index: 2;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    /* Анимация бургер-иконки */
    .burger-menu.active .burger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger-menu.active .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active .burger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .container {
        flex-wrap: wrap;
    }

    .card {
        width: 90%;
        margin: 0 auto;
    }

}