@font-face {
	font-family: 'Simple-Line-Icons';
	src: url('/fonts/font-icons_295e_108.woff') format('woff');
	font-style: normal;
    font-display: swap;
}

@font-face {
	font-family: 'Open sans';
	src: url('/fonts/open-sans-v17-latin_b116_144.woff2') format('woff2');
	font-style: bold;
    font-display: swap;
}

@font-face {
	font-family: 'Open sans';
	src: url('/fonts/open-sans-v17-latin_9eb1_136.woff2') format('woff2');
	font-style: normal;
    font-display: swap;
}

@font-face {
	font-family: 'Pro';
	src: url('fonts/pfdintextcondpro-bol_da6b_102.woff') format('woff');
	font-style: bold;
    font-display: swap;
}



*, *::after, *::before {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, p {
    margin: 0;
}

p {
    font-family: 'Open sans';
}

a, button {
    cursor: pointer;
    display: block;
    transition: all .25s;
}

/* ============================================================ */

body {
    display: block;
    width: 100vw;
    max-height: 100vh;
    margin: 0;
    font-family: 'Pro', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
}

.burger-btn {
    display: none;
}

.container {
    max-width: 1200px;
    margin-inline: auto;
    padding: 0 30px;
}

.logo {
    width: 100px;
    height: 100px;
}

.header {
    max-height: 100px;
    animation: load 1s 1;
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.welcome {
    text-align: center;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-self: flex-end;
}

.nav-list__item a {
    font-size: 0px;
    display: block;
    width: 59px;
    height: 39px;
    position: relative;
}


.nav-home::before, .nav-FAQ::before, .nav-feedback::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 20px;
    height: 20px;
    color: #888;
    font-family: 'Simple-Line-Icons';
    font-size: 20px;
    transition: all .25s;
}

.nav-list__item:has(.nav-FAQ):hover .nav-FAQ::before, .nav-list__item:has(.nav-feedback):hover .nav-feedback::before{
    color: #0066b3;
}

.nav-home::before {
    content: '\e6d0';
    color: #0066b3;
}

.nav-FAQ::before {
    content: '\eca7';
}

.nav-feedback::before {
    content: '\e65f';
}

.main {
    background: url('/media/background.png') no-repeat;
    background-position: 0px -90px;
    min-height: 70vh;
    padding: 130px 0 0 0;
    color: #fff;
    animation: load 1s 1;
}

@keyframes load {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.main h1 {
    margin-bottom: 20px;
    font-size: 28px;
    text-transform: uppercase;
    font-weight: 400;
}

.form__checker {
    max-width: 1140px;
}
.form__checker .form-group {
    display: flex;
    width: 100%;
    max-width: 1140px;
    flex-wrap: wrap;
}

.input {
    display: inline-block;
    width: 100%;
    max-width: 665px;
    height: 50px;
    line-height: 24px;
    padding: 6px 21px 6px 21px;
    margin: 0;
    border: 0 none;
    background-color: #fff;
    outline: 0;
    flex-grow: 8;
    color: rgb(73, 80, 87);
    font-size: 16px;
    border-right: 1px solid #ced4da;
}

.input::placeholder {
    font-size: 16px;
}

.btn {
    display: inline-block;
    width: 16.6666666667%;
    background-color: #EB9C4D;
    font-size: 18px;
    border: none;
    border-radius: 0px 3px 3px 0;
    border-left: 0;
    min-height: 38px;
    padding: 10px 12px;
    color: #fff;
    transition: all .25s;
}

.btn:hover {
    background-color: #444;
}

.form__checker .btn::after {
    content: '\e618';
    display: inline-block;
    margin-left: 10px;
    width: 18px;
    aspect-ratio: 1;
    font-family: 'Simple-Line-Icons';
}

.modal {
    display: inline-block;
    width: 404px;
    max-width: 404px;
    max-height: 400px;
    height: auto;
    padding: 0;
    border: none;
    background-color: transparent;
    overflow: hidden;
    animation: slide-down 1s ;
}

.modal-body p {
    font-family: 'Pro';
    font-size: 12px;
}

.modal-body span {
    font-size: 16px;
}

.modal-animate {
    animation: slide-down 1s ;
}

.modal-animateReverse {
    animation: slide-downReverse 1s ;
}

.modal:focus-visible {
    outline: none;
}

/* @keyframes slide-down {
    0% {
        margin-top: -200px;
        opacity: 0;
    }
    
    100% {
        margin-top: 300px;
        opacity: 1;
    }
} */

@keyframes slide-down {
    0% {
        translate: 0 -100%;
        opacity: 0;
    }
    
    100% {
        translate: 0 0;
        opacity: 1;
    }
}

@keyframes slide-downReverse {
    0% {
        translate: 0 0;
        opacity: 1;
    }
    
    100% {
        translate: 0 -100%;
        opacity: 0;
    }
}

.alert {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    width: 80%;
    width: 400px;
    height: 400px;
    border: 2px solid #EB9C4D;
    background-color: white;
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #485068;
    padding: 20px 0;
}

.modal-title {
    text-transform: uppercase;
    font-size: 28px;
    margin-bottom: 15px;
}

.modal-body {
    text-transform: uppercase;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
    text-align: center;
    margin-bottom: 14px;
}

.alert svg {
    margin-bottom: 14px;
}

.alert .btn {
    width: 83.5px;
    height: 38px;
    background-color: #EB9C4D;
    display: inline-block;
    text-align: center;
    border: 0;
    border-radius: 3px;
    padding: 10px 32px;
    color: #fff;
    cursor: pointer;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 18px;
    outline: none;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.footer {
    max-height: 180px;
    background: #dcdcdd url('/media/footer-bg.png') no-repeat right bottom;
    background-size: 50%;
}

.footer__row {
    padding: 20px;
    background-color: #e5e5e5;
    width: 100%;
}

.footer__row p{
    color: #405965;
}

.footer__row p::before{
    content: '|';
    margin-right: 10px;
    display: inline-block;
    width: 7.72px;
    height: 19px;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
}

/* ==================FEEDBACK================ */


.textarea__border {
    border: 1px solid #ced4da;
    width: 100%;
    max-width: 1140px;
    height: 114px;
    max-height: 114px;
    padding: 6px 9px 6px 9px;
    margin: 0;

    position: relative;
    left: 50%;
    top: 50%;
    translate: -50%;
    margin-top: 30px;
}

textarea {
    border: 1px solid rgb(134, 140, 147);
    
    width: 100%;
    max-width: 1140px;
    height: 100%;
    max-height: 116px;
    padding: 6px 9px 6px 9px;
    margin: 0;

    position: absolute;
    left: 0;
    top: 0;
    outline: 0;
    resize: none;
}

.feedback {
    margin: 0 auto;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.main__feedback {
    margin: 0 auto;
    padding: 30px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    min-height: 181px;
    background: url('/media/background.png') no-repeat;
    background-position: 0px -110px;
}

.mt-5__feedback {
    position: relative;
}

.mt-5 p {
    display: block;
    font-family: 'Open sans', sans-serif;
    font-size: 20px;
    font-weight: bold;
    max-width: 772px;
    padding-left: 12px;
}

.mt-5 .main-title {
    font-family: 'Pro', sans-serif;
    font-size: 34px;
    padding: 16px 12px 0;
}

.feedback-img {
    position: absolute;
    right: 0;
    top: 50%;
    translate: 0 -50%;
    width: 60px;
    height: 60px;
}

.feedback-img::before {
    content: '\e65f';
    display: block;
    font-size: 60px;
    font-family: 'Simple-Line-Icons', sans-serif;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    color: #eee;
}

.feedback__btn {
    display: block;
    margin-inline: auto;
    margin-bottom: 20px;
    margin-top: 50px;
    width: 100px;
    height: 40px;
    border-radius: 3px;
    font-family: 'Open sans', sans-serif;
    font-size: 14px;
}

.footer__feedback {
    margin-top: 60px;
}

.feedback_title {
    font-size: 22px;
    margin-bottom: 13px;
    color: #485068;
    font-weight: normal;
    font-family: 'Pro', sans-serif;
    padding: 0;
    line-height: 1.2em;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-top: 30px;
}

/* ========================REGISTRATION======================= */

.reg--title {
    text-align: center;
    font-size: 28px;
}

.form-group--reg {
    flex-direction: column;
    gap: 5px;
    align-items: center;
}

.input--reg {
    height: 38px;
    border-radius: 3px;
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border-radius: 3px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-inline: auto;
    max-width: 500px;
    border: none;
    font-family: 'Open sans', sans-serif;
}

.btn--reg {
    margin-inline: auto;
    height: 50px;
    font-size: 14px;
    font-family: 'Open sans', sans-serif;
    margin-top: 10px;
}

.form-group--reg .btn::after {
    display: none;
}

/* ========================MEDIA======================= */

@media (max-width: 900px) {
    .form-group .btn {
        width: 100%;
        max-width: 665px;
    }

    .header {
        max-height: 257px;
    }
    
    .navigation{
        display: block;
        max-height: 257px;
    }
    .nav-list {
        display: none;
        width: 100%;
        margin: -1px 0 0 0;
    }

    .nav-list__item {
        position: relative;
    }

    .nav-list__item::before {
        content: '';
        display: block;
        height: 1px;
        width: 105%;
        position: absolute;
        top: 0;
        left: -40px;
        background-color: #000;
    }

    .nav-list__item a {
        display: flex;
        align-items: center;
        width: 100%;
        text-decoration: none;
        height: 34px;
        font-size: 13px;
        position: relative;
        text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    }

    .nav-list__item a:visited:hover{
        color: #0066b3;
    }

    .nav-list__item a::after {
        content: '\e7a5';
        display: flex;
        align-items: center;
        width: 5px;
        text-decoration: none;
        height: 100%;
        font-size: 13px;
        font-family: 'Simple-Line-Icons';
        position: absolute;
        right: 0;
        top: 50%;
        translate: 0 -50%;
    }

    .nav-list__item a:visited {
        color: #888;
    }

    .nav-home::before {
        color: #0066b3 !important;
    }

    .nav-home::before, .nav-FAQ::before, .nav-feedback::before {
    display: block;
    position: absolute;
    top: 50%;
    left: -15px;
    translate: -100% -50%;
    width: 20px;
    height: 20px;
    color: #888;
    font-family: 'Simple-Line-Icons';
    font-size: 20px;
    transition: all .25s;
}

.burger-btn {
    display: block;
    position: absolute;
    top: 50px;
    right: 30px;
    background-color: transparent;
    border: none;
    width: auto;
    cursor: pointer;
}

.burger-btn::before {
    content: '\e76d';
        display: flex;
        align-items: center;
        width: 19px;
        text-decoration: none;
        height: 22px;
        font-size: 22px;
        font-family: 'Simple-Line-Icons';
        position: absolute;
        right: 0;
        top: 50%;
        translate: 0 -50%;
        color: #0066b3;
}
}
