/*
#FCF7F8 -- Platinum White Accent
#2B4B6F -- Mid Blue Accent
#1E5CA2 -- Lighter Blue
#AA6939 -- Orange
#CED3DC -- Gray
*/

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    animation: fadeIn 1s;
    background-color: #CED3DC;
    font-family: 'Inter', sans-serif;
}

a {
    text-decoration: none;
    color: white;

}

h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    text-align: center;
}

section.hero-text h3 {
    margin-top: 30px;
    margin-bottom: 60px;
}

.button-medium {
    padding: 16px 38px;
    background-color: rgba(29, 51, 148, 0.6);
    font-family: "Inter", sans-serif;
    color: white;
    font-weight: 500;
    font-size: medium;
    border-radius: 12px;
    transition: 0.5s;
    text-shadow: 0px 0px 4px black;
}

.button-medium:hover {
    background-color: rgba(29, 51, 148, 1);
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.35);
}

hr.full {
    width: 98%;
    border-width: 1px;
    border-style: solid;
    border-color: #888;
}

main {
    max-width: 1600px;
    width: 100%;
    margin: 20px auto;
    margin-top: 120px;
    padding: 0 20px;
}

div#hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55)), url("../img/car.jpg");
    height: 800px;
    background-position: center;
    background-repeat: none;
    background-size: cover;
    border-radius: 12px;
    transition: 5s;
    width: 90%;
    margin: auto;
    transition: opacity 0.5s;
    opacity: 100%;   
}

div#hero:hover {
    opacity: 95%;
}

.hero-text {
    text-align: center;
    padding-top: 200px;
    max-width: 700px;
    margin: auto;
    color: white;
}

h1 {
    font-family: "Inter", sans-serif;
    font-size: 2.5em;
    text-align: center;
}

section.hero-text h1 {
    font-size: 2em;
    color: white;
}

#photography {
    margin-top: 100px;
}

section.grid {
    display: grid;
    grid-template-columns: 3fr 1fr 3fr 1fr 3fr;
    width: 100%;
    height: 600px;
    justify-items: center;

}

div.spacer {
    height: 25px;  
}

#img-1 {
    grid-column: 1/2;
    width: 100%;
}

#sp-1 {
    grid-column: 2/3;
}

#img-2 {
    grid-column: 3/4;
}

#sp-2 {
    grid-column: 4/5;
}

#img-3 {
    grid-column: 5/6;
}

img.gridimg {
    width: 90%;
    margin: auto;
    display: block;
    border-radius: 6px;
    animation: fadeIn 2s;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }
  

.gridp {
    width: 90%;
    text-align: center;
    display: block;
    margin: 18px auto;
    font-style: italic;
    font-size: 18px;
}

p {
    font-family: 'Inter', sans-serif;
}

#teaser {
    background-color: #1f3044;
    height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    border-radius: 8px;
    margin-top: 80px;
    z-index: 20;
}

h1.teaser {
    color: #FCF7F8;
    width: 60%;
    text-align: left;
    border-radius: 8px;
    margin: 35px 40px;
    text-shadow: 0px 1px 8px #0d0a0b93;
}

h2 {
    font-family: 'Inter', sans-serif;
    margin: 40px 20px;
    margin: 0 60px;

}

#content-middle {
    margin-top: -5px;
    background-color: #FCF7F8;
    padding: 100px 0 20px 0px;
    z-index: 10;
    border-radius: 0px 0px 8px 8px;
    margin-bottom: 25px;
}

.photogrid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 40px 60px;
}

.photogrid-container {
    width: 22%;
    border: 1px solid #999;
    background-color: #FCF7F8;
}

.photogrid-container:hover {
    border: 1px solid #0D0A0B;
}

.photogrid-img {
    width: 100%;
}

.center {
    text-align: center;
    margin: auto;
    width: 240px;
    display: block;   
}

#photo-button {
    margin-top: 75px;
}

section#contact {
    padding: 25px;
    margin: 50px;
    background-color: #1f3044;
    border-radius: 12px;

}

#contact h1 {
    text-align: left;
    margin: 25px;
    color: #FCF7F8
}

div.contact {
    background-color: #CED3DC;
    border-radius: 8px;
    display: flex;
}

div.contact-form {
    width: 60%;
}

form {
    display: flex;
    flex-direction: column;
    padding: 25px;
    width: 80%;
    margin: 0px 20px;
}

form label {
    margin-top: 20px;
    font-family: 'Inter', sans-serif;
}

form input, form textarea {
    margin-top: 10px;
    font-family: 'Inter', sans-serif;
}

div.contact-img {
    width: 40%;
    background-color: red;
    background-image: url(../img/nigel.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 0px 8px 8px 0;
    margin: 3px;
}

#bottom {
    width: 100%;
    display: flex;
    justify-content: center;

}

#bottom svg {
    width: 2em;
    margin: 15px;
}


/* Header and Footer */
/* Header & Nav */
header {
    background-color: #1d3394;
    width: 100%;
    top: 0;
    position: fixed;
    z-index: 99;
    border-bottom: 2px solid #363636;
}

#navbar {
    display: flex;
    width: 80%;
    max-width: 1600px;
    margin: auto;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

nav {
width: 30%;
display: flex;
justify-content: center;
}

a.navbar {
    padding: 24px 48px;
    transition: 0.4s;
    border-radius: 12px;
}

a.navbar:hover {
    background-color: #1f3044;
    border-radius: 0;
}

img.logo {
    width: 100%;
    padding: 6px;
    background-color: #FCF7F8;
    border-radius: 8px;
    box-shadow: 2px 2px 2px #0d0a0b0c;
    transition: 0.2s;
    max-width: 40px;
}

img.logo:hover {
    box-shadow: 2px 2px 2px #0D0A0B;
}

/* Footer */
footer {
    background-color: #363638;
    margin: 0;
    width: 100%;
    padding-top: 15px;
    text-align: center;
    color: white;
}

div.footer-legal {
    display: flex;
    justify-content: space-around;
    align-items: start;
    bottom: 0;
    margin: 20px;
    max-width: 1600px;
    width: 50%;
    margin: auto;
}


