/* Fonts */

@font-face {
    font-family: Shabnam;
    src: url("../fonts/Shabnam.eot");
    src: url("../fonts/Shabnam.eot?#iefix") format("embedded-opentype"),
        url("../fonts/Shabnam.woff") format("woff"),
        url("../fonts/Shabnam.ttf") format("truetype");
    font-weight: normal;
}

@font-face {
    font-family: Shabnam;
    src: url("../fonts/Shabnam-Bold.eot");
    src: url("../fonts/Shabnam-Bold.eot?#iefix") format("embedded-opentype"),
        url("../fonts/Shabnam-Bold.woff") format("woff"),
        url("../fonts/Shabnam-Bold.ttf") format("truetype");
    font-weight: bold;
}

@font-face {
    font-family: Shabnam;
    src: url("../fonts/Shabnam-Light.eot");
    src: url("../fonts/Shabnam-Light.eot?#iefix") format("embedded-opentype"),
        url("../fontsShabnam-Light.woff") format("woff"),
        url("../fonts/Shabnam-Light.ttf") format("truetype");
    font-weight: 300;
}

/* Root */
:root {
    font-size: 16px;
    --bg-dark: hsl(255, 45%, 18%);
    --bg: hsl(0, 0%, 100%);
    --bg-light: hsl(0, 0%, 100%);
    --text-dark: hsl(196, 93%, 12%);
    --text-light: hsl(0, 0%, 100%);
    --text-primary: hsl(214, 83%, 37%);
    --text-secondary: hsl(180, 1%, 75%);
    --text-link: hsl(250, 26%, 44%);
    --text-muted: hsl(0, 0%, 50%);
    --border-dark: hsl(196, 93%, 12%);
    --border-primary: hsl(250, 26%, 44%);
    --border-muted: hsl(0, 0%, 80%);
    --primary: hsl(358, 100%, 67%);
    --secondary: hsl(202, 46%, 72%);
    --danger: hsl(356, 83%, 41%);
    --warning: hsl(48, 96%, 45%);
    --success: hsl(110, 57%, 31%);
    --info: hsl(187, 97%, 29%);
    --gradient-1-color-1: hsl(225, 78%, 59%);
    --gradient-1-color-2: hsl(197, 85%, 51%);
    --big-title: 1.5rem;
    --title: 1.1rem;
}

/* Base style */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100dvh;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Shabnam !important;
}

a {
    color: inherit;
    text-decoration: none;
}

li {
    list-style: none;
}

/* --------------------------------------------- */

.container {
    width: 100%;
    margin: 0 auto;
}



.text-muted {
    color: var(--text-muted);
}


/* Nav top style */
.nav-top {
    width: 100%;
    height: auto;
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 1rem 0;
    z-index: 1;
}

.nav-main {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.nav-items {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.nav-link {
    cursor: pointer;
}

.name {
    font-size: 1.2rem;
}

/* --------------------------------------------- */

/* Slider */
.slider-items-list {
    display: flex;
    width: 100%;
    overflow-y: hidden;
    overflow-x: auto;
    white-space: nowrap;
}

.slider-list {
    position: relative;
    background-color: var(--bg);
    padding: 1rem;
}

.slider-header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 2rem;
    padding-right: .5rem;
    border-right: 3px solid var(--primary);
}

.slider-header .slider-title {
    font-size: var(--title);
    font-weight: 400;
}

.slider-img-thumbnail {
    width: auto;
    height: 500px;
    object-fit: contain;
}

.slider-scroll-forward,
.slider-scroll-backward {
    width: 40px;
    height: 40px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-muted);
    align-content: center;
    text-align: center;
    cursor: pointer;
}

.slider-scroll-forward {
    position: absolute;
    right: 0;
    border-right: 0;
    top: 50%;
}

.slider-scroll-backward {
    position: absolute;
    left: 0;
    border-left: 0;
    top: 50%;
}

/* --------------------------------------------- */

.content {
    flex-grow: 1;
}

/* Header style */
header {
    width: 100%;
    height: auto;
}

.header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.content-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* --------------------------------------------- */


/* Info */
.info {
    width: 100%;
    height: auto;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1rem;
    gap: 1rem;
    background-color: var(--bg);
}

