/* Базовые стили для сброса */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
	font-family: 'MontserratBold', sans-serif;
}


blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

@font-face {
    font-family: "MontserratBold";
    src: url(../fonts/Montserrat-SemiBold.ttf);
}

body {
    padding: 0 1%;
    max-width: 75%;
    margin: 0px auto 40px auto;
}

header {
    margin: 30px auto 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 30px;
}

b {
    font-family: "MontserratBold", sans-serif;
}

.logo {
	width: 100%;
    margin-top: 10px;
    max-width: 442px;
}

.container-logo {
	padding: 40px 0px;
}

.btn {
    font-family: "MontserratBold", sans-serif;
    font-weight: 400;
    font-size: 19px;
    text-align: center;
    background-color: #272727;
    padding: 23px 43px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    /* Убираем неоновый эффект */
    box-shadow: none;
    transition: box-shadow 0.5s ease;
}

.btn-manual {
    margin-top: 10px;
    font-family: "MontserratBold", sans-serif;
    font-size: 16px;
    color: #000000;
    text-decoration: none;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    /* Убираем неоновый эффект */
    box-shadow: none;
    transition: box-shadow 0.5s ease;
}

/* Удаляем анимацию и добавляем простую тень при наведении */
.btn:hover, .btn-manual:hover, .copy-btn-custom:hover, .btn.footer-btn-custom:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Простая тень */
    animation: none; /* Отключаем анимацию полностью */
}

.copy-btn-custom {
    background: black;
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 10px;
    font-family: "MontserratBold", sans-serif;
    position: relative;
    overflow: hidden;
    box-shadow: none; /* Убираем неоновый эффект */
    transition: box-shadow 0.5s ease;
}

.copy-btn-custom:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Простая тень при наведении */
    animation: none; /* Отключаем анимацию */
}

.btn.footer-btn-custom {
    background: black;
    color: white;
    text-decoration: none;
    padding: 7px 15px;
    border-radius: 10px;
    font-family: "MontserratBold", sans-serif;
    position: relative;
    overflow: hidden;
    box-shadow: none; /* Убираем неоновый эффект */
    transition: box-shadow 0.5s ease;
}

.btn.footer-btn-custom:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Простая тень при наведении */
    animation: none; /* Отключаем анимацию */
}



main {
    margin: 0 auto;
    max-width: 1860px;
}

.about {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.about-container:nth-child(2) {
    margin:30px 1.6%;
}

.about-container {
    width: 32.25%;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    margin: 30px 0 30px 0;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 30px;
    padding: 50px 0px;
}

.about-container h2{
    margin-top: 30px;
    font-family: "MontserratBold", sans-serif;
    font-weight: 700;
    font-size: 24px;
}

.about-container p{
    margin-top: 10px;
    font-family: "MontserratBold", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 30.6px;
    text-align: center;
    text-transform: uppercase;
	padding: 0 20px;
}

.about-container img {
    height: 167px;
    width: 167px;
}

.img-wrap {
    border-radius: 50%;
    background-color: #F3F3F3;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.man-wrap {
    display: flex;
}

.manual {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 30px;
}

.manual h2 {
    font-family: "MontserratBold", sans-serif;
    font-weight: 700;
    font-size: 28px;
    margin: 80px 0 50px;
}

.manual h3 {
    font-family: "MontserratBold", sans-serif;
    font-weight: 700;
    font-size: 24px;
    margin: 50px 0 60px;
}

.manual h4 {
    font-family: "MontserratBold", sans-serif;
    font-weight: 700;
    font-size: 24px;
    margin: 50px 0 60px;
}

.faqh {
    font-family: "MontserratBold", sans-serif;
    font-weight: 700;
    font-size: 24px;
    margin: 60px;
}

.manual p {
    font-family: "MontserratBold", sans-serif;
    font-weight: 400;
    font-size: 16px;
    margin: 0 30px 60px;
    line-height: 30.6px;
    text-transform: uppercase;
}

.man-wrap{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 95%;
    margin-bottom: 100px;
}

.man-container {
    display: flex;
    width: 48%;
    flex-direction: column;
    align-items: center;
    background: #F3F3F3;
    border-radius: 30px;
}

footer {
    margin: 0 auto;
    max-width: 1860px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 90px 0;
}

.footer-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
}

