/* ==== GOOGLE FONTS ==== */
@import url('https://fonts.googleapis.com/css2?family=Exo:wght@400;500;600&display=swap');


/* ==== CSS  VARIABLE ====    */
:root {
    --header-height: 3.5rem;
    
    /* ================= Colors ================= */
    --first-color: hsl(219, 69%, 56%);
    --first-color-alt: hsl(219, 69%, 52%);
    --title-color: hsl(219, 8%, 95%);
    --text-color: hsl(219, 8%, 75%);
    --text-color-light: hsl(219, 4%, 55%);
    --white-color: #fff;
    --body-color: hsl(219, 4%, 4%);
    --container-color: hsl(219, 4%, 5%);
    --text-hover-color: rgb(94, 94, 94);

    /* ================= Font and typography ================= */
    /* .5rem = 8px | 1rem = 16px  */
    --body-font: 'Exo', sans-serif;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;
    
    
    /* ================= Font weight ================= */
    --font-medium: 300;
    --font-semi-bold: 600;
    
    /* ================= z index ================= */
    --z-tootip: 10;
    --z-fixed: 100;
    }

/* ================= Responsive typograhpy ================= */
@media screen and (min-width: 968px) {
    :root {
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

/* ==== BASE ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Alice';
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: #000;
}

.logo {
    letter-spacing: .1rem;
    font-size: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* ==== REUSEABLE CSS ==== */
.container {
    max-width: 1024px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.menu-bar {
    font-size: 2rem;
}

/* ==== Header & Nav ==== */
.header {
    width: 100%;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background-color: #fff;
    border-bottom: 1px solid rgb(183, 183, 183);
}

.nav-bar {
    display: flex;
    justify-content:space-between;
    align-items: center;
    height: var(--header-height);
}


/* ==== Search ==== */
.search {
    border-bottom: .5px solid #000;
    padding-right: 2rem;
}

.search span {
    margin-left: 1rem;
}

/* ==== Icons ==== */
.flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex:hover {
    color: var(--text-hover-color);
}

.icon-title {
    font-size: var(--normal-font-size);
    margin: 0 1rem;
}

.icon {
    font-size: var(--h2-font-size);
}

/* ==== Home ==== */
.home {
    background-image:linear-gradient(45deg,rgba(41, 41, 41, 0.714), rgba(124, 124, 124, 0.501)),url(/images/background/converse.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
}


.banner {
    display: none;
    color: #000;
    text-align: center;
    position: relative;
    top: 15%;
}

.btn {
    display: none;
    background-color: rgba(0, 0, 0, 0.708);
    color: #fff;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1em 2em;
    border: none;
    border-radius: 1.5rem;
    font-size: 1rem;
}

/* ==== Products ==== */
.products {
    margin-top: 10%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.discription {
    margin: 5rem 0;
    font-size: 1.2rem;
    text-align: center;
}

.shoes {
    text-align: center;
    padding-bottom: 5%;
    transition: .2s;
}

.shoes .name {
    font-size: .8rem;
}

.shoes .price {
    font-size: .7rem;
}

.shoes .stock {
    font-size: .6rem;
}

.shoes:hover {
    border-radius: 8px;
    transition: .2s;
    box-shadow: 1px 1px 5px 2px rgba(121, 121, 121, 0.5);
}


/* ==== NAV-MENU ==== */
@media screen and (max-width:767px) {
    .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    display: block;
    background-color: #fff;
    width: 70%;
    height: 100vh;
    transition: .5s;
    }
}

.nav-list {
    display: flex;
    flex-direction: column;
    text-align: center;
    row-gap: 3rem;
    padding-top: 9rem;
}


.nav-link {
    font-size: var(--h2-font-size);
    color: #000;
    text-transform: uppercase;
    font-weight: var(--font-medium);
    transition: .2s;
}

.nav-link:hover {
    color: var(--text-hover-color);
    transition: .2s;
}

/* ==== MENU BTN SHOW ==== */
.show-menu {
    transition: .5s;
    right: 0;
}

.close-btn {
    position: absolute;
    top: .5rem;
    right: 1.5rem;
    font-size: 2rem;
}


/* ==== Location ==== */

.location h2 {
    margin: 4rem 0;
}
.location {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

iframe {
    height: 250px;
    width: 100%;
}





/* ==== Contact Form ==== */

.contact-form input {
    border: none;
    margin: 1rem 0;
    background-color: rgba(94, 94, 94, 0.2);
    padding: .5rem;
    width: 50%;
    letter-spacing: 1px;
    outline: none;
}

.contact-form h2{
    text-align: center;
    margin: 4rem 0;
}

form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 10%;
}



.contact-form textarea {
    background-color: rgba(94, 94, 94, 0.2);
    resize: none;
    outline: none;
    border: none;
    height: 100px;
    border-radius: 8px;
    width: 50%;
    padding: 1rem;
    letter-spacing: 1px;
}

form button {
    margin-top: 20px;
    padding: .5em 1.5em;
    font-size: 1.1rem;
    border: none;
    background-color: #000;
    color: #fff;
    border-radius: 2rem;
}

/* ==== FOOTER ==== */
.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-content {
    margin: 1rem 0;
}

.footer-title {
    margin-bottom: 1rem ;
    font-size: 1.3rem;
    font-weight: 300;
}

.footer-link {
    font-size: 1rem;
    cursor: pointer;
    display: inline-block;
    margin: .1rem 0;
}

.footer-link:hover {
    color: var(--text-hover-color);
}

.footer-social {
    margin-bottom: 5%;
}

.footer-social-link {
    font-size: 1.3rem;
    margin: 0 .5rem;
}

.footer-social-link:hover {
    color: var(--text-hover-color);
}

.footer-copy {
    width: 100%;
    display: inline-block;
    text-align: center;
    margin: 4rem 0;
}

/* ==== BREAPOINTS ==== */

/* ==== For small devices ==== */
@media screen and (max-width: 576px) {
    .container {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .logo {
        font-size: var(--normal-font-size);
    }

    .search {
        padding: 0;
    }

    .search .bi-search{
        font-size: var(--smaller-font-size);
    }

    .search span {
        font-size: var(--small-font-size);
        margin: .2rem;
    }

    .icon-title {
        font-size: var(--smaller-font-size);
        margin-right: .2rem;
    }

    .icon {
        font-size: var(--small-font-size);
    }

    .menu-bar,
    .close-btn {
        font-size: var(--h1-font-size);
    }

    .nav-link {
        font-size: var(--normal-font-size);
    }

    .footer-copy {
        font-size: var(--smaller-font-size);
    }
}

/* ==== For medium devices ==== */


/* ==== Tablet ==== */
@media screen and (min-width:767px) {
    .container {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .menu-bar,
    .close-btn {

        display: none;
    }
    
    .nav-bar {
        height: calc(var(--header-height) + 1.5rem);
    }
    .nav-list {
        flex-direction: row;
        column-gap: 3rem;
        padding-top: 0;
    }

    .nav-link {
        font-size: var(--normal-font-size);
        text-transform: initial;   
    }

    .products {
        grid-template-columns: repeat(3, 1fr);
        gap: 4rem;
    }

    .shoes .name,
    .shoes .price {
        font-size: var(--normal-font-size);
    }

    .shoes .stock {
        font-size: var(--smaller-font-size);
    }

    .footer-section {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-discription {
        width: 200px;
    }
}


/* ==== For Large Device ==== */
@media screen and (min-width:1040px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }

    .discription {
        font-size: var(--h2-font-size);
        font-weight: var(--font-medium);
    }

    .contact h2 {
        font-size: var(--h2-font-size);
        font-weight: var(--font-medium);
    }

    .contact-form input,
    .contact-form textarea {
        text-align: center;
        font-size: var(--normal-font-size);
    }
    .footer-section {
        display: flex;
        flex-direction: row;
        column-gap: 4rem;
        justify-content: center;
    }
}