/* =====================================================
   SCREEN DIARY
===================================================== */


/* ===== PAGE ===== */

.screen-diary-page {
    background-color: lavender;
}


/* ===== INTRODUCTION ===== */

.screen-intro {
    text-align: center;
    margin-bottom: 30px;
}

.screen-intro h2 {
    font-family: "cheri", sans-serif;
    font-size: 28px;
    color: #ff69b4;
    margin-top: 0;
    margin-bottom: 20px;
}

.screen-intro p {
    font-family: "candy", sans-serif;
    font-size: 17px;
    line-height: 1.5;
    color: #4b3b5a;
}


/* ===== TABS ===== */

.screen-tabs {
    display: flex;
    width: 100%;
    gap: 10px;
    margin-top: 30px;
    margin-bottom: 25px;
}

.screen-tab-button {
    flex: 1;

    padding: 14px 10px;

    border: none;
    border-radius: 10px;

    background-color: #ffd6eb;
    color: hotpink;

    font-family: "lemonmilk", sans-serif;
    font-size: 15px;

    cursor: pointer;

    transition: 0.2s ease;
}

.screen-tab-button:hover {
    background-color: #ffb6d9;
    color: white;
}

.screen-tab-button.active {
    background-color: hotpink;
    color: white;
}


/* ===== TAB CONTENT ===== */

.screen-tab-content {
    display: none;
}

.screen-tab-content.active {
    display: block;
}


/* ===== SECTION TITLE ===== */

.screen-tab-content > h2 {
    text-align: center;

    font-family: "cheri", sans-serif;
    font-size: 25px;

    color: #ff69b4;

    margin-bottom: 25px;
}


/* ===== GALLERY ===== */

.screen-gallery {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    align-items: start;
}


/* ===== SHOW / MOVIE CARD ===== */

.screen-item {
    text-align: center;
}


/* ===== COVER IMAGE ===== */

.screen-item img {
    display: block;

    width: 100%;
    max-width: 180px;
    height: auto;

    margin: 0 auto;

    border-radius: 10px;

    cursor: pointer;

    transition: transform 0.2s ease;
}


/* ===== COVER HOVER ===== */

.screen-item img:hover {
    transform: scale(1.05) rotate(2deg);
}


/* ===== TITLE ===== */

.screen-item h3 {
    margin-top: 10px;

    font-family: "candy", sans-serif;
    font-size: 17px;

    color: #4b3b5a;
}


/* ===== MOBILE ===== */

@media (max-width: 700px) {

    .screen-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

}
