@import url('colors.css');

/* body {
    background-image: url('/images/website_background.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
} */

body {
    /* background-color: #181A20; */
}

.flex-center {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.title {
    color: var(--background_color);
    text-align: center;
    font-size: 10vw;
}

.btn {
    background-color: var(--yellow1);
    font-weight: bolder;
    border-radius: 2em;
    font-size: 2.5vw;
    cursor: pointer;
}

.btn:hover {
    background-color: white;
    color: black;
}

.main-card {
    border: 0.1em solid white;
    /* background-color: var(--background_color); */
    margin: 1%;
    width: 80vw;
    -webkit-box-shadow:
        0 2px 4px 0 rgba(0, 0, 0, 0.6),
        /* Darker outer shadow */
        0 8px 12px 0 rgba(0, 0, 0, 0.4),
        /* Softer outer shadow */
        0 -2px 4px 1px rgba(255, 255, 255, 0.5) inset,
        /* Light inner glow */
        0 2px 4px 1px rgba(255, 255, 255, 0.1) inset;
    /* Softer light inner glow */
    ;
    -moz-box-shadow:
        0 2px 4px 0 rgba(0, 0, 0, 0.6),
        0 8px 12px 0 rgba(0, 0, 0, 0.4),
        0 -2px 4px 1px rgba(255, 255, 255, 0.5) inset,
        0 2px 4px 1px rgba(255, 255, 255, 0.2) inset;
    box-shadow:
        0 2px 4px 0 rgba(0, 0, 0, 0.6),
        0 8px 12px 0 rgba(0, 0, 0, 0.4),
        0 -2px 4px 1px rgba(255, 255, 255, 0.5) inset,
        0 2px 4px 1px rgba(255, 255, 255, 0.4) inset;

    background: rgba(255, 255, 255, 0.2);
    /* Transparent white */
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
    /* Blur effect for glass */
    -webkit-backdrop-filter: blur(10px);
    /* Safari support */
    border: 1px solid rgba(0, 0, 0, 0.3);
    /* Light border */
}

.main-card-title {
    text-align: center;
    margin: 1%;
    color: var(--background_color);
    font-weight: bold;
    text-decoration: underline;
    font-size: 6vw;
}

.card-list-div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.tutorial-card {
    padding: 2em;
    margin: 1rem;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    width: 20vw;
    height: 25vh;
    border: 0.2em solid white;
}

.tutorial-card-item {
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: 2vw;
}

.about-card {
    margin-bottom: 10vh;
    /* border: 0.5em solid var(--yellow1); */
    background-color: white;
    width: 80vw;
}

.about-card-info {
    background-color: gainsboro;
    padding: 1%;
    margin: 1%;
    -webkit-box-shadow:
        0 2px 4px 0 rgba(72, 72, 72, 0.83),
        0 10px 15px 0 rgba(126, 126, 126, 0.12),
        0 -2px 6px 1px rgba(199, 199, 199, 0.55) inset,
        0 2px 4px 2px rgba(255, 255, 255, 0.83) inset;
    -moz-box-shadow:
        0 2px 4px 0 rgba(72, 72, 72, 0.83),
        0 10px 15px 0 rgba(126, 126, 126, 0.12),
        0 -2px 6px 1px rgba(199, 199, 199, 0.55) inset,
        0 2px 4px 2px rgba(255, 255, 255, 0.83) inset;
    box-shadow:
        0 2px 4px 0 rgba(72, 72, 72, 0.83),
        0 10px 15px 0 rgba(126, 126, 126, 0.12),
        0 -2px 6px 1px rgba(199, 199, 199, 0.55) inset,
        0 2px 4px 2px rgba(255, 255, 255, 0.83) inset;
}

.about-card-title {
    font-weight: bold;
    color: var(--black);
    text-decoration: underline;
}

.about-card-content {
    color: var(--black);
    text-align: start;
    margin-left: 5%;
    margin-right: 5%;
}

.yellow-span {
    background-color: var(--yellow1);
    width: 60vw;
}

.about-card-img {
    width: 30vw;
}


/* For mobile devices (portrait orientation) */
@media (max-width: 768px) {

    .title {
        font-size: 20vw;
    }

    .btn {
        font-size: 4vw;
    }

    .main-card {
        width: 80vw;
    }

    .main-card-title {
        font-size: 8vw;
    }

    .tutorial-card {
        width: 80vw;
        height: 20vh;
    }

    .tutorial-card-item {
        font-size: 7vw;
    }

    .about-card {
        width: 80vw;
    }

    .yellow-span {
        width: 60vw;
    }

    .about-card-img {
        width: 30vw;
    }
}