@font-face {
    font-family: Gotham;
    font-display: swap;
    src: url("../fonts/Gotham-Black.woff2") format("woff2"), url("../fonts/Gotham-Black.woff") format("woff");
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: Gotham;
    font-display: swap;
    src: url("../fonts/Gotham-Medium.woff2") format("woff2"), url("../fonts/Gotham-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: Gotham;
    font-display: swap;
    src: url("../fonts/Gotham-Bold.woff2") format("woff2"), url("../fonts/Gotham-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: Gotham;
    font-display: swap;
    src: url("../fonts/Gotham-BoldItalic.woff2") format("woff2"), url("../fonts/Gotham-BoldItalic.woff") format("woff");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: Gotham;
    font-display: swap;
    src: url("../fonts/Gotham-Book.woff2") format("woff2"), url("../fonts/Gotham-Book.woff") format("woff");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: Avenir;
    font-display: swap;
    src: url("../fonts/Avenir-Black.woff2") format("woff2"), url("../fonts/Avenir-Black.woff") format("woff");
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: Avenir;
    font-display: swap;
    src: url("../fonts/Avenir-Heavy.woff2") format("woff2"), url("../fonts/Avenir-Heavy.woff") format("woff");
    font-weight: 700;
    font-style: normal;
}
* {
    padding: 0;
    margin: 0;
    border: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

:focus,
:active {
    outline: none;
}

a {
    transition: 0.3s;
}

a:focus,
a:active {
    outline: none;
}

nav,
header,
footer {
    display: block;
}

html,
body {
    width: 100%;
    font-size: 100%;
    line-height: 1;
    font-size: 16px;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    color: #4C4C4C;
    font-family: "Gotham", "Avenir", sans-serif;
    scroll-behavior: smooth;
    background-color: #fff;
    overflow-x: hidden;
    scroll-padding-top: 100px;
}

html.active {
    overflow: hidden;
}

input,
button,
textarea {
    font-family: inherit;
}

input::-ms-clear {
    display: none;
}

button {
    cursor: pointer;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

a,
a:visited {
    text-decoration: none;
}

ul,
li {
    list-style: none;
}

img {
    vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: 400px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

.container {
    max-width: 1320px;
    margin: auto;
    padding: 0 20px;
    width: 100%;
}

.title {
    color: #282627;
    font-family: Gotham;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 45px; /* 112.5% */
}

.indent {
    margin-top: 100px;
}

.btn-hov {
    border-radius: 42px;
    background: #282627;
    color: #FFF;
    font-family: Gotham;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px; /* 112.5% */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    transition: 0.3s;
    border: 1px solid #282627;
    width: 100%;
}

.btn-hov:hover {
    color: #282627;
    background: #fff;
}

.bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

@media (max-width: 992px) {
    .container {
        max-width: 750px;
    }
    .title {
        font-size: 28px;
    }
    .indent {
        margin-top: 50px;
    }
    .btn-hov {
        font-size: 16px;
    }
}
@media (max-width: 767px) {
    .container {
        max-width: none;
    }
    .title {
        font-size: 24px;
    }
}

/*
alert
 */
/* Фон модального окна */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Затемненный фон */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden; /* Скрываем элемент, когда он невиден */
    transition: opacity 0.3s ease, visibility 0.3s ease; /* Переход для плавного исчезновения */
}

/* Показ модального окна */
.modal-overlay.show {
    opacity: 1;
    visibility: visible; /* Показываем элемент */
}

/* Контейнер модального окна */
.custom-modal {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    width: 350px;
    max-width: 90%;
    transform: scale(0.7);
    transition: transform 0.3s ease; /* Переход для плавного увеличения */
}

/* Анимация для показа модального окна */
.modal-overlay.show .custom-modal {
    transform: scale(1);
}

.modal-header {
    background-color: #4CAF50;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.modal-title {
    font-size: 18px;
    font-weight: bold;
}

.modal-content {
    padding: 20px;
    font-size: 16px;
    color: #333;
}

.close-btn {
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    color: white;
}

.close-btn:hover {
    color: #ffdddd;
}

