:root {
    --sandstone: #AB947E;
    --taupe: #8A7968;
    --midnight-blue: #00526E;
    --deep-sea-blue: #002A41;
    --dark-navy: #001233;
}


.permanent-marker-regular {
    font-family: "Permanent Marker", serif;
    font-weight: 400;
    font-style: normal;
  }
  
  
.pontano-sans-font {
    font-family: "Pontano Sans", serif;
    font-optical-sizing: auto;
    font-weight: 300 700;
    font-style: normal;
  }

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;  
}

body {
    font-family: "Pontano Sans", serif;
    background: var(--midnight-blue);
    color: var(--sandstone);
    background-repeat: no-repeat;
    margin: 0;
}



header {
    background-color: var(--sandstone);
    margin-bottom: 2rem;
    width: 100%;
    border-bottom: 2px solid black;
    padding: .8em;
    position: sticky;
    top: 0;
    z-index: 3;
}

nav {
    width: 100%;
    
}

nav ul {
    display: flex;
    list-style-type: none;
    justify-content: space-around;
    padding: .5%;
    margin: 0;
}

nav ul a {
    font-family: "Permanent Marker", serif;
    text-decoration: none;
    color: var(--midnight-blue);
    font-weight: 700;
    font-size: clamp(1.3rem, 1rem + 1vw, 2.2rem);
    
    margin: 0;
}

nav ul a:hover, nav ul a:focus {
    border-bottom: 1px solid var(--dark-navy);
    color: var(--dark-navy);
}

.container {
    display: flex;
    justify-content: center;
}



#book {
    padding-top: 5rem;
    text-align: center;
    margin-bottom: 4rem;
    
}



#services {
    text-align: center;
    padding-top: 3rem;
    background-color: var(--sandstone);
}

.service-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 2rem;
}

.service {
    text-align: center;
    background-color: var(--midnight-blue);
    color: var(--sandstone);
    width: 40%;
    max-width: 250px;
    border-radius: 1rem;
    padding: .5em;
    box-shadow: 2px 2px white;
    gap: 1em;
    margin: 1em;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.service:hover, .service:focus {
    box-shadow: 0 0 10px whitesmoke;
}



.service-icon {
    width: 75%;
    margin: 0 auto 1rem;
    
}

#work {
    text-align: center;
    padding: 3rem 0;
}

#work h3 {
    margin-top: 3rem;
}

#contact {
    text-align: center;
    padding: 3rem 0;
    background-color: var(--dark-navy);
}

.form-fill:hover {
    background-color: var(--deep-sea-blue);
    color: whitesmoke;
}

/* Typography */



h2 {
    font-family: "Permanent Marker", serif;
    font-size: clamp(1.7rem, 1.7rem + 1vw, 3rem);
    color: var(--sandstone);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

h2:before, 
h2:after {
    content: "";
    border-top: 0.3em double var(--sandstone);
    align-self: center;
}

h3 {
    font-size: clamp(1.25rem, 1.25rem + 1vw, 2rem);
}

#services h2 {
    color: var(--dark-navy);
}

#services h2:before, 
#services h2:after {
    content: "";
    border-top: 0.3em double var(--dark-navy);
    align-self: center;
}

#contact h2 {
    color: whitesmoke;
}

#contact h2:before, 
#contact h2:after {
    content: "";
    border-top: 0.3em double whitesmoke;
    align-self: center;
}

.service p {
    padding: 0;
    font-size: clamp(1rem, 1rem + 1vw, 2rem);
}

p {
    font-size: clamp(1.4rem, 1.4rem + 1vw, 2rem);
    padding: .5rem 1.5rem;
    margin: 0;
    
}

.credit {
    font-style: italic;
    color: whitesmoke;
}

.white {
    color: whitesmoke;
}


.p-accent {
    font-weight: bold;
    font-size: 1.6rem;
}

.form-label {
    font-size: .8rem;
}

footer {
   margin-top: 1rem;
    padding: .5rem;
}



/* Images */

#portrait {
    width: 95%;
    max-width: 600px;
    border-radius: 1rem;
}

#portrait:hover {
    filter: hue-rotate(180deg);
}

#setmore-img:hover, #setmore-img:focus {
    opacity: .7;
}

.icon {
    width: 2.5rem;
}

.icon:hover, .icon:focus {
    opacity: .7;
}


/* Video */

.video-outer-container {
    width: 80%;
    margin: 0 auto;
}

.video-container {
    flex: 1 1 auto;
    position: relative;
    overflow: hidden;
    width: 90%;
    padding-top: 56.25%;
    margin: 0 auto 2em;
    
}



iframe {
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   width: 100%;
   height: 100%;
   
}

form {
    width: 100%;
    color: whitesmoke;
    display: flex;
    justify-content: center;

}

.form-container {
    margin: 0 auto;
    display: grid;
    gap: .75rem;
    grid-template-areas: 
    'left right'
    'mid-top mid-top'
    'mid-bottom mid-bottom'
    'bottom bottom';
    }

form input {
    
    padding: 1em;
    border-radius: .25rem;
   
}

textarea {
    display: block;
    padding: .25em;
    margin: 0 auto 1rem;
    width: 100%;
    border-radius: .25rem;
}



.form-left {
    grid-area: left;
}

.form-right {
    grid-area: right;
}

.form-middle-top {
    display: flex;
    grid-area: mid-top;
}

.check-box {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;

}

.center-box {
    display: flex;
    
}

.form-middle-bottom {
    grid-area: mid-bottom;
}

select {
    padding: 1em;
    border-radius: .25rem;
}

.form-bottom {
    grid-area: bottom;
}

.inner-form {
   display: grid;
   gap: .25rem;
   
}


form label {
    text-align: left;
    font-size: clamp(1.2rem, 1.2rem + 1vw, 2.2rem);
}

#submit-btn {
    border-radius: .25rem;
    padding: .5rem 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    background-color: whitesmoke;
    color: #0504aa;
    
}

#submit-btn:hover {
    cursor: pointer;
    background-color: var(--deep-sea-blue);
    color: whitesmoke;
}

footer {
    display: flex;
    justify-content: space-between;
}

footer p {
    font-size: .9rem;
}

#built-by {
    text-decoration: none;
    font-size: .9rem;
}

#built-by:hover, #built-by:focus {
    opacity: .7;
}


@media (min-width: 600px) {
    html {
        font-size: 20px;
    }
}



@media (min-width: 1400px) {
    .video-super-container {
        display: flex;
        flex-wrap: wrap;

    }

    .video-outer-container {
        max-width: 800px;
    }

    
}





