html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
}

body {
    margin: 0;
    font-family: 'Inter';
    background: rgb(240, 239, 239);
}
button {
    border: none;
    cursor: pointer;
    background: none;
}
ul {
    list-style: none;
    background: rgb(234, 229, 229);
    border-radius: 30px;
    width: 260px;
    justify-content: center;
    padding: 0;
    color: rgb(53, 53, 213);
    display: flex;
    opacity: 0.8;
    position: fixed;
    bottom: 10px;   
    left: 50px; 
    z-index: 9999;
}

.nav_menu {
    opacity: 0.5;
    width: 60px;
    height: 45px;
    box-sizing: border-box;
    padding: 3px;
    text-align: center;
    margin: 5px;
    cursor: pointer;
    border-radius: 15px;
    transition: all 0.1s;
    z-index: 100;
}
.nav_menu p {
    margin-top: 5px;
    font-size: 14px;
}
.nav_menu:hover:not(.focus) {
    opacity: 1;
    color: rgb(183, 83, 217);
    background: rgba(225, 215, 215, 0.5);
}
.nav_menu.focus {
    opacity: 1;
    color: rgb(185, 26, 238);
    font-weight: 500;
    pointer-events: none;
}
.cards-container {
    width: 100%;
    box-sizing: border-box;
    display: grid;
    justify-items: center;
    grid-template-columns: 1fr 1fr;
}
.card {
    width: 45vw;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    margin: 10px;
}
.card-img img {
    width: 100%;
    transition: transform 0.3s ease;
    display: block;
    z-index: 0;
}
.card:hover img {
    transform: scale(1.1) translateZ(0);
}
.card-img {
    transition: transform 0.3s;
    overflow: hidden;
    display: block;
}
.card-info {
    padding: 5px;
    background:rgb(222, 216, 222);
    display: flex;
    justify-content: center;
}
.card h6 {
    margin: 0;
    font-size: 16px;
    font-weight: 300;
}
.tag {
    background: rgb(125, 189, 146);
    border-radius: 5px;
    font-size: 12px;
    margin-left: 6px;
    padding: 2px;
    box-sizing: border-box;
    color: white;
}
.tag.new {
    background: rgb(244, 10, 123);
}
#modal-content {
    position: fixed;
    width: 100vw;
    width: 100dvw;
    height: 100vh;
    height: 100dvh;
    z-index: 99999;
    transition: all 0.5s ease;
    transform: translateY(100vh);
}
#modal-content.show {
    transform: translateY(0px);
}
.modal-box {
    border-radius: 40px 40px 0;
    margin-top: 40px;
    width: 100%;
    height: 100%;
    background: white;
    box-shadow: 3px 4px 10px rgba(0, 0, 0, 0.3);
    padding: 1px;
}
.modal-btn-close {
    font-size: 50px;
    position: absolute;
    right: 8px;
}
.skin-info {
    margin: 60px;
    background: rgb(28, 27, 27);
    display: flex;
    flex-direction: column;
    border: 1px solid black;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    color: white;
}

.skin-option-header {
    width: 100%;
    padding: 3px;
    box-sizing: border-box;
    display: flex;
    justify-items: center;
    justify-content: center;
    border-bottom: 1px solid black;
}
.skin-option-header h6 {
    color: white;
    margin: 0;
    font-size: 16px;
    font-weight: 300;
}

.skin-option-body {
    display: flex;
    border-bottom: 1px solid black;
}
#skin-avatar {
    width: 172px;
    height: 275px;
    overflow: hidden;
    flex-shrink: 0;
    border-right: 1px solid black;
    background: linear-gradient(to bottom, black, #333);
    position: relative;
}
#slide-container {
    display: flex;
    touch-action: pan-y;
    width: 688px;
    transition: all 1s;
}
.slide-box {
    width: 172px;
}
#skin-avatar img {
    width: 100%;
    display: block;
}
.avatar-direction {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
}
.direc-btn {
    color: white;
    padding: 0;
    font-size: 20px;
}
.direc-btn.focus {
    color: red;
}
.skin-option {
    flex-grow: 1;
}
.opt-radio {
    width: 16px;
    height: 16px;
    border: 2px solid rgb(200, 191, 191);
    background: rgb(118, 57, 57);
    appearance: none;
    margin-right: 4px;
    cursor: pointer;
    position: relative;
}
.opt-radio:checked {
    border: 2px solid red;
}
.opt-label {
    display: flex;
    align-items: center;
    margin-right: 8px;
    margin-bottom: 4px;
    cursor: pointer;
}
.skin-option-name {
    margin-top: 12px;
    text-align: center;
    width: 100%;
    color: rgb(199, 208, 238);
    font-weight: 400;
}
.skin-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 4px;
    box-sizing: border-box;
}
.skin-option-box {
    border-bottom: 1px solid black;
}
.skin-option-box:last-child {
    border: none;
}
.skin-price {
    text-align: center;
    margin: 6px;
    color: rgb(237, 227, 227);
}
.skin-note {
    text-align: center;
}
.note {
    color: rgb(199, 208, 238);
    margin: 4px;
    font-size: 12px;
    margin-bottom: 10px;
}
.contact-btn {
    background: rgb(31, 109, 252);
    padding: 10px 12px;
    font-size: 20px;
    color: rgb(255, 255, 255);
    border-radius: 12px;
}
.contact-btn:hover {
    background: rgb(10, 92, 244);
    color: rgb(255, 255, 255);
}












@media screen and (min-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .card {
        width: 30vw;
    }
}

@media screen and (min-width: 1024px) {
    .cards-container {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    .card {
        width: 22vw;
    }
    .avatar-direction {
        display: block;
    }
    #slide-container {
        pointer-events: none;
    }
}
