@import url("global-variables.css");

.header {
    color: var(--dark-color);
    font-weight: bold;
}

.header-title {
    font-size: 3em;
}

.header-desc {
    font-size: 1.4em;
}

.preview-box {
    display: flex;
    justify-content: center;
}

.preview {
    width: 50%;
    height: auto;

    border-radius: 50px;
}

.preview-rps {
    aspect-ratio: 16/9;
}

.summary-box {
    color: var(--dark-color);
    font-weight: bold;
}

.summary-title {
    font-size: 2em;
}

.summary-desc {
    font-size: 1.2em;
}

.summary-display {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.summary-display-img {
    height: 400px;
    width: auto;
}

.summary-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 50px;
    width: 100%;
}

.summary-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    width: 100%;
}

.summary-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    width: 100%;
}

.summary-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    width: 100%;
}

.summary-grid-img {
    width: 100%;
    height: auto;

    border-radius: 10px;
}

.learned-title {
    color: var(--dark-color);
    font-weight: bold;
    font-size: 2em;
}

.learned-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.learned-grid-item {
    height: 50px;
    background-color: var(--dark-color);
    
    border-radius: 24px;

    display: flex;
    flex-direction: row;
    align-items: center;
}

.learned-grid-item-img {
    height: 30px;
    filter: invert(76%) sepia(71%) saturate(303%) hue-rotate(350deg) brightness(92%) contrast(93%);

    padding: 0 10px;
}

.learned-grid-item-desc {
    color: var(--text-color);

    font-weight: bold;
    font-size: 1.2em;
}

@media screen and (min-width: 1200px) { /* big screen */
    .popup-box {
        flex-direction: row;
    }

    .popup-img {
        height: 100%;
        width: auto;
    }
}

@media screen and (max-width: 1200px) { /* small screen */
    .popup-box {
        flex-direction: column;
    }

    .popup-img {
        height: 50%;
        width: auto;
    }
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, .8);

    /* display: flex; */
    justify-content: center;
    align-items: center;
}

.popup-box {
    display: flex;
    align-items: center;
    gap: 25px;

    width: 90%;
    height: 90%;
}

.popup-img {
    border-radius: 20px;
}

.popup-desc {
    color: var(--text-color);

    font-weight: bold;
    font-size: 1.2em;
}

.popup-x {
    position: fixed;
    top: 10px;
    right: 10px;

    height: 40px;
    width: 40px;

    filter: invert(76%) sepia(71%) saturate(303%) hue-rotate(350deg) brightness(92%) contrast(93%);
}

.app-icon {
    display: flex;
    justify-content: center;

    height: 100px;
    width: auto;
    corner-shape: squircle;
    border-radius: 22%;
}