@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.cdnfonts.com/css/minecraft-4');

:root {
    --atlatszo-fekete2: rgba(0, 0, 0, 0.301);
}

.aboutusSzoveg {
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    -webkit-user-select: none; 
    -ms-user-select: none; 
    user-select: none; 
}

.bevezeto {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10%;
}

.bevezetoFo {
    display: flex;
    flex-direction: column;
    font-size: 23px;
    font-family: "Poppins", sans-serif;
    text-align: center;
    margin-bottom: 20px;
    background-color: var(--atlatszo-fekete2);
    padding: 15px;
    margin: 0 15% 10px;
    border-radius: 20px 20px 10px 10px;
}

.bevezetoContent {
    display: flex;
    justify-content: center;
    gap: 5%;
    width: 100%;
    max-width: 1200px;
    transition: display 1s;
}

.bevezetoalt, .bevezetoalt2 {
    font-size: 18px;
    font-family: "Libre Franklin", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    text-align: left;
    background-color: var(--atlatszo-feher);
    padding: 15px;
}

.bevezetoalt{
    margin: 0 0 0 2.5%;
    border-radius: 20px 5px 5px 20px;
}

.bevezetoalt2{
    margin: 0 2.5% 0 0;
    border-radius: 5px 20px 20px 5px;
}

.bevezetoalt, .bevezetoalt2, .bevezetoFo{
    text-shadow: 0 0 10px rgba(0, 0, 0, .75);
}

.category3 {
    height: auto;
}

.categoryText2 {
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    width: 100%;
    height: auto;
    padding: 2px 0 5px;
    transition: transform 1s ease, box-shadow 0.3s linear, width 0.5s, height 0.5s;
}

.categoryText2:hover {
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
    transform: translateY(-10px);
    transition: transform 0.3s linear, box-shadow 0.3s linear;
    cursor: pointer;
}

.Category2 {
    opacity: 0;
    padding: 1% 15%;
    margin: 1.5% 0 0 0;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-areas:
        "categoryLobby categorySkypvp"
        "categoryDuel categoryCreative";
    gap: 30px;
    transform: translateY(-100px);
    transition: opacity 1s ease-out, transform 1s ease-out, display 0.5s;
}

.Category2.show {
    opacity: 1;
    transform: translateY(0);
    animation: Category2 2s ease-out 1s;
}

@keyframes Category2 {
    0%, 100% {
        transform: translateY(0);
    }
    10% {
        transform: translateY(5px);
    }
    20% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(5px);
    }
    40% {
        transform: translateY(0);
    }
}

.categoryLobby {
    grid-area: categoryLobby;
}

.lobbyImg {
    padding: 0;
    box-shadow: none;
    overflow-y: hidden;
}

.categoryDuel {
    grid-area: categoryDuel;
}

.categorySkypvp {
    grid-area: categorySkypvp;
}

.categoryCreative {
    grid-area: categoryCreative;
}
.categoryText2{
    width: 100%;
    height: 100%;

}
.categoryText3 {
    font-family: "Libre Franklin", sans-serif;
    font-weight: 600;
    margin: 0;
    padding: 0 20% 8px;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.3s ease, font-size 0.5s;
}

.Category2 {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

.categoryTextTitle {
    display: block;
    font-size: 25px;
    text-shadow: 0.5px 0.5px 3px rgba(0, 0, 0, 0.75);
    letter-spacing: 5px;
    margin: 5px 0;
    font-family: "Minecraft", sans-serif;
    transition: font-size 0.5s;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    .categoryText2 {
        width: 100%;
        height: 100%;
    }

    .bevezetoContent {
        flex-direction: column;
        align-items: center;
    }
    .bevezetoalt, .bevezetoalt2 {
        width: 60%;
        padding: 10px 0;
        text-align: center;
        margin: 5px;
        padding: 13px;
        font-size: 16px;
    }
    .bevezetoalt{
        border-radius: 20px 20px 5px 5px;
    }
    .bevezetoalt2{
        border-radius: 5px 5px 20px 20px;
    }
    .bevezetoFo{
        padding: 7.5px;
        margin: 0 7% 10px;
        font-size: 18px;
    }
    .Category2{
        display: flex;
        flex-direction: column;
        opacity: 1;
        transform: translateY(0);
    }
}
