@font-face {
    font-family: 'KBO Dia Gothic';
    src: url('../fonts/KBO-Dia-Gothic.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'KBO Dia Gothic', sans-serif;
    background-color: #6E0C1F;
    color: #B07F4A;
    margin: 0;
    overflow-x: hidden;
}

.content {
    background-color: #B07F4A;
    margin: 40px;
    padding: 80px;
    color: #6E0C1F;
}

.team-name {
    text-align: center;
    margin-bottom: 80px;
    font-size: clamp(24px, 4vw, 36px);
}

.main-section {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.left-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 300px;
    gap: 60px;
}

.logo-box {
    width: min(40vw, 600px);
    height: min(40vw, 400px);
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.team-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.description {
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: 1.5;
    max-width: 600px;
    text-align: center;
}

.how-to-btn {
    width: fit-content;
    padding: 8px 16px;
    font-size: clamp(12px, 1.2vw, 16px);
    min-width: 100px;
    max-width: 200px;
    background-color: #D9D9D9;
    color: black;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.right-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 300px;
    line-height: 1.4;

}

.player-box {
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-align: center;
    color: #6E0C1F;
    margin-bottom: 40px;
}

.player-image {
    width: min(40vw, 300px);
    height: min(40vw, 300px);
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background-color: #D9D9D9;
    display: block;

}

.player-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.player-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    margin-top: 10px;
    color: #6E0C1F;
}

.player-info .name {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 6px;
}

.player-info .desc {
    font-size: 0.95em; 
}


@media (max-width: 768px) {
    .content {
        margin: 20px;
        padding: 20px;
    }
    .main-section {
        flex-direction: column;
        align-items: center;
    }

    .right-section,
    .left-section {
        align-items: center;
        text-align: center;
    }
    .logo-box,
    .player-image {
        width: 70vw;
        height: auto;
    }

    .player-image {
        border-radius: 12px;
    }

    .player-box {
        gap: 20px;
    }
}



