:root {
    --header-font: 'Cormorant', serif;
}

/* Header section */
header {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}
header picture {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}
header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 2000ms ease;
}
#header-background {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
}
#header-intro {
    font-size: 18px;
    margin: 0;
    padding: 0;
}

/* Sections */
.scale-section {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
}
.scale-section picture {
    width: 100%;
    height: 100%;
}
.scale-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 2000ms ease;
}
.scale-section h2 {
    font-family: var(--header-font);
    font-size: 25px;
    margin: 0px 0px 10px 0px;
}
.scale-section p {
    margin: 0;
}
#dev-section div {
    z-index: 1;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background-color: rgba(0, 0, 0, 0.4);
}
#seo-section div {
    z-index: 1;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background-color: rgba(0, 0, 0, 0.4);
}
#maintenance-section div {
    z-index: 1;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background-color: rgba(0, 0, 0, 0.45);
}
#ads-section div {
    z-index: 1;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
}
#media-section div {
    z-index: 1;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background-color: rgba(0, 0, 0, 0.3);
}

/* Small screens (Mobile) */
@media only screen and (max-width: 600px) {
    /* Header Section */
    #header-article {
        position: absolute;
        bottom: 30%;
        left: 8%;
        right: 8%;
        z-index: 1;
        width: 84%;
        text-align: center;
        display: flex;
        flex-flow: column wrap;
        align-items: center;
        justify-content: center;
        color: white;
    }
    h1 {
        font-size: 40px;
        font-family: var(--header-font);
        margin: 0;
    }

    /* Dev Section */
    #dev-section article {
        position: absolute;
        top: 20%;
        left: 4%;
        right: 4%;
        width: 92%;
        z-index: 2;
        color: white;
        border: 1px solid lightgray;
        box-shadow: 2px 2px 2px lightgray, -2px -2px 2px lightgray; 
        padding: 20px;
    }

    /* SEO Section */
    #seo-section article {
        position: absolute;
        top: 20%;
        left: 4%;
        right: 4%;
        width: 92%;
        z-index: 2;
        color: white;
        border: 1px solid lightgray;
        box-shadow: 2px 2px 2px lightgray, -2px -2px 2px lightgray; 
        padding: 20px;
    }

    /* Maintenance Section */
    #maintenance-section article {
        position: absolute;
        top: 20%;
        left: 4%;
        right: 4%;
        width: 92%;
        z-index: 2;
        color: white;
        border: 1px solid lightgray;
        box-shadow: 2px 2px 2px lightgray, -2px -2px 2px lightgray; 
        padding: 20px;
    }

    /* Ads Section */
    #ads-section article {
        position: absolute;
        top: 20%;
        left: 4%;
        right: 4%;
        width: 92%;
        z-index: 2;
        color: white;
        border: 1px solid lightgray;
        box-shadow: 2px 2px 2px lightgray, -2px -2px 2px lightgray; 
        padding: 20px;
    }

    /* Media Section */
    #media-section article {
        position: absolute;
        top: 20%;
        left: 4%;
        right: 4%;
        width: 92%;
        z-index: 2;
        color: white;
        border: 1px solid lightgray;
        box-shadow: 2px 2px 2px lightgray, -2px -2px 2px lightgray; 
        padding: 20px;
    }
}

