html {
    font-family: "Viga";
}

body {
    padding: 0px;
    margin: 0px
}

.main-header-ctn {
    background-image: url(assets/img/activity-bg.jpg);
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.grey-ctn {
    height: 100vh;
    position: absolute;
    top: 0px;
    right: 0px;
    left: 0px;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.main-header {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 1;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 120px;
    padding-right: 120px;
    padding-top: 25px;
    color: white;
}

.header img {
    height: 80px;
    width: 80px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.header a {
    padding-left: 60px;
    font-size: 24px;
    text-decoration: none;
    color: white;
}

.header a:hover {
    cursor: pointer;
    color: #af8548;
}

.main-together-ctn {
    font-size: 16px;
    color: white;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    z-index: 1;
}

@font-face {
    font-family: "Viga";
    src: url("assets/fonts/viga/Viga-Regular.ttf") format("truetype");
    font-style: normal;
}

.card-container {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flip-card {
    /* width: 300px;
    height: 375px; */
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    height: 325px;
    width: 275px;
}

.flip-card-inner {
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.flip-card-front {
    border: 1px solid #af8548;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    font-size: 24px;
    border-radius: 10px;
    text-align: center;
    color: #af8548;

    &:hover {
        cursor: pointer;
        filter: brightness(0.70);
    }
}

.flip-card-front img {
    height: 40px;
    width: 40px;
    filter: brightness(0) invert(1);
    margin-bottom: 12px;
}

.flip-card-front span {
    font-size: 14px;
}

.flip-card-back {
    border: 1px solid #af8548;
    color: white;
    padding: 20px;
    text-align: left;
    border-radius: 10px;
    box-sizing: border-box;
    transform: rotateY(180deg);
    font-size: 13px;
}

.flip-card-back a {
    text-decoration: none;
    color: #af8548;
    font-style: italic;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

h2 {
    margin: 0;
    text-align: center;
    color: white;
    padding-top: 25px;
    background-color: white;
    color: #af8548;
    font-size: 34px;
}

@media (max-width: 1350px) {
    .header {
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media (max-width: 1200px) {
    .main-together-ctn {
        height: 100%;
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
        margin-top: 150px;
        margin-bottom: 50px;
    }

    .main-header-ctn {
        height: auto;
        min-height: 100vh;
    }

    .grey-ctn {
        height: 100%;
        inset: 0;
    }
}

@media (max-width: 650px) {

    .main-together-ctn {
        grid-template-columns: repeat(1, 1fr);
    }
}