/**
* Template Name: Ittihad Waiting page
* Updated: Jul 18 2024 with Bootstrap v@5.0.2
* Author: Hilal Najem
*/

/* Fonts */
@font-face {
    font-family: "hauora"; /* Name your font family */
    src: url("../fonts/hauora-light.ttf"); /* Locate the .ttf file within your directory*/
}

:root {
    --default-font: "hauora", "Fonarto", "Open Sans", sans-serif;
    --heading-font: "hauora", "fonarto", "Open Sans";
    --nav-font: "hauora", "fonarto", "Open Sans";
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #643438; /* Background color for the entire website, including individual sections */
    --default-color: #c8b274; /* Default color used for the majority of the text content across the entire website */
    --heading-color: #713a42; /* Color for headings, subheadings and title throughout the website */
    --accent-color: #47b2e4; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #c8b274; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
    --img-hover: brightness(0) saturate(100%) invert(92%) sepia(14%)
        saturate(1252%) hue-rotate(341deg) brightness(83%) contrast(85%);
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
    --nav-color: #ffffff; /* The default color of the main navmenu links */
    --nav-hover-color: #47b2e4; /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #47b2e4; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
    display: flex;
    flex-direction: column;
}

body main {
    width: 100%;
    height: 100vh;
    background-image: url("../../assets/images/background.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    place-items: center;
}

body main .row {
    margin-bottom: 30px;
}

body main .row .logo {
    height: auto;
    max-width: 350px;
    min-width: 75px;
}

@media only screen and (max-width: 650px) {
    body main {
        background-image: url("../../assets/images/background-mobile.jpg");
    }

    body main .row .logo {
        height: auto;
        max-width: 300px;
    }
}

.links-div {
    margin-top: 20px;
    margin-left: 5%;
    width: 75%;
}

.links-div .icon-div {
    max-width: 500px;
}

@media only screen and (max-width: 1500px) {
    .links-div {
        margin-top: 20px;
        margin-left: 5%;
        width: 80%;
    }

    .links-div .icon-div {
        max-width: 350px;
        margin-right: 8% !important;
    }
}

@media only screen and (max-width: 1100px) {
    .links-div {
        width: 85%;
    }

    .links-div .icon-div {
        margin-right: 15% !important;
    }
}

@media only screen and (max-width: 900px) {
    .links-div {
        width: 90%;
    }

    .links-div .icon-div {
        max-width: 200px;
        margin-right: 20% !important;
    }
}

@media only screen and (max-width: 600px) {
    .links-div {
        width: 90%;
    }

    .links-div .icon-div {
        max-width: 275px;
        margin-right: 7.5% !important;
    }
}

a {
    background: var(--default-color);
    background-color: var(--default-color);
    border-radius: 30px;
    border: 1px solid var(--default-color);
    display: inline-block;
    cursor: pointer;
    color: var(--background-color);
    font-family: var(--default-font);
    font-size: 30px;
    padding: 30px 10px;
    min-width: 350px;
    height: 50px;
    text-decoration: none;
    text-shadow: 0px 1px 0px var(--background-color);
}

@media only screen and (max-width: 900px) {
    a {
        background: var(--default-color);
        background-color: var(--default-color);
        border-radius: 30px;
        border: 1px solid var(--default-color);
        display: inline-block;
        cursor: pointer;
        color: var(--background-color);
        font-family: var(--default-font);
        font-size: 18px;
        padding: 20px 5px;
        min-width: 275px;
        height: 50px;
        text-decoration: none;
        text-shadow: 0px 1px 0px var(--background-color);
    }
}

@media only screen and (max-width: 900px) {
    a {
        background: var(--default-color);
        background-color: var(--default-color);
        border-radius: 30px;
        border: 1px solid var(--default-color);
        display: inline-block;
        cursor: pointer;
        color: var(--background-color);
        font-family: var(--default-font);
        font-size: 18px;
        padding: 20px 5px;
        min-width: 250px;
        height: 50px;
        text-decoration: none;
        text-shadow: 0px 1px 0px var(--background-color);
    }
}

@media only screen and (max-width: 600px) {
    a {
        background: var(--default-color);
        background-color: var(--default-color);
        border-radius: 30px;
        border: 1px solid var(--default-color);
        display: inline-block;
        cursor: pointer;
        color: var(--background-color);
        font-family: var(--default-font);
        font-size: 18px;
        padding: 20px 5px;
        min-width: 250px;
        height: 50px;
        text-decoration: none;
        text-shadow: 0px 1px 0px var(--background-color);
    }
}

a .btn-text {
    text-decoration: none;
}

a:hover,
a .btn-text:hover {
    background-color: var(--heading-color);
    /* background: var(--default-color); */
    color: var(--default-color);
}

a:hover img {
    filter: var(--img-hover);
}

a .btn-section {
    align-items: center;
    display: flex;
    height: 100%;
}

a .icon-section {
    background-color: var(--contrast-color);
    border-radius: 50%;
    height: 42px;
    width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

a .btn-text {
    padding-left: 15px;
    padding-bottom: 2px;
}

a img {
    height: 32px;
    width: 32px;
}

@media only screen and (min-width: 0px) {
    .row .main-btn-container:last-child:nth-child(odd) {
        transform: translateX(0%);
    }
}

@media only screen and (min-width: 768px) {
    .row .main-btn-container:last-child:nth-child(odd) {
        transform: translateX(50%);
    }
}

@media only screen and (min-width: 992px) {
    .row .main-btn-container:last-child:nth-child(odd) {
        transform: translateX(100%);
    }
}
