@import url('https://fonts.googleapis.com/css2?family=Mochiy+Pop+One&display=swap');

#main {
    * {font-family: 'Mochiy Pop One' , sans-serif; color: #333;}
}
.infos ,.input , .font , .pre {
    display: block;
    background: #fff;
    padding: 20px;
    border: 2px #FF9999 solid;
    border-radius: 20px;
    margin-bottom: 20px;
    h2 {
        border-left: 7px solid #FF9999;
        padding: 10px;
        padding-left: 20px;
        margin: 0;
        margin-top: 20px;
        margin-bottom: 20px;
    }
}
.infos {
    a {
        width: 300px;
        padding: 10px;
        background: #FF9999;
        color: #fff !important;
        border: none;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 20px;
        outline: 1px solid #fff;
        outline-offset: -5px;
        transition: all 0.3s;
        text-decoration: none;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        img {
            width: 13px;
            height: auto;
        }
        &:hover {
            opacity: 0.5;
        }
        &:active {
            transform: scale(0.95);
        }
    }
}
label {
    display: block;
    margin: 0;
    padding: 0;
    margin-bottom: 15px;
    p {
        margin: 0;
        margin-bottom: 8px;
    }
    input , select {
        border: 2px solid #FF9999;
        padding: 10px 20px;
        width: 100%;
        border-radius: 10px;
        transition: all 0.3s ease;
        background: #fff;
        &::placeholder {
            color: #d1d1d1;
        }
        &:active , &:focus {
            box-shadow: 0 3px 0 0 #FF6161;
            border: 2px solid #FF6161;
        }
    }
}

.pres {
    img {
        width: 100%;
        max-width: 800px;
        display: block;
        margin-left: auto;
        margin-right: auto;
        border: 2px solid #FF9999;
        border-radius: 5px;
    }
}
.btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    button {
        width: 200px;
        padding: 10px;
        background: #FF9999;
        color: #fff !important;
        border: none;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 20px;
        outline: 1px solid #fff;
        outline-offset: -5px;
        transition: all 0.3s;
        &:hover {
            opacity: 0.5;
        }
        &:active {
            transform: scale(0.95);
        }
    }
}

@media (max-width: 768px) {
    .btns {
        display: flex;
        flex-direction: column;
        button {width: 100%;}
    }
}

/**/
#preview {
    background-image: url('../img/ranking2025.png');
    height: 900px;
    width: 1600px;
    background-position: center;
    background-size: cover;
    position: relative;
    font-weight: bold;
    position: fixed;
    left: -200px;
    p {
        margin: 0;
        padding: 0;
        word-break: break-all;
    }
}

/**/
.rkg {
    position: absolute;
    top: 235px;
    left: 30px;
    height: 80px;
    width: 600px;
    font-size: 30px;
    display: flex;
    justify-content: start;
    align-items: center;
}
.xnn {
    position: absolute;
    top: 70px;
    left: 820px;
    height: 87px;
    width: 420px;
    font-size: 25px;
    display: flex;
    justify-content: start;
    align-items: center;
}
.xid {
    position: absolute;
    top: 95px;
    left: 1270px;
    font-size: 20px;
}
.pp1 , .pp2 , .pp3 , .pp4 , .pp5 {
    display: flex;
    justify-content: start;
    align-items: center;
}

.pp1 {
    position: absolute;
    top: 450px;
    left: 30px;
    height: 135px;
    font-size: 45px;
    width: 600px;
}
.pp2 {
    position: absolute;
    top: 722px;
    left: 30px;
    height: 135px;
    font-size: 45px;
    width: 600px;
}
.pp3 {
    position: absolute;
    top: 214px;
    left: 1050px;
    height: 190px;
    width: 450px;
    font-size: 35px;
}
.pp4 {
    position: absolute;
    top: 435px;
    left: 1050px;
    height: 190px;
    width: 450px;
    font-size: 35px;
}
.pp5 {
    position: absolute;
    top: 657px;
    left: 1050px;
    height: 190px;
    width: 450px;
    font-size: 35px;
}