html {
    min-height: 100%;
}

body {
    min-height: 100%;
    box-sizing: border-box;
    background-image: radial-gradient(#202020 1px, transparent 1px), radial-gradient(#202020 1px, transparent 1px);
    background-size: 10px 10px;
    background-position: 0 0, 5px 5px;
    background-color: #0f0f0f;
}

button {
    background-color: #282127;
    border: 1px dashed rgb(250, 250, 250);
}

button:hover {
    background-color: rgb(250, 250, 250);
    color: #282127;
    transition: .6s ease-in-out;
}

select {
    background-color: #282127;
    border: 1px solid rgb(250, 250, 250);

}

input,
textarea {
    background-color: #282127;
    border: 1px solid rgb(250, 250, 250);
    width: 100%;

}

input:focus,
textarea:focus {
    background-color: rgb(250, 250, 250);
    border: 1px solid rgb(250, 250, 250);
    color: #282127;
}

.wrapper {
    display: grid;
    grid-template-columns: repeat(4) 1fr;
    grid-template-rows: auto;
    grid-gap: 10px;
    margin: 0;
    padding: 4vw 8vw 4vw 8vw;
    grid-auto-rows: minmax(100px, auto);
}

.sticky {
    position: sticky;
    top: 0;
    background-image: radial-gradient(#202020 1px, transparent 1px), radial-gradient(#202020 1px, transparent 1px);
    background-size: 10px 10px;
    background-position: 0 0, 5px 5px;
    background-color: #0f0f0f;
    z-index: 9;
}

.hor-line {
    border-top: dashed;
    border-width: 1px;
    color: rgb(250, 250, 250);
    padding: 1vm 2vm 1vm 2vm;
}

.header-container {
    display: grid;
    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 1;
    grid-template-columns: 1fr;
}

/* Image Gallery */

.gallery-container {
    display: grid;
    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 2;
    grid-row-end: 2;
    padding: 2rem 0rem 2rem 0rem;
}

.imageview-container {
    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 2;
    grid-row-end: 2;
    min-height: 100%;
    padding: 3em 0em 3em 0em;

}

.img-fullscreen {

    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 50%;
    z-index: 99;

}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17rem, auto));
    grid-gap: 1.2rem;
    padding: 0 0.7rem 0 0.7rem;
}

.landingpage {
    position: relative;
    background-size: 100%;
    background-repeat: no-repeat;
    top: 0;
    height: 60vh;
    object-fit: cover;
}

.landingpage>img {

    max-width: 100%;
    height: 60vh;
    object-fit: cover;
    overflow: hidden;
    width: 100%;
}

.landingpage-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    color: white;
    transition: .6s ease-in-out;
    background-color: #282127;

}

.landingpage:hover .landingpage-overlay {
    opacity: 0.8;

}

.landingpage-overlay-text {

    font-size: 4rem;
    position: relative;
    top: 15%;
    padding: 3rem;
    text-align: center;
}

.response {
    background-color: magenta;
}

.image-gallery-hide {
    display: none;

}

.image-gallery a div {

    color: rgb(250, 250, 250);
    padding: 1rem;
    width: 100%;
    height: 100%;
}

.img-thumbs {
    border-color: rgb(250, 250, 250);
    border-style: dashed;
    border-width: 1px;
    position: relative;
    overflow: hidden;
}


.img-thumbs>img {
    object-fit: contain;
    max-width: 100%;
}

.album-cards {
    position: relative;
    overflow: hidden;
}

.album-card-container {
    position: relative;
    overflow: hidden;
    word-wrap: break-word;
}

.buybtn {
    margin-top: 1rem;
}

.pictures-card-container {
    position: relative;
    overflow: hidden;
}

.album-card-container::after {
    /* to add multiple values to content attribute
    content: attr(imageName) ' ' attr(imageDescription); */

    content: attr(imageDescription);
    position: absolute;
    display: block;
    width: 110%;
    min-height: 90%;
    background-color: #282127;
    top: 60%;
    left: 0;
    bottom: 10px;
    rotate: -10deg;
    opacity: 86%;
    padding: 1rem 4rem 2rem 2rem;
    text-align: right;
    box-shadow: 0 0 0 100% #522d5b;
}

.album-card-container>img {
    display: inline-block;
    object-fit: contain;
    max-width: 100%;
    max-height: min-content;
}

.pictures-card-container>img {
    display: inline-block;
    object-fit: contain;
    max-width: 100%;
}

.upload-container {
    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 3;
    grid-row-end: 3;
    display: grid;
    grid-template-columns: 1fr;
}

/* Footer */

