
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&family=Raleway:wght@500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

:root {
    --primary-color-white: #F8F9FA;
    --primary-color-black: #212529;
    --primary-color-grey: #ADB5BD;
    --text-color-black: #343A40;
    --text-color-white: #E9ECEF;
    --background-color-light: #DEE2E6;
    --background-color-dark: #6C757D;
    --background-black: #343A40;
}

.footer {
    background-color: #24262b;
    padding: 30px 0 30px 0;
    height: fit-content;
}

.footer-container {
    max-width: 1170px;
    margin: auto;
}

.footer ul {
    list-style: none;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
}

.footer-col {
    width: 25%;
    padding: 0 15px;
}

.footer-col h4 {
    font-size: 18px;
    color: var(--primary-color-white);
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #e91e63;
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 16px;
    text-transform: capitalize;
    color: var(--primary-color-white);
    text-decoration: none;
    font-weight: 300;
    color: #bbbbbb;
    display: block;
    /*transition: all 0.3 ease;*/
}

.footer-col ul li a:hover {
    color: var(--primary-color-white);
    padding-left: 8px;
}

.footer-col .footer-social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: var(--primary-color-white);
    transition: all 0.5s ease;
}

.footer-col .footer-social-links a:hover {
    color: #24262b;
    background-color: var(--primary-color-white);
}

@media(max-width: 767px) {
    .footer-col {
        width: 50%;
        margin-bottom: 30px;
    }
}

@media(max-width: 574px) {
    .footer-col {
        width: 100%;
    }
}

/* ---------- HOME PAGE ---------- */

.background-homepage {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-image: url('../images/banner.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.navigation {
    /*background-color: var(--primary-color-white);*/
    background-color: transparent;
    position: fixed;
    width: 100%;
    transition: transparent-color 0.3s ease;
    z-index: 1000;
    height: 5.3rem;
}

.start-page .navigation .logo-image {
    content: url(../images/logo-scris-white.png);
}

.shared-container .navigation .logo-image {
    content: url(../images/logo-scris.png);
}

.start-page .navigation .logo-cart {
    content: url(../images/logo-cart-empty-white.png);
}

.shared-container .navigation .logo-cart {
    content: url(../images/logo-cart-empty-black.png);
}

.navigation > .container {
    max-width: 90%;
    margin: auto;
}

.navbar {
    position: relative;
}

.logo-toggle-container
{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: 2.1rem 0.6rem;
}

.logo-toggle-container a {
    display: block;
}

.logo-toggle-container a img {
    width: 7.5rem;
}

.menu {
    text-align: right;
    position: relative;
    list-style: none;
}

@media screen and (min-width: 183.5rem) {
    .menu {
        display: block !important;
        height: auto !important;
    }
}

.menu li {
    display: inline-block;
    padding: 1.56rem 0;
    margin-left: 0;
    flex: 1;
}

.menu .cart-count {
    position: relative;
    top: -2.3rem;
    left: 2rem;
    background-color: var(--background-black);
    border-radius: 50%;
    width: 1rem;
    height: 1rem;
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-color-white);
    justify-content: center;
}

.menu li a,
.menu li button {
    display: block;
    padding: 0.5rem 0.93rem;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.03rem;
    /*color: var(--primary-color-black);*/
    color: var(--text-color-black);
    font-size: 1rem;
    height: 2.1rem;
}

.menu li:nth-child(1),
.menu li:nth-child(2),
.menu li:nth-child(3) {
    float: left;
}

.menu li:nth-last-child(-n+3) {
    float: right;
}

.menu li:last-child {
    justify-content: flex-end;
    padding-right: 1.25rem;
}

.navigation:hover {
    /*background-color: transparent;*/
    background-color: var(--background-color-light);

}

.navigation:hover .logo-image {
    content: url(../images/logo-scris.png);
}

.navigation:hover .logo-cart {
    content: url(../images/logo-cart-empty-black.png);
}

.logo-cart {
    width: 3.1rem;
    height: auto;
    padding: 0 0.9rem;
}

@media screen and (max-width: 1100px) {
    .logo-toggle-container {
        position: fixed;
        top: 0;
        width: 100%;
        transform: translateX(0%);
    }

    .logo-toggle-container a {
        width: 80%;
    }

    .toggle-box {
        position: absolute;
        right: 10px;
        top: 20px;
        display: block;
        width: 40px;
        background: var(--background-black);
        padding: 15px 9px;
        cursor: pointer;
        border-radius: 5px;
    }

    .toggle-box span {
        display: block;
        max-width: 90%;
        margin: auto;
        height: 2px;
        background-color: var(--background-color-light);
        margin-bottom: 4px;
    }

    .toggle-box span:last-child {
        margin-bottom: 0;
    }

    .menu {
        text-align: center;
        display: flex;
        flex-direction: column;
        list-style: none;
        background-color: var(--background-color-light);
    }

    .menu li {
        display: block;
        float: none !important;
        padding: 2px 10px;
        border-bottom: 1px solid #ccc;
    }

    .menu li:nth-child(6) {
        order: 1;
    }

    .menu li:nth-child(5) {
        order: 2;
    }

    .menu li:nth-child(4) {
        order: 3;
    }

    .navigation:hover,
    .navigation:hover .logo-image,
    .navigation:hover .logo-cart {
        background-color: transparent;
        color: var(--text-color-black);
        content: initial;
    }
}