@font-face {
    font-family: "montserrat_arabic";
    src: url(fonts/Light_300.woff2);
    src: url(fonts/Light_300.woff);
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "montserrat_arabic";
    src: url(fonts/Regular_400.woff2);
    src: url(fonts/Regular_400.woff);
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "montserrat_arabic";
    src: url(fonts/Medium_500.woff2);
    src: url(fonts/Medium_500.woff);
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "montserrat_arabic";
    src: url(fonts/Bold_700.woff2);
    src: url(fonts/Bold_700.woff);
    font-weight: 700;
    font-display: swap;
}

*,
*::after,
*::before {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: currentColor;
}

ul {
    list-style: none;
}

::selection {
    color: var(--brown-text-color);
    background-color: var(--orange-main-color);
}

:root {
    --section-top-bottom-padding: 60px;
    --section-min-height: 768px;
    --brown-main-color: #2C1818;
    --orange-main-color: #FAA41A;
    --line-hight-increase: 1.8;
    --line-higth-normal: 1.6;
    --brown-text-color: #2C1818;
    --orange-text-color: #FAA41A;
    --secondary-brown-text-color: hsl(0, 29%, 13%, 80%);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'montserrat_arabic';
    background-color: #f8f8f8;
    background-image: url(../images/pattern.webp);
    background-size: cover;
    background-size: 100%;
    font-weight: 300;
    position: relative;
    overflow-x: hidden;
}

.container {
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}

@media (min-width: 576px) {
    .container {
        width: 540px;
    }
}

/*small screens*/
@media (min-width: 768px) {
    .container {
        width: 720px;
    }
}

/*medium screens*/
@media (min-width: 992px) {
    .container {
        width: 960px;
    }
}

/*big screens*/
@media (min-width: 1200px) {
    .container {
        width: 1140px;
    }
}

@media (max-width: 767px) {
    html {
        font-size: 16px;
    }
}

/*components*/
.sections-title {
    display: block;
    color: var(--orange-main-color);
    padding: 10px;
    text-transform: uppercase;
    margin-bottom: 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    line-height: var(--line-higth-normal);
}

.sections-title--small-margin.sections-title {
    margin-bottom: 2rem;
}

.sections-title .section-title__title {
    font-weight: 700;
    position: relative;
    font-size: 2.188rem;
    width: fit-content;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .sections-title .section-title__title {
        font-size: 1.875rem;
    }
}

.sections-title--left-align.sections-title {
    padding: 0;
}

.sections-title--left-align .section-title__title {
    margin: 0;
}

.section-title__title::before {
    content: "";
    position: absolute;
    width: calc(100% - 20%);
    height: 1px;
    background-color: #FFD883;
    left: 10%;
    bottom: -.6rem;
}

.section-title__title::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--brown-main-color);
    border: 1px solid #FFD883;
    left: 50%;
    transform: translate(-50%, 50%) rotate(45deg);
    bottom: calc(-.6rem + .5px);
}

.sections-title--left-align .section-title__title::before {
    left: 0;
    width: 100%;
}

.sections-title--left-align .section-title__title::after {
    left: calc(100%);
}

.sections-title--light .section-title__title::after {
    background-color: #f8f8f8;
    border-color: var(--orange-main-color);
}

.sections-title--light .section-title__title::before {
    background-color: var(--orange-main-color);
}

.sections-title__desc {
    font-weight: 300;
    color: #FFD883;
}

@media (min-width: 768px) {
    .section-header {
        font-size: 2.25rem;
    }
}

@media (min-width: 992px) {
    .section-header {
        font-size: 2.375rem;
    }
}

.main-button {
    display: inline-block;
    width: fit-content;
    background-color: var(--orange-main-color);
    color: white;
    width: 7.5rem;
    margin: 50px auto 0px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    transition: .3s;
    position: relative;
    overflow: hidden;
    padding: 15px 18.1px;
}

.main-button__word {
    z-index: 1;
}

.main-button:hover {
    width: 8.75rem;
    background-color: rgb(205, 140, 50);
}

.main-button__pop-out-icon {
    position: absolute;
    top: 50%;
    transform: translatey(-50%);
    right: -50%;
    transition: .3s;
}

.main-button:hover .main-button__pop-out-icon {
    top: 50%;
    right: 5px;
    transform: translate(-50%, -50%);
}

.main-button:hover .main-button__pop-out-icon-path2 {
    animation: pop-out-icon-arrow-moving .8s ease-in-out 0.1s infinite normal backwards;
}