/* Professional Artist Vision Board */

/* Use relative units instead of px */
body {
    background-color: #0b0b0f;
    color: #f5f5f5;
    font-family: 'Roboto', sans-serif;
    margin: 5%;
    padding: 3%;
}

/* Main heading */
#main-heading {
    font-family: 'Great Vibes', cursive;
    color: #87CEEB;
    text-align: center;
    text-decoration: underline;
    font-size: 5vw;
    margin: 3%;
}

/* Heading hierarchy */
h1,
h2,
h3 {
    font-family: 'Great Vibes', cursive;
    color: #87CEEB;
    text-align: center;
    text-decoration: underline;
}

h2 {
    font-size: 3vw;
    margin: 2%;
}

h3 {
    font-size: 2.5vw;
}

/* Group related content together */
.panel {
    background-color: #1c1c24;
    border: 0.2vw solid #4A90E2;
    border-radius: 2vw;

    /* CSS Box Model */
    padding: 4%;
    margin: 4%;

    /* Visual separation */
    box-sizing: border-box;
}

/* Body text */
p,
li {
    font-family: 'Roboto', sans-serif;
    font-size: 1.3vw;
    line-height: 1.6;
}

ul {
    padding-left: 3%;
}

/* Images */
.panel img {
    display: block;
    width: 60%;
    max-width: 100%;
    height: auto;
    margin: 3% auto;
    border-radius: 2%;
}

/* Hover effect */
.panel:hover {
    background-color: #252533;
}

/* =========================
   FLEXBOX PHOTO GALLERY
   ========================= */

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;

    /* Box Model */
    margin: 5%;
    padding: 3%;

    gap: 3%;
}

/* Gallery items */
.gallery-item {
    width: 28%;
    background-color: #1c1c24;
    border: 0.2vw solid #4A90E2;
    border-radius: 2vw;

    padding: 2%;
    margin: 2%;

    text-align: center;
    box-sizing: border-box;
}

/* Gallery images */
.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 1vw;
}

/* Gallery headings */
.gallery-item h3 {
    color: #87CEEB;
    font-size: 2vw;
}

/* Gallery hover */
.gallery-item:hover {
    background-color: #252533;
    transform: scale(1.03);
    transition: 0.3s;
}

/* =========================
   RESPONSIVE DESIGN
   ========================= */

@media (max-width: 768px) {

    .gallery-item {
        width: 42%;
    }

    p,
    li {
        font-size: 2.5vw;
    }

    h2 {
        font-size: 5vw;
    }

    h3 {
        font-size: 4vw;
    }
}

@media (max-width: 500px) {

    .gallery-item {
        width: 85%;
    }

    p,
    li {
        font-size: 4vw;
    }

    #main-heading {
        font-size: 9vw;
    }

    h2 {
        font-size: 7vw;
    }
}