@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');
/*@font-face {
    font-family: 'body';
    src: url('../fonts/FiraSans-Regular.woff');
    font-weight: normal;
    font-style: normal;
}*/
@font-face {
    font-family: 'body';
    src: url('../fonts/Roboto-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    src: url(../fonts/FiraSans-Regular.woff);
    font-family: headings;
}
:root {
    --neutralLight: #fff;
    --neutralMid: #fbf8f5; /*PINK-BEIGE*/
    --neutralDark: #000;
    --mainDark: #000000;
    --mainMid: #CA5F43; /*RUST-ORANGE*/
    --comp: #fda90e;
}
* {
	box-sizing: border-box;
}
html {
	height: 100%;
    overflow-y: scroll; /*FORCE VERTICAL SCROLL BAR FOR SHORT PAGES*/
    scroll-behavior: smooth;
}
body {
    font-family: body;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--neutralMid);
}
.grid {
    display: grid;
    grid-template-rows: auto auto 1fr auto; /*nav, header, main, footer*/
    grid-template-areas:
           "nav" 
           "header"
           "main"
           "footer";

    min-height: 100%;
}
nav {
    grid-area: nav;
}
footer {
    grid-area: footer;
    display: flex;
    background-color: var(--neutralDark);
    color: var(--neutralLight);
    justify-content: space-around;
}
footer a {
    color: var(--neutralLight);
}
footer a[href*="tel"] {
    text-decoration: none;
    margin-left: .5rem;
}
footer p:has(.fa-phone) {
    Text-align: right;
}
.returnToTop {
    position: fixed;
    right: 2rem;
    top: 90vh;
    color: var(--mainMid);
    rotate: -90deg;
}
.returnToTop a {
    color: inherit;
    font-size: 3rem;
    text-decoration: none;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .5);
}
main {
    grid-area: main;
    margin: 0 auto;
    padding: 1em 1em 15em 1em;
    width: 100%;
}
header {
    height: 89vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    color: var(--neutralLight);
    grid-area: header;
    padding-top: 3.5rem;
    background-color: var(--mainDark);
    font-family: headings;
}
header h1 {
    font-weight: normal;
    margin-top: 2.75rem;
    animation: risingText 1s linear;
    animation-fill-mode: forwards;
}
header h1::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -5px; 
  height: 2px;
  background-color: white;
  animation: growingLine 2s;
  animation-fill-mode: forwards;
}

@keyframes risingText {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(-20px);
        opacity: 1;
    }
}

nav .fa {
    position: relative;
    top: .25rem;
}
nav .fa::before {
    color: var(--mainLight);
    font-size: 1.5rem;
    margin-right: .75rem;
    font-family: FontAwesome;
}
nav a {
    color: inherit;
    text-decoration: none;
}
header>div {
    flex: 1;
    height: 100%;
}
.tagline {
    font-size: 1.2rem;
    line-height: 2;
}
.imageholder {
    background-image: url(../images/logo.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.textholder {
    background-color: var(--neutralDark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.textholder a {
    color: var(--neutralLight);
    text-decoration: none;
    font-size: 5rem;
}
article {
    width: 70%;
    margin: 0 auto;
    line-height: 2;
}
#menubutton {
    display: none;
}
[for="menubutton"] {
    display: none;
}
nav,
nav ul {
    color: var(--neutralLight);
}
nav {
    background-color: var(--mainMid);
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 1;/*WAS 2*/
    grid-area: nav;    
}
nav ul {
    display: flex;
    justify-content: space-evenly;
    list-style-type: none;
    padding: 0;
    margin: 0;
    flex: 1;
}
nav ul a {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 1em 1em 1.5em 1em;
    transition: .3s;
    min-height: 100%;
    display: flex;
    align-items: center;
}
#contact nav ul a {
    min-height: auto;
}
nav ul a:hover:not(li.current a) {
    color: var(--mainDark);
}
nav .current a {
    background-color: var(--mainDark);
    cursor: context-menu;
}
.phone {
    padding-right: 1rem;
    padding-top: .25rem;
    text-align: right;
    margin: 0;
}
p:has(img) {
    float: left;
    width: 50%;
    margin-right: 1rem;
}
section img {
    width: 100%;
}
.emphasis {
    font-size: 1.1rem;
    font-weight: bold;
}
@media only screen and (max-width: 950px) {
    main {
        padding: 0 0 15rem 0;
    }
    article {
        width: 95%;
    }
}
@media only screen and (max-width: 760px) {
    footer {
        text-align: center;
    }
    .hiddenBreak {
        display: block;
    }
}
@media only screen and (max-width: 690px) {
    .textholder {
        flex: 1.5;
    }
    p:has(img) {
        float: none;
        width: 100%;
        margin-right: 0;
    }
    [for="menubutton"] {
        display: block;
        position: absolute;
        right: 16px;
        top: 1rem;
        color: white;
        z-index: 40;
        font-size: 2rem;
        text-decoration: none;
        background-image: url(../graphics/hamburgerOpen.png);
        width: 36px;
        height: 36px;
        background-repeat: no-repeat;
    }
    #menubutton:checked+[for="menubutton"] {
        background-image: url(../graphics/hamburgerClose.png);
        width: 41px;
        height: 42px;
        background-repeat: no-repeat;
    }
    nav {
        flex-direction: column;
        width: 0;
        transition: width .3s;
        color: transparent;
    }
    nav li {
        width: 100%;
        overflow: hidden;
    }
    nav .current a {
        background-color: var(--mainDark);
        cursor: context-menu;
        color: var(--mainMid);
    }
    nav ul a:hover:not(li.current a) {
        color: var(--neutralLight);
        opacity: .5;
    }
    #menubutton:checked+label+nav {
        width: 100%;
        background-color: var(--mainDark);
        color: var(--neutralLight);
        position: absolute;
        left: 0;
        height: 110vh;
        top: 0;
        padding-bottom: 3rem;
    }
    #menubutton:checked+label+nav li {
        padding: .5rem;
    }
    #menubutton:checked+label+nav>ul {
        display: block;
        margin-top: .5rem;
        font-size: 1.5rem;
    }

}
@media only screen and (max-width: 570px) {
    .phone {
        flex: 1;
        text-align: center;
    }
    .phone a:first-of-type {
        padding-bottom: 2rem;
        display: inline-block;
    }
    nav .fa {
        display: none;
    }
    footer {
        display: block;
    }
    footer p:has(.fa-phone) {
        text-align: inherit;
    }
    footer .fa {
        display: none;
    }
    footer a[href*="tel"] {
        padding-bottom: 1rem;
        display: inline-block;
    }
}
@media only screen and (max-width: 410px) {
    header {
        height: 100vh;
    }
}