.info-title {
    width: 100% !important;
    font-size: var(--title);
    font-weight: 400;
    line-height: 1.5rem !important;
    padding-right: .5rem;
    border-right: 3px solid var(--primary);
}

.info-body {
    width: 100% !important;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    color: var(--text-dark);
    gap: 1rem;
    padding: .5rem 1rem;
    background-color: hsl(0, 0%, 90%);
    border: 1px solid hsl(0, 0%, 80%);
    border-radius: 4px;
}

.info-body h2 {
    font-size: 1rem;
    font-weight: 500;
}

.info-text {
    width: calc((100% / 3) - 1rem);
    padding: 1rem 0;
    border-bottom: 1px solid transparent;
    /* border-image: linear-gradient(to left, var(--border-muted), transparent) 1; */
}

.info-link a {
    color: var(--text-dark);
    transition: ease 300ms;
    padding: .5rem 1rem;
    background-color: var(--bg);
}

.info-link a:hover {
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.6);
}

.info-link-body {
    width: 100% !important;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    border: 1px solid transparent;
    border-radius: .5rem;
    color: var(--text-dark);
}

.info-link {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: calc(100%/2);
}


.info-link-title {
    padding: 1rem 0;
}

.info-link-text {
    padding: 1rem 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
}

/* --------------------------------------------- */

/* Banner contact us */
.banner-notice {
    width: 100% !important;
    background-color: var(--danger);
    padding: 1rem;
    color: var(--text-light);
    text-align: center;
}

.banner-notice .banner-text {
    font-size: var(--title);
    font-weight: 400;
}

.banner-contact-us {
    width: 100% !important;
    background-color: var(--gradient-1-color-1);
    padding: 1rem;
}

.banner-contact-us .banner-body {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-light);
    align-items: center;
}

.banner-contact-us .banner-body .banner-title {
    flex-grow: 1;
    font-size: var(--title);
    font-weight: 400;
}

.banner-contact-us .banner-link-button {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
}

.banner-contact-us .banner-link-button a {
    padding: .5rem 1rem;
    transition: ease 300ms;
}

.banner-contact-us .banner-link-button a:hover {
    text-shadow: 0 0 4px var(--bg-dark);
}

/* --------------------------------------------- */

/* Card style */

.card-items-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    height: 100%;
    overflow-y: hidden;
    overflow-x: auto;
    padding: 1rem 0;
}

.scroll-forward,
.scroll-backward {
    width: 40px;
    height: 40px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-muted);
    align-content: center;
    text-align: center;
    cursor: pointer;
}

.scroll-forward {
    position: absolute;
    right: 0;
    border-right: 0;
    top: 50%;
    display: none;
}

.scroll-backward {
    position: absolute;
    left: 0;
    border-left: 0;
    top: 50%;
    display: none;
}

.scroll-forward.visible,
.scroll-backward.visible {
    display: block;
}

.card-list {
    position: relative;
    background-color: var(--bg);
    padding: 1rem;
}

.card-header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 2rem;
}

.card-header .card-title {
    font-size: var(--title);
    font-weight: 400;
    padding-right: .5rem;
    border-right: 3px solid var(--primary);
}

.card-header .card-extra {
    color: var(--text-muted);
    font-weight: 400;
}

.card {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    width: 200px;
    height: auto;
    transition: ease 300ms;
}

.img-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.card-body {
    padding: .5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    flex: 1;
}

.card-body .card-title {
    font-size: 1rem;
    font-weight: 500;
    flex-grow: 1;
}

.card-description {
    color: var(--text-muted);
    font-size: .85rem;
    font-weight: 400;
}

.card-link {
    padding: .5rem 1rem;
    text-align: center;
    color: var(--text-muted);
    border: 1px solid var(--border-muted);
    transition: ease 300ms;
    width: fit-content;
    font-size: .85rem;
}

.card-link:hover {
    border-color: var(--gradient-1-color-1);
    background-color: var(--gradient-1-color-1);
    color: var(--text-light);
}

/* --------------------------------------------- */

/* Categories style */

.border-bottom-gradient {
    padding: 0.5rem 0 1rem 0;
    border-bottom: 1px dashed transparent;
    border-image: linear-gradient(to left, var(--border-muted), transparent) 1;
}