.footer-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq_position {
  display: grid;
  grid-template-columns: 2fr 2fr;
  gap: 30px;
}

.faq_about_container {
    padding: 20px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 30px;
}

.faq_about_container h3 {
  font-size: 18px;
  font-weight: 700;
}

.faq_text {
  font-size: 14px;
  font-weight: 400;
  padding-top: 5px;
  line-height: 150%;
}

h3 {
  padding-bottom: 12px;
  font-weight: normal;
}

h2 {
  text-align: center;
  font-size: 32px;
  margin: 40px;
}
  
li {
  margin-left: 40px;
  margin-bottom: 20px;
}

.text_one {
	margin-top: 40px;
	font-weight: bold;
	font-size: 22px;
}

#div5 {
  text-align: center;
  text-transform: uppercase;
}


@media (max-width: 1400px) {
    .logo {
        width: 472.5px;
        height: 334.5px;
    }
	.about-container {
		padding: 32px 0;
	}
}

@media (max-width: 1250px) {
    li {
        display: none;
    }
	body {
		max-width: 90%;
	}
    header {
    }

    .about-container img {
        height: 100px;
        width: 100px;
    }

    .about-container h2{
        margin-top: 15px;
        font-size: 20px;
    }

    .img-wrap {
        width: 150px;
        height: 150px;
    }

    .man-container {
        width: 50%;
    }

    .man-container {
        margin: 0 10px 0 20px;
    }
}

@media (max-width: 965px) {
	body {
		max-width: 95%;
	}
    .logo {
        width: 315px;
        height: 223px;
    }

    .man-wrap {
        flex-direction: column;
    }

    .about-container {
        padding: 25px 0;
    }

    .about-container h2{
        margin-top: 15px;
        font-size: 20px;
    }

    .about-container p{
        margin-top: 10px;
        font-size: 16px;
    }

    .man-container {
        width: 100%;
        margin: 25px 0 0 0;
    }

    footer {
        flex-direction: column;
    }

}

@media (max-width: 750px) {
    .about {
        flex-direction: column;
        align-items: center;
    }

    .about-container {
        width: 100%;
    }
    
    .faq_position {
      grid-template-columns: 1fr;
      gap: 20px;
    }
  }
}

@media (max-width: 500px) {

    .logo {
        width: 220.5px;
        height: 156.1px;
    }

    .btn {
        font-size: 20px;
        padding: 16.5px 41.5px;
    }
    
    .faq_position {
      grid-template-columns: 1fr;
      gap: 20px;
    }
  }
}
p.mirror-link {
	margin-top: 0;
	text-transform: capitalize;
}

.footer-btn {
	margin-top: 10px;
}

/* Стили для модального окна */
.overlay-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.overlay-custom:target {
    visibility: visible;
    opacity: 1;
}

.popup-custom {
    background: white;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    width: 90%;
    color: black;
    border-radius: 10px;
    position: relative;
    z-index: 1001;
}

.close-custom {
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 15px;
    background-color: rgba(61, 61, 61, 0.8);
    box-shadow: 0px 0px 10px #000;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    line-height: 20px;
    transition: all ease 0.8s;
}
.close-custom:before {
    color: rgba(255, 255, 255, 0.9);
    content: "X";
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
    font-size: 12px;
}
.close-custom:hover {
    background-color: rgba(252, 20, 0, 0.8);
    transform: rotate(360deg);    
}

.modal-title-custom {
    font-size: 24px;
    margin-bottom: 10px;
    font-family: "MontserratBold", sans-serif;
}

.alert-custom {
    color: red;
    font-weight: bold;
    font-family: "MontserratBold", sans-serif;
}

.important-link-custom {
    color: blue;
    text-decoration: underline;
    font-family: "MontserratBold", sans-serif;
}


.hidden-custom {
    display: none;
}

.button-container-custom {
    text-align: center;
    margin-top: 20px;
}


/* Опционально при добавлении вложений */
.popup-custom p, .popup-custom div, .popup-custom a {
    margin-bottom: 12px;
    text-align: center;
    font-family: "MontserratBold", sans-serif;
}