* {
    scroll-behavior: smooth;
}
.navbar {
    position: fixed;
    z-index: 1000;
    width: 100%;
    background: linear-gradient(to right, #243B55, #141E30) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}
.bg {
    padding-top: 100px;
    background-attachment: fixed;
    background-color: rgba(229, 229, 229, 0.1);
    background-size: cover;
    background-blend-mode: overlay;
    background-image: url("../img/bg.jpg");
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
}
.bg2 {
    background: #ffffff;
}
.rules {
    padding-left: 10rem !important;
    padding-right: 10rem !important;
}
.rules p {
    line-height: 1.5;
    color: #e2e2e2;
    letter-spacing: 2px;
}
.btn1:hover {
    background: rgba(231, 105, 94, 0.9) !important;
    border: 1px solid #e76b5e;
}
.btn2 {
    background: rgba(0, 140, 186, 0.08) !important;
    backdrop-filter: blur(5px);
    color: #008cba;
}
.btn2:hover {
    background: #008cba !important;
}
iframe {
    margin-top: 1.4rem;
    width: 100%;
    aspect-ratio: 16/9;
}
.bg3 {
    background-size: cover;
    background-attachment: fixed;
    background-blend-mode: overlay;
    background-image: url("https://s3.bmp.ovh/imgs/2023/01/15/9aa2247ab55dbb76.png");
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
    background-position: center;
}
.bg3 > div {
    padding: 5.5rem !important;
}
.card {
    user-select: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 230px;
    background-color: rgba(255, 255, 255, 0.9);
    background-blend-mode: overlay;
    background-image: url("../img/card-bg.jpeg");
    background-size: cover;
    backdrop-filter: blur(8px);
    border: 3px solid #ffffff;
    border-radius: 8px;
    padding: 2rem 2.5rem 2.2rem 2.5rem;
    box-shadow: 1.3px 1.5px 2.2px rgba(0, 0, 0, 0.02), 3.2px 3.5px 5.3px rgba(0, 0, 0, 0.028), 6px 6.6px 10px rgba(0, 0, 0, 0.035), 10.7px 11.8px 17.9px rgba(0, 0, 0, 0.042), 20.1px 22.1px 33.4px rgba(0, 0, 0, 0.05), 48px 53px 80px rgba(0, 0, 0, 0.07);
}
.card img {
    width: 86px;
    height: 86px;
    border: 3px solid #ffffff;
    border-radius: 7px;
}
.card .inf {
    margin-top: 14px;
    text-align: center;
}
.card .p {
    text-align: center;
    font-size: 17px;
    margin-top: 1rem;
}
.card:hover {
    transition: 0.3s ease-out;
    transform: scale(1.06);
    background-color: #ffffff;
}
.card:active {
    transition: 0.3s ease-out;
    transform: scale(0.95);
}
.card:nth-child(2) {
    background-image: url("../img/card-bg3.jpg");
}
.card:nth-child(3) {
    background-image: url("../img/card-bg4.jpeg");
}

.photo-wall {
    padding-top: 0 !important;
}

.hidden-items {
    display: none !important;
}
.toggle-btn {
    width: 150px;
    margin: 1rem auto;
}
footer {
    background: linear-gradient(45deg, #243B55, #141E30);
}
footer p {
    margin: 0;
    color: #e2e2e2;
}
@media (max-width: 768px) {
    .bg2 {
        padding-bottom: 2rem;
    }
    .bg3 > div {
        padding: 2rem !important;
    }
    .bg3 > div > div {
        gap: 15px !important;
    }
    .bg3 .card {
        padding: 1rem;
        width: 154px;
    }
    .bg3 .card img {
        width: 60px;
        height: 60px;
    }
    .bg3 .card .p {
        margin-top: 0;
        font-size: 12px;
    }
    .rules {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
    iframe {
        margin-top: 1.4rem;
        width: 100%;
        height: 95%;
    }
}
