@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&display=swap');

html * { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    font-size: 100%;
    line-height: 1.5em;
    margin: 0;
    height: 100vh;
    display: flex;
    background-color: #ff8c0050;
    flex-direction: column;
    justify-content: flex-start;
}

header {
    display: flex;
    flex-direction: column;
    background-image: url(images/sunset.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 10%;
    height: 15rem;
/*     background-attachment: fixed; */
    flex-shrink: 0;
    justify-content: space-between;
}

header h1 {
    margin: 0 auto 0 auto;
    width: 100%;
    padding: .5vh 1em;
    background-color: #19197025;
    font-size: 100%;
    text-align: right;
    align-self: stretch;
}

header h2 {
    font-size: max(5.5vh, 2.3rem);
    padding-left: 1vw;
    text-align: center;
    text-shadow: 1px 1px 3px white;
    margin: max(1vh, 25px) 1vw;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 0;
    margin: 0 0 1.5em 0;
}

nav li {
    width: 8rem;
}

nav li a {
    color: white;
    text-decoration: none;
    text-align: center;
    background-color: transparent;
    border-radius: .2em;
    transition-duration: .5s;
    display: block;
    margin: 0 0 0 1vw;
    padding: .2vh .4vw;
}

nav li a:hover, nav li a:focus {
    background-color: 	rgba(255, 140, 0, 0.66);
}

nav li a:active {
    transition-duration: 0s;
    color: #191970;
}

body main {
    display: flex;
    flex-direction: row;
    padding: 0 1vw;
    flex: 1 1 auto;
}

.grid-container {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
    padding-top: 0;
}

.grid-container p {
    text-align: center;
    padding-left: .5rem;
    margin: 0;
}

.gallery_main h3 {
    padding-left: 3rem;
    margin-top: 2rem;
    height: 2rem;
}

.grid-container a {
    text-decoration: none;
    color: black;
}

.gallery_tile {
    width: 25rem;
    height: 25rem;
    padding: .3rem;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.gallery_tile:focus, .gallery_tile:hover {
    transform: rotate(-1deg) scale(1.05);
}

.tall_pic {
    width: 25rem;
    height: 35rem;
    padding: .3rem;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.tall_pic:focus, .tall_pic:hover {
    transform: rotate(-1deg) scale(1.05);
}

.wide_pic {
    width: 35rem;
    height: 25rem;
    padding: .3rem;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.wide_pic:focus, .wide_pic:hover {
    transform: rotate(-1deg) scale(1.05);
}

.custom_pic {
    width: 36rem;
    height: 25rem;
    padding: .3rem;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.custom_pic:focus, .custom_pic:hover {
    transform: rotate(-1deg) scale(1.05);
}

.gallery_main {
    flex-direction: column;
    padding-bottom: 1rem;
}

.city_main {
    display: flex;
    flex-direction: column;
    padding: 1rem 2rem;
}

.city_gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.contact_main {
    flex-direction: column;
    align-items: center;
}

.contact_main fieldset {
    padding-left: 5rem;
}

.contactform {
    width: 75%;
    padding-top: 2rem;
}

.identifying label {
    display: inline-block;
    width: 10rem;
    text-align: left;
    padding-top: 2rem;
}

.identifying input {
    text-align: right;
}

#disclaimer {
    text-align: center;
    color: #19197099
}

#submit {
    padding-top: 1rem;
}

textarea#mytext {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 80%;
    width: 90%;
}

article {
    flex-direction: column;
    flex: 1 0 75%;
    padding-right: 1vw;
    border-right: double darkorange;
}

aside {
    font-size: smaller;
    padding-left: 1vw;
}

aside a {
    text-decoration: underline dotted;
    color: #191970;
    transition-duration: .3s;
}

aside a:hover {
    color: #191970;
    border-radius: .2rem;
    background-color: #19197050;
}

footer {
    margin-top: auto;
    text-align: right;
    color: #19197099;
    font-size: x-small;
    padding-right: 1vw;
    background-color: #ff8c0075;
}

@media screen and (max-height: 910px) {
    header {
        display: grid;
        grid-template-columns: [start] 15vw [first] auto [second] 15vw [end];
        grid-template-rows: [start] 10% [mid] auto [end];
        height: 7rem;
        background-position: center;
    }
    
     header h1 {
        display: none;
    }
    
    header ul {
        margin-top: 2vh;
    }
    
    header h2 {
        font-size: max(4.5vh, 1.5rem);
        margin: max(1vh, 25px) 0;
        grid-column-start: first;
        grid-column-end: span second;
        grid-row-start: mid;
        grid-row-end: end;
    }
    
    nav ul {
        padding: 0;
        padding-top: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0 0 0 0;
        grid-column-start: second;
        grid-column-end: span end;
        grid-row-start: mid;
        grid-row-end: end;
    }
    
    nav li {
        width: 7rem;
    }
    
    nav li a:hover, nav li a:focus {
        background-color: #19197099;
    }
}