.footer-container {
    display: grid;
    grid-column-start: 1;
    grid-column-end: 4;
    padding: 1rem 0.7rem 0rem 0.7rem;
    border-top: 1px dashed rgba(250, 250, 250, 1);
    max-height: 25%;
}

footer {
    display: flex;
    justify-content: space-between;
    text-align: right;
    max-width: 100%;
}

footer>div>img {
    float: left;
    display: block;
    object-fit: contain;
    max-width: 65%;
}

#footer-logos a {
    text-decoration: none;
}

/* infoboxes for prices, about and contact */
.info-boxes {
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.infobox-container {
    display: flex;
}

.infobox-container-portfolio {
    display: flex;
    margin: 0 0 1rem 0;
}

.infobox-container-prices {
    display: inline-block;
    margin: 0 0 1rem 0;
}

.infobox-container-contact {
    display: flex;
    margin: 0 2rem 1rem 0;
    width: 100%;
}

.infobox-left-contact {
    min-width: 60%;

}

.infobox-right-contact {
    flex-direction: column;
    justify-items: flex-end;
    background-color: #282127;
    padding: 2rem;
    margin-left: 2rem;
    height: fit-content;
    min-width: 40%;

}

.infobox-left {
    display: flex;
    flex-direction: column;
    overflow: clip;
    max-width: 65%;
    max-height: 50vh;

}

.infobox-left>img {
    object-fit: contain;
    max-width: 100%;
}

.infobox-right {
    display: flex;
    flex-direction: column;
    word-break: break-word;
    max-width: 35%;
    background-color: #282127;
    padding: 2rem 2rem 0 2rem;
    margin: 0rem 0rem 2rem 2rem;
}

.infobox-left-about {
    display: flex;
    flex-direction: column;
    word-break: break-word;
    max-width: 65%;
    background-color: #282127;
    padding: 2rem;
    margin: 0rem 2rem 2rem 0rem;
}


.infobox-right-about {
    display: flex;
    flex-direction: column;
    overflow: clip;
    max-width: 35%;
}

.infobox-left-portfolio-sport {
    display: flex;
    flex-direction: column;
    overflow: clip;
    max-width: 65%;
    margin-bottom: 2rem;

}

.infobox-portfolio-sport {
    display: flex;
    flex-direction: column;
    overflow: clip;
    object-fit: cover;
    max-width: 100%;
}

.infobox-portfolio-sport>img {
    max-width: 100%;
    margin-bottom: 2rem;
}

.infobox-left-portfolio,
.infobox-left-natur,
.infobox-left-menschen {
    display: flex;
    flex-direction: row;
    max-width: 33.3%;
    position: relative;
    overflow: clip;
    max-height: 50vh;
    margin-right: 1rem;
}

.infobox-left-menschen {
    margin-right: 0rem;
    overflow: hidden;
}

#response-msg {
    display: block;
}

#pic-sport-img {
    width: 100%;
    height: fit-content;
}

.infobox-left-portfolio-overlay,
.infobox-left-natur-overlay,
.infobox-left-menschen-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease-in-out;
    background-color: #282127;
}

.infobox-left-portfolio:hover .infobox-left-portfolio-overlay,
.infobox-left-portfolio:focus .infobox-left-portfolio-overlay {
    opacity: 0.7;
}

.infobox-left-natur:hover .infobox-left-natur-overlay {
    opacity: 0.7;
}

.infobox-left-menschen:hover .infobox-left-menschen-overlay {
    opacity: 0.7;
}

.infobox-left-portfolio-overlay-text {
    position: relative;
    top: 0;
    padding: 2rem;
}

.infobox-left-prices {
    display: flex;
    flex-direction: column;
    overflow: clip;
    max-width: 50%;

}

.infobox-left-impressum {
    display: flex;
    flex-direction: column;
    overflow: clip;
    max-width: 100%;

}

.infobox-right-impressum {
    display: flex;
    flex-direction: column;
    word-break: break-word;
    max-width: 50%;
    height: fit-content;
    background-color: #282127;
    padding: 2rem 2rem 0 2rem;
    margin: 0rem 0rem 2rem 2rem;
    justify-self: flex-end;
}

.infobox-right-prices {
    background-color: #282127;
    padding: 2rem;
    height: fit-content;
    margin-bottom: 1rem;
}

.form-error-msg {
    margin-top: 1rem;
    padding: 1rem;
    background-color: darkred;
    border: 1px dashed rgb(250, 250, 250);
    min-width: 100%;
}

.form-sucess-msg {
    margin-top: 1rem;
    padding: 1rem;
    background-color: darkgreen;
    border: 1px dashed rgb(250, 250, 250);
}

#upload-form {
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

#upload-form button {
    margin-top: 2rem;
}

#new-album {
    flex-direction: row;
    background-color: gray;
    margin-top: 2rem;
    padding: 3rem;
}