/* Medium screens (Tablets) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    /* Header Section */
    #header-article {
        position: absolute;
        bottom: 30%;
        left: 25%;
        right: 25%;
        z-index: 1;
        width: 50%;
        text-align: center;
        display: flex;
        flex-flow: column wrap;
        align-items: center;
        justify-content: center;
        color: white;
    }
    #about-year {
        font-family: var(--roboto-font);
        margin: 0;
        padding: 0;
        font-size: 17px;
    }
    h1 {
        font-size: 50px;
        font-family: var(--header-font);
        margin: 0;
    }

    /* Dev Section */
    #dev-section article {
        position: absolute;
        top: 20%;
        left: 25%;
        right: 25%;
        width: 50%;
        z-index: 2;
        color: white;
        border: 1px solid lightgray;
        box-shadow: 2px 2px 2px lightgray, -2px -2px 2px lightgray; 
        padding: 20px;
    }

    /* SEO Section */
    #seo-section article {
        position: absolute;
        top: 20%;
        left: 25%;
        right: 25%;
        width: 50%;
        z-index: 2;
        color: white;
        border: 1px solid lightgray;
        box-shadow: 2px 2px 2px lightgray, -2px -2px 2px lightgray; 
        padding: 20px;
    }

    /* Maintenance Section */
    #maintenance-section article {
        position: absolute;
        top: 20%;
        left: 25%;
        right: 25%;
        width: 50%;
        z-index: 2;
        color: white;
        border: 1px solid lightgray;
        box-shadow: 2px 2px 2px lightgray, -2px -2px 2px lightgray; 
        padding: 20px;
    }

    /* Ads Section */
    #ads-section article {
        position: absolute;
        top: 20%;
        left: 25%;
        right: 25%;
        width: 50%;
        z-index: 2;
        color: white;
        border: 1px solid lightgray;
        box-shadow: 2px 2px 2px lightgray, -2px -2px 2px lightgray; 
        padding: 20px;
    }

    /* Media Section */
    #media-section article {
        position: absolute;
        top: 20%;
        left: 25%;
        right: 25%;
        width: 50%;
        z-index: 2;
        color: white;
        border: 1px solid lightgray;
        box-shadow: 2px 2px 2px lightgray, -2px -2px 2px lightgray; 
        padding: 20px;
    }
}

/* Large screens (Desktops) */
@media only screen and (min-width: 1025px) {
    /* Header Section */
    #header-article {
        position: absolute;
        bottom: 30%;
        left: 30%;
        right: 30%;
        z-index: 1;
        width: 40%;
        text-align: center;
        display: flex;
        flex-flow: column wrap;
        align-items: center;
        justify-content: center;
        color: white;
    }
    h1 {
        font-size: 60px;
        font-family: var(--header-font);
        margin: 0;
    }

    /* Dev Section */
    #dev-section article {
        position: absolute;
        top: 20%;
        left: 30%;
        right: 30%;
        width: 40%;
        z-index: 2;
        color: white;
        border: 1px solid lightgray;
        box-shadow: 2px 2px 2px lightgray, -2px -2px 2px lightgray; 
        padding: 20px;
    }

    /* SEO Section */
    #seo-section article {
        position: absolute;
        top: 20%;
        left: 30%;
        right: 30%;
        width: 40%;
        z-index: 2;
        color: white;
        border: 1px solid lightgray;
        box-shadow: 2px 2px 2px lightgray, -2px -2px 2px lightgray; 
        padding: 20px;
    }

    /* Maintenance Section */
    #maintenance-section article {
        position: absolute;
        top: 20%;
        left: 30%;
        right: 30%;
        width: 40%;
        z-index: 2;
        color: white;
        border: 1px solid lightgray;
        box-shadow: 2px 2px 2px lightgray, -2px -2px 2px lightgray; 
        padding: 20px;
    }

    /* Ads Section */
    #ads-section article {
        position: absolute;
        top: 20%;
        left: 30%;
        right: 30%;
        width: 40%;
        z-index: 2;
        color: white;
        border: 1px solid lightgray;
        box-shadow: 2px 2px 2px lightgray, -2px -2px 2px lightgray; 
        padding: 20px;
    }

    /* Media Section */
    #media-section article {
        position: absolute;
        top: 20%;
        left: 30%;
        right: 30%;
        width: 40%;
        z-index: 2;
        color: white;
        border: 1px solid lightgray;
        box-shadow: 2px 2px 2px lightgray, -2px -2px 2px lightgray; 
        padding: 20px;
    }
}