html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-size: 18px;
    font-family: 'Jost', sans-serif;
    background-image: url(../img/backgroud.webp);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    position: relative;
    min-width: 280px;
}

body > .image {
    position: absolute;
    right: 0px;
    top: 170px;
    width: 50%;
    z-index: -1;
}
.image :nth-child(1) {
    width: 100%;
    z-index: 1;
    position: absolute;
    opacity: 0;
    animation-duration: 1.2s;
    animation-delay: 1s;
    animation-name: truck_lights_animation;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}
.image :nth-child(2) {
    width: 100%;
}
@keyframes truck_lights_animation {
    0% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    70% {
        opacity: 0;
    }
}

header > div,
footer > div {
    width: 85%;
    margin: auto;
}
main {
    width: 85%;
    margin: auto;
    max-width: 1200px;
}

header,
.general,
.chooseurdestiny,
.faq,
.reviews {
    margin-bottom: 85px;
}

header,
footer {
    width: 100%;
    height: 75px;
    background: #FFFFFF;
    box-shadow: 7px 7px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    text-transform: uppercase;
}
footer {
    background: #00353A;
    box-shadow: none;

}

header > div,
footer > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-text a,
.header-text button,
.footer-text a,
.footer-text button,
.socials {
    margin-left: 70px;
}
.socials img {
    vertical-align: middle;
}

/* header/footer link hover animation */
.header-text a,
.footer-text a {
    font-weight: 600;
    text-decoration: none;
    color: #000;
    position: relative;
    vertical-align: middle;
}
.footer-text a {
    color: #ffffff;
}
.header-text a:hover {
    color: #000;
}
.footer-text a:hover {
    color: #ffffff;
}
.header-text a::before,
.footer-text a::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #000;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.footer-text a::before {
    background-color: #FFFFFF;
}
.header-text a:hover::before,
.footer-text a:hover::before {
    transform: scaleX(1);
}

.header-text :nth-child(4),
.footer-text :nth-child(4) {
    font-weight: 800;
}

/* style for all buttons */
button {
    background: linear-gradient(91.17deg, #FFD600 0%, #FF9900 100%);
    border-radius: 15px;
    border: none;
    cursor: pointer;
    font-weight: 800;
    font-family: 'Jost', sans-serif;
    text-transform: uppercase;
}
button:hover {
    background: #FF9900;
}
.header-text button,
.footer-text button {
    font-size: 21px;
    padding: 5px 20px;
}
.general button {
    font-size: 30px;
    padding: 10px 85px;
    margin-top: 30px;
}
.vehicle-to-evacuate button {
    font-size: 20px;
    margin: 10px auto 30px;
    padding: 10px 0px;
    width: 100%;
}
.form-text button {
    font-size: 30px;
    padding: 10px 85px;
    width: 100%;
}

.socials img {
    width: 35px;
}

h1 {
    font-size: 56px;
    font-weight: 900;
    text-transform: uppercase;
}
h2 {
    font-size: 50px;
    font-weight: 700;
    text-align: center;
    line-height: 55px;
}

.general div {
    display: flex;
}

.general img {
    margin-right: 20px;
}

.evacuation-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.vehicle-to-evacuate {
    width: 23%;
    margin: auto;
}

.vehicle-to-evacuate > div {
    border-radius: 15px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vehicle-to-evacuate p {
    font-family: 'Exo 2';
    font-weight: 900;
    margin: 0px 0px 25px;
    text-transform: uppercase;
}
.vehicle-to-evacuate p:first-of-type {
    font-weight: 700;
    margin: 30px 0px 10px;
}

.vehicle-to-evacuate img {
    width: 95%;
    margin-top: 40px;
}

/* собственно "аккордеон" */
.faq > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
}
.accordion {
    background-color: #00353A;
    color: #FFFFFF;
    cursor: pointer;
    text-align: left;
    transition: 0.4s;
    font-weight: 600;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    width: 100%;
    min-height: 72px;
}
.active, .accordion:hover {
    background-color: #00171a;
}
.panel {
    margin-bottom: 15px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    border-radius: 15px;
    width: 100%;
}
.accordion p {
    font-size: 18px;
    margin: 0px 15px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}
.panel p {
    font-size: 21px;
    font-weight: 400;
    padding: 0 18px;
}

.reviews {
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-text {
    width: 585px;
}
.form-text h2 {
    text-align: left;
    margin-top: 0px;
}
.form-text p {
    font-weight: 600;
    text-transform: uppercase;
}
.form-text input {
    width: 100%;
    height: 70px;
    margin-bottom: 20px;
    font-size: 30px;
    font-family: 'Jost';
    text-align: center;
    border-radius: 15px;
    border: none;
}

/* КАСТОМ СЛАЙДШОУ БЭЙБИ!!!!!!!! */
.slideshow-container {
    position: relative;
    margin: 0px 80px 0px 0px;
}
.mySlides {
    display: none;
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -20px;
    padding: 16px;
}
.prev {
    left: -75px;
}
.next {
    right: -75px;
}

.reviews-pad-mobile,
.mobile-footer {
    display: none;
}

.logo {
    width: 15%;
}
.dev_promo {
    background: #00353A;
    color: #ffffff;
    font-size: 18px;
    text-align: center;
    padding-bottom: 10px;
}
.dev_promo a {
    color: #ffd300 !important;
    text-decoration: underline;
}