/* --------------------------------------------- */


/* Scroll to top */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--bg-dark);
    color: var(--primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -4px 0px 12px 0px rgba(0, 0, 0, 0.2), 4px 0px 12px 0px rgba(0, 0, 0, 0.2);
    transition: ease 300ms;
}

.scroll-to-top:hover {
    background-color: var(--primary);
    color: var(--text-light);
}

.visible {
    display: block !important;
}

.invisible {
    display: none !important;
}

/* --------------------------------------------- */

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 1rem 0;
}

.footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-items: center;
}

.footer-layout {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.footer-title {
    color: var(--text-light);
    padding: .5rem;
    border-left: 1px solid var(--border-muted);
    font-size: 1rem;
}

.contact,
.social-media {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: .5rem 2rem;
    align-items: center;
    gap: 2rem;
}

.footer-item {
    color: var(--text-light);
}

.footer a {
    color: var(--text-light);
    transition: ease 300ms;
    width: fit-content;
}

.footer a:hover {
    color: var(--primary);
}

.footer .copyright {
    width: 100%;
    text-align: center;
    margin: 1rem 0 0 0;
    padding: 1rem 0;
    border-top: 1px solid transparent;
    border-image: linear-gradient(to right, transparent 20%, var(--primary), transparent 80%) 1;
}

.footer-home {
    color: var(--text-light-3);
    border-bottom: 1px dashed var(--text-light);
    padding-bottom: .25rem;
}

/* --------------------------------------------- */

/* ----------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------- */

@media screen and (max-width:480px) {

    .scroll-to-top {
        width: 40px;
        height: 40px;
    }

    .nav-top {
        position: fixed;
        top: 0;
    }

    .info-text {
        width: calc((100% / 1) - 1rem);
    }

    .info-link {
        width: calc(100%/1);
    }

    .slider-img-thumbnail {
        height: 300px;
    }

    .contact,
    .social-media {
        flex-direction: column;
    }

    .footer-title {
        border: 0;
        border-bottom: 1px solid var(--border-muted);
    }

}

@media screen and (min-width:481px) {

    .scroll-to-top {
        width: 40px;
        height: 40px;
    }

    .nav-top {
        position: fixed;
        top: 0;
    }

    .info-text {
        width: calc((100% / 1) - 1rem);
    }

    .info-link {
        width: calc(100%/1);
    }

    .slider-img-thumbnail {
        height: 300px;
    }

    .contact,
    .social-media {
        flex-direction: column;
    }

    .footer-title {
        border: 0;
        border-bottom: 1px solid var(--border-muted);
    }
}

@media screen and (min-width:768px) {

    .scroll-to-top {
        width: 40px;
        height: 40px;
    }

    .nav-top {
        position: fixed;
        top: 0;
    }

    .info-text {
        width: calc((100% / 2) - 1rem);
    }

    .info-link {
        width: calc(100%/1);
    }

    .slider-img-thumbnail {
        height: 300px;
    }

    .contact,
    .social-media {
        flex-direction: column;
    }

    .footer-title {
        border: 0;
        border-bottom: 1px solid var(--border-muted);
    }
}

@media screen and (min-width:992px) {

    .icon {
        display: none;
    }

    .scroll-to-top {
        width: 40px;
        height: 40px;
    }

    .nav-top {
        position: relative;
    }

    .info-text {
        width: calc((100% / 3) - 1rem);
    }

    .info-link {
        width: calc(100%/2);
    }

    .slider-img-thumbnail {
        height: 400px;
    }

    .contact,
    .social-media {
        flex-direction: column;
    }

    .footer-title {
        border: 0;
        border-bottom: 1px solid var(--border-muted);
    }
}

@media screen and (min-width:1200px) {
    .container {
        max-width: 1500px;
    }

    .scroll-to-top {
        width: 40px;
        height: 40px;
    }

    .nav-top {
        position: relative;
    }

    .info-text {
        width: calc((100% / 3) - 1rem);
    }

    .info-link {
        width: calc(100%/2);
    }

    .slider-img-thumbnail {
        height: 500px;
    }

    .contact,
    .social-media {
        flex-direction: row;
    }

    .footer-title {
        border: 0;
        border-left: 1px solid var(--border-muted);
    }
}