﻿@media (min-width: 768px) {
    .made-box{
        margin-top: 50px;
    }
}
.made-text-box{
    min-width: 350px;
    min-height: 450px;
    max-width: 550px;
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.made-with-text{
    font-family: 'Lato-Bold', sans-serif;
}

@media (min-width: 768px) {
    .made-with-text{
        padding-left: 2.6rem;
    }
}
.made-img-box{
    position: relative;
}

.overlay {
    position: absolute;
    pointer-events: none;
    aspect-ratio: 9 / 16;
}

.overlay1 {
    top: -2.5%;
    left: -10%;
    width: 7%;
    padding: 6.3% 0;
    border-radius: 0.4rem;
    z-index: 10;
    opacity: 0;
    position: absolute;
    background: linear-gradient(to bottom, #14141400 60%, #141414bf 100%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.overlay2 {
    top: 16%;
    left: 10%;
    width: 10%;
    padding: 9% 0;
    border-radius: 0.4rem;
    z-index: 20;
    opacity: 0;
    position: absolute;
    background: linear-gradient(to bottom, #14141400 60%, #141414bf 100%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.overlay3 {
    top: 85%;
    left: 5%;
    width: 16%;
    padding: 14.5% 0;
    border-radius: 0.5rem;
    z-index: 30;
    opacity: 0;
    position: absolute;
    background: linear-gradient(to bottom, #14141400 60%, #141414bf 100%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* 确保遮罩层覆盖图片 */
.overlay4 {
    top: 5%;
    left: 28%;
    width: 40%;
    padding: 36% 0;
    border-radius: 0.8rem;
    z-index: 50;
    cursor: pointer;
    transition: all 1s ease-in-out;
    position: absolute;
    background: linear-gradient(to bottom, #14141400 60%, #141414bf 100%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 0;
}

.overlay5 {
    top: 30%;
    left: 75%;
    width: 18%;
    padding: 16.3% 0;
    border-radius: 0.6rem;
    z-index: 40;
    opacity: 0;
    position: absolute;
    background: linear-gradient(to bottom, #14141400 60%, #141414bf 100%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.overlay4.show {
    opacity: 1;
}

.overlay4.show .overlay-text {
    opacity: 1;
}

/* 遮罩层上的文字 */
.overlay-text {
    color: white;
    position: absolute;
    bottom: 6%;
    opacity: 0; /* 初始隐藏 */
    transition: opacity 1s ease-in-out, font-size 1s ease-in-out;
    text-align: center;
    display: flex;
    width: 80%;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    font-size: 18px;
    white-space: nowrap;
}

.play-made {
    width: 26px;
    margin-right: 16px;
}

.made-img {
    aspect-ratio: 9 / 16;
    position: absolute;
}
.made-img-1 {
    top: -2.5%;
    left: -10%;
    width: 7%;
    border-radius: 0.4rem;
    z-index: 10;
    opacity: 0.2;
    transition: all 1s ease-in-out;
}

.made-img-2 {
    top: 16%;
    left: 10%;
    width: 10%;
    border-radius: 0.4rem;
    z-index: 20;
    opacity: 0.4;
    transition: all 1s ease-in-out;
}
.made-img-3 {
    top: 85%;
    left: 5%;
    width: 16%;
    border-radius: 0.5rem;
    z-index: 30;
    opacity: 0.6;
    transition: all 1s ease-in-out;
}
.made-img-4 {
    top: 5%;
    left: 28%;
    width: 40%;
    border-radius: 0.8rem;
    z-index: 50;
    transition: all 1s ease-in-out;
    cursor: pointer;
}
.made-img-5 {
    top: 30%;
    left: 75%;
    width: 18%;
    border-radius: 0.6rem;
    z-index: 40;
    opacity: 0.8;
    transition: all 1s ease-in-out;
}

@media (min-width: 993px) and (max-width: 1200px) {
    .made-img-3 {
        top: 80%;
    }
    .overlay3 {
        top: 80%;
    }
}

@media (min-width: 577px) and (max-width: 767px) {
    .made-img-box{
        min-height: 450px;
    }
    .made-text-box{
        margin-top: 0;
    }
    .made-img-1 {
        width: 5%;
        top: -10%;
        left: 10%;
    }
    .made-img-2 {
        width: 8%;
        top: 15%;
        left: 17%;
    }
    .made-img-3 {
        width: 14%;
        left: 12%;
        top: 70%;
    }
    .made-img-4{
        width: 35%;
        top: -5%;
        left: 34%;
    }
    .made-img-5 {
        width: 16%;
        top: 20%;
        left: 77%;
    }
    .overlay1 {
        width: 5%;
        top: -10%;
        left: 10%;
        padding: 4.5% 0;
    }
    .overlay2 {
        width: 8%;
        top: 15%;
        left: 17%;
        padding: 7.2% 0;
    }
    .overlay3 {
        width: 14%;
        left: 12%;
        top: 70%;
        padding: 12.5% 0;
    }
    .overlay4{
        width: 35%;
        top: -5%;
        left: 34%;
        padding: 31.5% 0;
    }
    .overlay5 {
        width: 16%;
        top: 20%;
        left: 77%;
        padding: 14.5% 0;
    }
    .overlay-text {
        font-size: 16px;
    }
    .play-made {
        width: 24px;
        margin-right: 12px;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .made-img-1 {
        top: 10%;
    }
    .made-img-2 {
        top: 25%;
    }
    .made-img-3 {
        top: 80%;
    }
    .made-img-4{
        top: 20%;
    }
    .made-img-5 {
        top: 40%;
    }
    .overlay1 {
        top: 10%;
    }
    .overlay2 {
        top: 25%;
    }
    .overlay3 {
        top: 80%;
    }
    .overlay4{
        top: 20%;
    }
    .overlay5 {
        top: 40%;
    }
    .overlay-text {
        font-size: 16px;
    }
    .play-made {
        width: 24px;
        margin-right: 12px;
    }
}

@media (min-width:451px) and (max-width: 576px) {
    .made-img-box{
        min-height: 300px;
    }
    .made-text-box{
        margin-top: 0;
    }
    .made-img-1 {
        top:-10%;
        left: 5%;
    }
    .made-img-2 {
        top: 15%;
        left: 15%;
    }
    .made-img-3 {
        top: 100%;
        left: 10%;
    }
    .made-img-4{
        top: 0;
        left: 33%;
    }
    .made-img-5 {
        top: 35%;
        left: 80%;
    }
    .overlay1 {
        top:-10%;
        left: 5%;
    }
    .overlay2 {
        top: 15%;
        left: 15%;
    }
    .overlay3 {
        top: 100%;
        left: 10%;
    }
    .overlay4{
        top: 0;
        left: 33%;
    }
    .overlay5 {
        top: 35%;
        left: 80%;
    }
    .overlay-text {
        font-size: 16px;
    }
    .play-made {
        width: 24px;
        margin-right: 12px;
    }
}

@media (min-width: 376px) and (max-width: 450px) {
    .made-img-box{
        min-height: 280px;
    }
    .made-text-box{
        margin-top: 0;
    }
    .made-img-1 {
        top:0;
        left: 5%;
    }
    .made-img-2 {
        top: 20%;
        left: 15%;
    }
    .made-img-3 {
        top: 105%;
        left: 10%;
    }
    .made-img-4{
        width: 45%;
        top: 10%;
        left: 30%;
    }
    .made-img-5 {
        top: 40%;
        left: 80%;
    }
    .overlay1 {
        top:0;
        left: 5%;
    }
    .overlay2 {
        top: 20%;
        left: 15%;
    }
    .overlay3 {
        top: 105%;
        left: 10%;
    }
    .overlay4{
        width: 45%;
        top: 10%;
        left: 30%;
        padding: 40.3% 0;
    }
    .overlay5 {
        top: 40%;
        left: 80%;
    }
    .overlay-text {
        font-size: 14px;
    }
    .play-made {
        width: 22px;
        margin-right: 10px;
    }
}

@media (max-width: 375px){
    .made-img-box{
        min-height: 250px;
    }
    .made-text-box{
        margin-top: 0;
    }
    .made-img-1 {
        top:0;
        left: 5%;
    }
    .made-img-2 {
        top: 20%;
        left: 15%;
    }
    .made-img-3 {
        top: 105%;
        left: 10%;
    }
    .made-img-4{
        width: 45%;
        top: 10%;
        left: 30%;
    }
    .made-img-5 {
        top: 40%;
        left: 80%;
    }
    .overlay1 {
        top:0;
        left: 5%;
        padding: 7% 0;
    }
    .overlay2 {
        top: 20%;
        left: 15%;
        padding: 10% 0;
    }
    .overlay3 {
        top: 105%;
        left: 10%;
        padding: 15% 0;
    }
    .overlay4{
        width: 45%;
        top: 10%;
        left: 30%;
        padding: 40.3% 0;
    }
    .overlay5 {
        top: 40%;
        left: 80%;
        padding: 17% 0;
    }
    .overlay-text {
        font-size: 12px;
    }
    .play-made {
        width: 18px;
        margin-right: 8px;
    }
}