body {
    margin: 0;
    padding: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    background: var(--dark);
}

header {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 50px 150px 1fr;
    box-sizing: border-box;
    width: 100%;
}

header div {
    grid-area: 1 / 1 / 2 / 13;
    z-index: 1;
    height: 50px;
}

header p {
    display: flex;
    font-size: 20px;
    margin: 0;
    padding: 0;
    align-items: center;
    color: var(--midLight);
}

#logo {
    align-items: center;
    height: 40px;
    margin: 5px 10px 5px 5px;
}

#main-image01 {
    display: block;
    width: 100%;
    grid-area: 2 / 1 / 4 / 13;
    z-index: -1;
    object-fit: contain;
    margin: 0 auto;
}
#main-image1 {
    display: block;
    width: 100%;
    grid-area: 2 / 1 / 4 / 13;
    z-index: 0;
    object-fit: contain;
    margin: 0 auto;
}

#middle-grid {
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 1fr;
    gap: 0px 0px;
    margin: 0;
}

#fade-left {
    grid-area: 1 / 1 / 2 / 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, var(--midDark), 25%, var(--light));
    z-index: 2;
}

#fade-right {
    grid-area: 1 / 12 / 2 / 13;
    display: flex;
    align-items: center;
    background: linear-gradient(to left, var(--midDark), 25%, var(--light));
    z-index: 2;
}

#parent {
    grid-area: 1 / 2 / 2 / 12;
    display: flex;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 60px;
    background: var(--light);
    color: var(--dark);
}
#text {
    max-width: 750px;
    margin: 0 auto;
}
.l{float:left; margin-right: 15px; margin-top: 15px; width: 170px;}
.r{float:right; margin-left: 15px; margin-bottom: 15px; width: 130px;}
#parent::after {
    content: "";
    display: table;
    clear: both;
}
#p1 {
    padding: 0px;
    margin: 0px auto;
}
#p2 {
    padding: 15px 0px 0px 0px;
    margin: 0px;
}

#main-image2 {
    display: block;
    width: 100%;
    object-fit: contain;
    margin: 0 auto;
}

#photoText {
    max-width: 750px;
    padding:20px;
    margin: 0 auto;
    color: var(--midLight);
}

#photos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    row-gap: 15px;
    column-gap: 10px;
    max-width: 1000px;
    margin: 0 auto;
}

#photos a {
    display: flex;
    align-items: stretch;
    text-decoration: inherit;
    color: inherit;
}

.photo {
    width: 150px;
    padding: 10px 5px 5px 5px;
    background-color: var(--midDark);
    box-shadow: 0 0 5px var(--midLight);
    color: var(--midLight);
    border-radius: 10px;
}
.photo:hover {
    background-color: black;
    box-shadow: 0 0 15px var(--light);
}

.photo img {
    width: 140px;
    margin: auto;
    display: block;
    border-radius: 5px;
}

footer {
    margin-top: 100px;
    padding: 10px;
    text-align: center;
    background-color: var(--light);
    font-size: 12px;
}

@media screen and (min-width: 600px) {
    #fade-left {
        grid-area: 1 / 2 / 2 / 3;
    }
    #fade-right {
        grid-area: 1 / 11 / 2 / 12;
    }
    #parent {
        grid-area: 1 / 3 / 2 / 11;
    }
    .l {
        width: 200px;
    }
    .r {
        width: 150px;
    }

    #photos {
        row-gap: 25px;
        column-gap: 25px;
    }
    
    .photo {
        width: 160px;
        box-shadow: 0 0 10px var(--midLight);
    }

    .photo:hover {
        box-shadow: 0 0 25px var(--light);
    }
    
    .photo img {
        width: 150px;
        border-radius: 5px;
    }
}

@media screen and (min-width: 800px) {
    header {
        max-height: 1114px;
    }

    header div {
        grid-area: 2 / 1 / 3 / 13;
        height: 150px;
    }

    #logo {
        margin: 0px 40px 0px 75px;
        height: 100px;
        align-items: center;
    }

    header p {
        font-size: 32px;
        padding: 0;
        color: var(--dark);
    }

    #main-image01 {
        grid-area: 1 / 1 / 4 / 13;
        width: 100%;
        max-height: 100vh;
        object-fit: cover;
        align-self: start;
        justify-self: center;
    }
    #main-image1 {
        grid-area: 1 / 1 / 4 / 13;
        width: 100%;
        max-height: 100vh;
        object-fit: cover;
        align-self: start;
        justify-self: center;
    }

    #main-image2 {
        width: 100%;
        max-height: 100vh;
        object-fit: cover;
    }

    #fade-left {
        grid-area: 1 / 3 / 2 / 4;
    }
    #fade-right {
        grid-area: 1 / 10 / 2 / 11;
    }
    #parent {
        grid-area: 1 / 4 / 2 / 10;
        padding-bottom: 100px;
    }
    .l {
        width: 250px;
    }
    .r {
        width: 180px;
    }

    .photo {
        width: 220px;
    }

    .photo img {
        width: 220px;
    }
}

@media screen and (min-width: 1080px) {
    header p {
        font-size: 40px;
    }

    .l {
        width: 300px;
    }
    .r {
        width: 200px;
    }
}

@media screen and (min-width: 1180px) {
    header p {
        font-size: 48px;
    }

    #logo {
        margin: 0px 60px 0px 100px;
        height: 100px;
    }

    .l {
        width: 350px;
    }
    .r {
        width: 230px;
    }
}

@media screen and (min-width: 2000px) {
    #logo {
        padding-left: calc((100vw - 2000px) / 2);
    }
    #main-image01 { 
        width: 2000px;
        object-fit: cover;
    }
    #main-image1 { 
        width: 2000px;
        object-fit: cover;
    }
    #main-image2 { 
        width: 2000px;
        object-fit: cover;
    }
}

@media screen and (min-height: 1114px) {
    #main-image01 {
        max-height: 1114px;
        object-fit: cover;
    }
    #main-image1 {
        max-height: 1114px;
        object-fit: cover;
    }
}

@media screen and (min-height: 1312px) {
    #main-image2 {
        max-height: 1312px;
        object-fit: cover;
    }
}