@font-face {
    font-family: GoodTimes;
    src: url("../assets/good_times_rg.otf"); /* IE9 Compat Modes */
    src: url("../assets/good_times_rg.otf?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("../assets/good_times_rg.otf") format("otf") /* Modern Browsers */
}

:root {
    --main-color: #003155;
    --light-main-color: #7295af;
    --dark-main-color: #00233d;
    --secondary-color: #fb8835;
    --light-secondary-color: #fca957;
    --dark-secondary-color: #dc6b27;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Dubai","Calibri",sans-serif;
    font-size: 15px;
    color: var(--main-color);
    padding-top: 4.5em;
    padding-bottom: 0;
    margin: 0;
}

:target {
    scroll-margin-top: 4.5em;
}

h1 {
    font-size: 38px;
    line-height: 1.4em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

h2 {
    font-weight: 500;
    font-size: 2rem;
}

h3 {
    font-size: 1rem;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

h1, h2, h3, h4 {
    color: var(--main-color);
}

h4 {
    font-size: 22px;
}

.secondary-color {
    color: var(--secondary-color);
}

.secondary-color.clickable:hover, .secondary-color.clickable:focus {
    color: var(--light-secondary-color);
}

.special-font, h2 {
    font-family: GoodTimes, sans-serif;
}

.visually-hidden {
    visibility: hidden;
    display: none;
}

.clickable {
    transition: all 0.5s;
}

.justify-text {
    text-align: justify;
}

/*********************************************    HEADER    ***********************************************************/
header {
    width: 100%;
    height: fit-content;
}

header nav.navbar {
    font-weight: 600;
    width: 100%;
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    height: 4.5em;
    background: white;
    box-shadow: 0 0 7px rgba(0,0,0,.1);
    padding: 0;
    z-index: 10;
}

header nav.navbar div {
    text-align: center;
    display: inline-block;
    margin: 0 1em;
    height: 100%;
    width: auto;
}

header nav.navbar div.left {
    float: left;
}

header nav.navbar div.right {
    float: right;
    height: calc(100% - 3.5em);
    padding: 1.75em 0;
}

header nav.navbar a {
    text-decoration: none;
    margin: 0 0.5em;
    height: fit-content;
    color: rgba(33,33,33,0.82);
    max-width: 9em;
}

header nav.navbar a:hover,
header nav.navbar a:focus {
    text-decoration: underline;
    opacity: 0.7;
    transition: all .4s ease-in-out;
}

header nav.navbar a.image {
    display: block;
    height: calc(100% - 1em);
    padding: 0.5em 0;
}

header nav.navbar a.image img {
    height: 100%;
}

header nav.navbar img.menu-icon, header nav.navbar img.logo-long {
    display: none;
}

/*********************************************    FOOTER    ***********************************************************/
footer {
    margin-top: 5rem;
    width: 100%;
    background-color: var(--dark-main-color);
    color: white;
}

section.contacts .bullet-point figure {
    flex: 0 0 2rem;
}

section.contacts a {
    text-decoration: none;
    color: white;
}

section.contacts div.contact-part {
    margin-top: 2rem;
}

section.main-logo {
    display: grid;
    place-content: center;
}

section.main-logo figure {
    max-width: 14rem;
}

footer div.rights {
    width: calc(100% - 10rem);
    padding: 0.1rem 5rem;
    background-color: #00000052;
    text-align: center;
}

figure img {
    width: 100%;
}

.bullet-points {
    display: grid;
    justify-items: start;
    align-content: center;
    align-items: start;
    justify-content: start;
    gap: 1em;
}

div.two-columns-grid {
}

.bullet-point {
    display: flex;
    align-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 1em;
}

.bullet-point figure {
    flex: 0 0 6rem;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

.bullet-point-text {
    flex: 1;
}

section.three-columns-flex {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
}

section.three-columns-flex section {
    margin: 2rem 5rem;
    text-align: center;
}

.text-align-right {
    text-align: right;
}

.follow-us figure {
    width: 2rem;
    display: inline-block;
    vertical-align: top;
}

p {
    line-height: 1.1em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

/*********************************************    INDEX    ************************************************************/
/*-------------------------------------------------- TOP -------------------------------------------------------------*/
section.index.title {
    width: 100%;
    min-height: 500px;
    height: calc(100vh - 4.5em);
    background-image: url(/assets/index/home_slider_small.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-shadow: rgba(0,0,0,.1) 0 5px 10px 0;
}

section.index.title div.text-background {
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
}

section.index.title div.gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(2deg, rgba(255,255,255,1) 20%, rgba(150,150,150,0) 21%);
}

section.index.title div.header-text {
    font-size: 38px;
    font-weight: bold;
    width: 7em;
    padding-top: 15vh;
    margin: auto;
}

section.index.title a {
    text-decoration: none;
    height: 1.5em;
    width: calc(100% - 4em);
    display: block;
    margin: 1em 2em;
    transition: padding 0.5s;
}

section.index.title a:hover, section.index.title a:focus {
    padding-top: 0.5em;
}

span.arrow {
    width: 100%;
    display: inline-block;
}

span.arrow img {
    width: 100%;
}

section.index-section {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    justify-items: start;
    flex-direction: column;
    flex-wrap: nowrap;
    max-width: 1450px;
    margin: 2rem auto;
}

section.index-section .half {
    flex-grow: 1;
}

section.index-section .text {
    margin: 0 2rem;
}