/* stylesheet for layout of pages */

@font-face {
    font-family: 'poppins';
    src: url('../../fonts/poppins.bold.ttf');
    font-style: bold;
    font-optical-sizing: auto;
    /* font-weight: 100; */
}


@font-face{
  font-family: 'poppins-light';
  src: url('../../fonts/poppins.regular.ttf');
  font-style: normal;
  font-optical-sizing: auto;
    /* font-weight:1000; */
}

@font-face {
  font-family: 'bilbo';
  src: url(../../fonts/Bilbo_Swash_Caps/BilboSwashCaps-Regular.ttf);
}

@font-face {
  font-family: 'eb-garamond';
  src: url(../../fonts/EB_Garamond/EBGaramond-VariableFont_wght.ttf);
}


@font-face{
    font-family: 'imperial';
    src: url(../../fonts/Imperial_Script/ImperialScript-Regular.ttf);
}

@font-face {
    font-family: logo;
    src: url(../../fonts/Italiana/Italiana-Regular.ttf);
}

:root{
    --textbox-shadow: 0px 1px 6px #00000047;
    --bttn-shadow: 0px 1px 5px rgba(80, 80, 80, 0.685);
    --bttn-font: poppins;
    --text-radius: 3px;
    --sbmit-bttn-colour: #495057;
    --theme-second: #495057;
    --main-color: black;
    --sbmit-bttn-text-color: white;
}


body {
  /* For macOS and iOS */
  -webkit-font-smoothing: antialiased;
  /* For other browsers */
  -moz-osx-font-smoothing: grayscale;
}


*{
    margin: 0;
    padding: 0;
    font-size: clamp(10px, 0.9vw, 14px);
    box-sizing: border-box;
    -webkit-tap-highlight-color:transparent;
    -webkit-user-select: none;
    user-select: none;
    transition: all 0.1s cubic-bezier(0, 0.89, 0.22, 1); 
    scroll-behavior: smooth;   
}

a{
    -webkit-user-drag: none;
    color: black;
}

body{
    min-height: 50vh;
}

ul{
    list-style: none;
}


main{
    padding-bottom: 6em;
    min-height: 50vh;
}

main#cart-main{
    padding-bottom: 0em;
}

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

    main{
        min-height: 58vh;
    }


    #collection-preview{
        margin: 0em 0em;
    }

    /* #logo a{
        font-size: 1.5em;
    } */

    /* #product-container ul{
        margin: 0px 0px;
    } */

    /* header left navigation media query */
    

    #left-navigation-lists{
        display: block;
        position: absolute;
        left: 1em;
        top: 2.8em;
        border-bottom: 1px solid #0000003b;
    }

    ul#left-navigation-lists{
        gap: unset;
        justify-content: space-around;
        margin-left: -1em;
        padding-left: 0px;
        width: 100%;
        background: white;
        /* max-width: 572px; */
    }

    /* #main-product-section{
        margin-top: 2em;
    } */


    div#heading h1{
        font-size: medium;
    }


    #product-container ul{
        margin: 0em auto;
        /* margin-top: 2em; */
        /* column-gap: 1em; */
        justify-content: center;
        row-gap: 1em;
        /* width: 96vw; */
    }

    /* showing the delete button in the address for phone */
    ul#address-sidebar li div.delete-button {
        display: block;
    }

    .wishlist-button{
        width: 2.5em;
        height: 2.5em;
        position: relative;
        margin-left: 41vw;
        top: 3em;
        margin-top: -6vw;
        background-repeat: no-repeat;
        background-position: 50% center;
        background-size: 2em;
        display: block;
    }

    /* main{
        padding-top: 2em;
    } */
    /* product page css for mobile devices */
}

.pointer{
    cursor: pointer;
}

.center-child{
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-black{
    background-color: black;
    color: rgb(255, 255, 255);
}

.icon{
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}

.image{
    background-repeat: no-repeat;
    background-size: contain;
    border: none;
    background-position: center center;
}

.button:active{
    opacity: 50%;
}

.button:hover{
    cursor: pointer;
}

.selection-box{
    background-image: none;
}

.selected-box{
    border: none;
    background-color: var(--sbmit-bttn-colour);
    border: 0px solid #FF7383;
    /* outline: 1px solid #FF7383; */
    background-image: url(../../icons/tick.svg);
    background-repeat: no-repeat;
    /* background-size: 200%; */
    background-position: center center;
}

.allow-select, p, .product-desc{
    -webkit-tap-highlight-color: beige;
    -webkit-user-select: text !important;
    user-select: text !important;
}


input:-webkit-autofill {
  appearance: none;
  -webkit-appearance: none;
  background: inherit !important;
}
