/* TYPOGRAPHY */
@font-face {
    font-family: 'rubik';
    src:  url(../fonts/rubik/Rubik-Regular.ttf)
}

@font-face {
    font-family: 'rubik-bold';
    src:  url(../fonts/rubik/Rubik-Bold.ttf)
}

@font-face {
    font-family: 'chango';
    src:  url(../fonts/chango/Chango-Regular.ttf)
}

/* BASE */

* {
    box-sizing: border-box;
}

html, body {
    min-height: 100vh;
}

html {
    font-family: rubik;
    direction: rtl;
    font-size: 16px;
}

body {
    margin: 0;
    background: url(../images/bg.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    font-family: rubik;
    font-size: 1rem;
}

h1, h2, h3, h4 ,h5, h6 {
    font-family: rubik-bold;
    margin: 0;
}

h1 {
    margin-bottom: 15px;
    background-color: #0000006f;
}

h1, h3 {
    text-align: center;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

a.active {
    text-decoration: underline;
    font-weight: bold;
}

a:hover {
    font-weight: bold;
    color: inherit;
}

.slick-prev:before, .slick-next:before {
    color: white !important;
}

/* HELPERS */
.flex {
    display: flex;
}

.direction-column {
    flex-direction: column;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.grid {
    display: grid;
}

.error {
    color: red;
}

.clear-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.color-red {
    color: red;
}

/* FROMS */
form {
    background-color: #0000006f;
    padding: 15px;
}

input[type=text], input[type=date] {
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid white;
    color: inherit;
}

::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

/* HEADER */

header {
    gap: 25px;
}

.main-nav-container, .main-nav {
    gap: 15px;
}

.logo {
    font-family: chango;
    font-size: 2.5rem;
}

/* AVERAGE */
.average {
    text-align: center;
    padding: 0 15px;
}

/* SLIDERS */

.items {
    width: 50%;
    margin: 0px auto;
    direction: ltr;
}

.slick-slide {
    margin: 10px;
}

.slick-list {
    border-radius: 25px;
    overflow: hidden;
}

.slick-slide img {
    width: 100%;
    border: 0px solid #fff;
    object-fit: none;
    object-position: top;
}

.slick-next:before, .slick-prev:before {
    color: black;
    position: relative;
}

.slick-prev:before {
    right: 10px;
}

.slick-next:before {
    left: 10px;
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .items {
        width: 80%;
    }
}

/* large devices (1200px and up) */
@media only screen and (min-width: 1200px) {
    .main-layout {
        max-width: 890px;
        margin: 0 auto;
        padding: 0;
    }
}