@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;600;800&display=swap');

:root {
    --bronze-color: #CFAE59;
    --purple-color: #712F99;
    --gray-text-color: #525252;
}

.storesbuttoncontainer {
    display: flex;
    margin-right: 20px;
}

.storesbuttoncontainer .storesbtn {
    font-family: 'Work Sans', sans-serif;
    background-color: var(--bronze-color);
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    padding: 17px 44px;
    border: 2px solid var(--bronze-color);
    border-radius: 50px;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-transition: background-color 300ms linear;
    -moz-transition: background-color 300ms linear;
    -o-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
}

.storesbuttoncontainer .storesbtn:focus {
    outline: none;
}

.storesbuttoncontainer .storesbtn:hover {
    background-color: #fff;
    color: var(--bronze-color);
}

.modalcontainer {
    font-family: 'Work Sans', sans-serif;
    display: flex;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* background-color: rgb(113 47 153 / 50%); */
    background-color: rgb(143 2 134 / 80%);
    justify-content: center;
    padding-top: 200px;
}

.modalcontainer #customStoresModal {
    background-color: #fff;
    padding: 30px 40px 30px 40px;
    width: 100%;
    max-width: 1140px;
    height: 490px;
    position: relative;
    border-radius: 20px;
    box-shadow: 0px 4px 22px 0px rgba(161, 161, 161, 0.22);
}

.modalcontainer #modalInner {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.modalcontainer #closeModal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 300;
    font-size: 26px;
    color: #C6C6C6;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
}

#modalInner .image {
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 200px;
    height: 80px;
}

#modalInner .store {
    margin: 20px;
    height: 105px;
}

#modalInner .store a {
    display: flex;
    flex-direction: column;
    text-align: center;
    text-decoration: none;
    font-family: 'Work Sans', sans-serif;
    color: var(--purple-color);
    font-size: 15px;
}

#modalInner .store:hover {
    background-color: transparent;
}

#modalInner .store:hover a {
    text-decoration: underline;
}

#modalInner .title {
    color: var(--purple-color);
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    max-width: 70%;
    margin: 30px auto 0 auto;
}

#modalInner .title::after {
    flex-basis: 100%;
    content: '';
    display: block;
}

#modalInner .storescont {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    max-height: 360px;
}
@media (max-width: 1024px) {
    .modalcontainer {
        padding-top: 0 !important;
        z-index: 100000;
    }
    .modalcontainer #customStoresModal {
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    #modalInner .storescont {
        max-height: 100%;
    }
}
@media (max-width: 800px)  {
    #modalInner .title {
        font-size: 30px;
        max-width: 100%;
    }
    .storesbuttoncontainer {
        margin-bottom: 20px;
    }
    #modalInner .image {
        width: 150px;
        height: 65px;
    }
    #modalInner .store {
        margin: 15px;
        height: 90px;
    }
}
@media (max-width: 439px)  {
	#modalInner .storescont {
		height: calc(100vh - 220px);
	}
}