.goto-top {
    display: none;
    position: fixed;
    width: 4rem;
    top: 40%;
    right: 0;
    z-index: 99;
    border: none;
    outline: none;
}

.goto-top>a {
    position: absolute;
    font-size: 3rem;
    margin: 4px 0 0 5px;
    color: rgba(250, 250, 250, 1);
    font-weight: bold;
    transition: .6s ease-in-out;
}

.goto-top>a:hover {
    color: #282127;
    background-color: rgba(250, 250, 250, 1);
    transition: .6s ease-in-out;
}

/* //////////////////////////////////////////////////////// */
@media screen and (min-width: 1350px) {
    .wrapper {
        padding: 6vw 14vw 4vw 14vw;
    }

    .goto-top {
        width: 5rem;
    }
}

/* //////////////////////////////////////////////////////// */
@media screen and (max-width: 800px) {

    .header-container {
        display: grid;
        grid-column-start: 1;
        grid-column-end: 4;
        grid-row-start: 1;
        grid-row-end: 1;
        grid-template-columns: 1fr;
        margin: 0 0.6rem 0 0;
    }

    .gallery-container {
        display: grid;
        grid-column-start: 1;
        grid-column-end: 4;
        grid-row-start: 2;
        grid-row-end: 2;
        padding: 2rem 0rem 2rem 0rem;
        margin: 0 0.6rem 0 0;
    }

    /* INFOBOXES */
    .info-boxes {
        display: flex;
        flex-direction: column;
    }

    .infobox-container {
        display: flex;
        flex-direction: column;
    }

    .infobox-container-contact {
        display: flex;
        flex-direction: column;
        margin: 0 2rem 1rem 0;
        width: 100%;
    }

    .infobox-left {
        overflow: hidden;
        object-fit: cover;
        max-width: 100%;
        background-color: #282127;
    }

    .infobox-right {
        display: flex;
        flex-direction: column;
        word-break: break-word;
        max-width: 100%;
        background-color: #282127;
        padding: 1rem 2rem 1rem 2rem;
        margin: 0 0 2rem 0;
    }

    .infobox-left-about {
        display: flex;
        flex-direction: column;
        word-break: break-word;
        max-width: 100%;
        background-color: #282127;
        padding: 2rem;
        margin: 0rem 0rem 1rem 0rem;
    }

    .infobox-left-about>a {
        font-family: 'BaiJamjuree-Italic';
        text-decoration: none;
        color: rgb(250, 250, 250);
    }

    .infobox-left-about a:hover {
        color: rgb(250, 250, 250);
    }

    .infobox-right-about {
        display: contents;
    }

    .infobox-right-about>img {
        width: 100%;
        margin-bottom: .5rem;
    }

    .infobox-right-contact {
        background-color: #282127;
        padding: 2rem;
        margin-left: 0;
        height: fit-content;

    }

    .infobox-left-portfolio-sport {
        display: flex;
        flex-direction: column;
        overflow: clip;
        max-width: 100%;
    }

    .infobox-left-portfolio-sport>img {
        padding-bottom: 0;
        width: 100%;
    }

    .infobox-left-portfolio,
    .infobox-left-natur,
    .infobox-left-menschen {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        position: relative;
        overflow: clip;
        max-height: 50vh;
        margin: 0rem 0rem 1rem 0rem;
    }

    .infobox-left-impressum {
        display: flex;
        flex-direction: column;
        overflow: clip;
        max-width: 100%;
    }

    .infobox-right-impressum {
        display: flex;
        flex-direction: column;
        word-break: break-word;
        max-width: 100%;
        background-color: #282127;
        padding: 2rem 2rem 0 2rem;
        margin: 0rem 0rem 2rem 0rem;
        justify-self: flex-end;
    }

    .goto-top {
        width: 3.5rem;
    }
}

/* //////////////////////////////////////////////////////// */
@media screen and (max-width: 400px) {
    .image-gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(15rem, auto));
        grid-gap: 1.2rem;
        padding: 0 0.7rem 0 0.7rem;
    }

    .goto-top {
        margin-right: 1rem;
        width: 2.5rem;
    }
}

@media screen and (max-width: 300px) {

    .album-card-container::after {
        /* to add multiple values to content attribute
        content: attr(imageDescription) ' ' attr(imageTest); */
        content: attr(imageDescription);
        position: absolute;
        display: block;
        width: 110%;
        min-height: 90%;
        background-color: #282127;
        top: 60%;
        left: 0;
        bottom: 10px;
        rotate: 0deg;
        opacity: 86%;
        padding: 1rem 4rem 2rem 2rem;
        text-align: left;
        box-shadow: 0 0 0 100% #522d5b;
    }
}