/* Font Declarations */
@font-face {
    font-family: 'argesta_displayregular';
    src: url('assets/fonts/argestadisplay-regular-webfont.eot');
    src: url('assets/fonts/argestadisplay-regular-webfontd41d.eot?#iefix') format('embedded-opentype'),
         url('assets/fonts/argestadisplay-regular-webfont.woff2') format('woff2'),
         url('assets/fonts/argestadisplay-regular-webfont.woff') format('woff'),
         url('assets/fonts/argestadisplay-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'silka_monoregular';
    src: url('assets/fonts/silkamono-regular-webfont.eot');
    src: url('assets/fonts/silkamono-regular-webfontd41d.eot?#iefix') format('embedded-opentype'),
         url('assets/fonts/silkamono-regular-webfont.woff2') format('woff2'),
         url('assets/fonts/silkamono-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'silka_regular';
    src: url('assets/fonts/Silka-Regular.otf');
    font-weight: normal;
    font-style: normal;

}

html {
    font-family: 'argesta_displayregular', "EB Garamond", Georgia, Palatino, serif;
    background-color: #FEFDFA;
    scroll-snap-type: none;
    margin: 0;
}
body {
    margin: 0;
    z-index: 0;
    animation-name: fadeIn;
    animation-duration: 1.0s;
}

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

/* Common styles */
.subhead {
    font-size: 20px;
    line-height: 170%;
    font-weight: 500;
    color: #2A2C20;
}
.display {
    font-size: 30px;
    line-height: 170%;
    font-weight: 500;
    color: #2A2C20;
}
.heading {
    font-size: 26px;
    line-height: 170%;
    font-weight: 500;
    margin: 8px auto;
    color: #2A2C20;
}
.caption {
    font-family: 'silka_monoregular', monospace;
    font-size: 14px;
    color: #F85E3C;
}
.caption2 {
    font-family: 'silka_monoregular', monospace;
    font-size: 14px;
    line-height: 170%;
    color: #B8B8B8;
}
.body {
    font-family: 'silka_regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 170%;
    color: #2A2C20;
}

.link {
    color: #F85E3C;
    text-decoration: underline;
}

p {
    margin: 0;
}
h1 {
    margin: 0;
}
h2 {
    margin: 0;
}
h3 {
    margin: 0;
}
a {
    text-decoration: none;
    color: #2A2C20;
}

.dividerLine {
    height: 1px;
    width: auto;
    background-color: #2A2C20;
    opacity: 0.1;
    margin: 16px auto;

}

.companyCard {
    width: 100%;
    margin-bottom: 16px;
    border: 1px solid #2A2C20;
}
.cardHeader {
    padding: 8px 16px;
    border-bottom: 1px solid #2A2C20;
    display: flex;
    justify-content: space-between;
}
.cardContent {
    padding: 12px 16px;
}


/* Page Styles */
#headerContainer {
    width: 100%;
    position: fixed;
    background-color: #FEFCF8;
    z-index: 1;
}
#headerContent {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 32px;
}
#headerLogo {
    width: 16px;
    height: 16px;
    margin: auto 0;
}
#buttonGroup {
    width: 24px;
    height: 24px
}

#mainText {
    text-align: center;
    margin: 0px 32px;
    padding-top: 96px;
}
#location {
    margin: 32px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
#pin {
    width: 12px;
    height: 12px;
    margin-right: 8px;
    border-radius: 6px;
}
#moreMenu:hover {
    cursor: pointer;
}
#close:hover {
    cursor: pointer;
}
.arrowIcon {
    padding: 8px 0px;
}
#locationText {
    margin: 0;
}

#mainImage {
    background-image: url(assets/mainImage.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: auto;
    height: 960px;
    margin: 32px 32px;
}

.pageSection {
    margin: 64px 32px;
    text-align: left;
}

#aboutMe {
    display: flex;
    flex-direction: column;
}

/*#aboutTextContainer {

}*/

#companiesContainer {
    margin-top: 32px;
}


.modal {
    display: none;
    position: fixed;
    overflow: hidden;
    z-index: 1;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    margin: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
    animation-name: animateOut;
    animation-duration: 0.3s;
    transition: ease-out;
}

.modalContent {
    background-color: white;
    position: fixed;
    bottom: 0;
    border-radius: 4px 4px 0px 0px;
    box-shadow: 0px -8px 32px rgba(42, 44, 32, 0.1);
    width: 100%;
    animation-name: animatebottom;
    animation-duration: 0.3s;
    transition: ease-out;
}
.modalHeader {
    display: flex;
    justify-content: space-between;
    padding: 32px 32px 16px 32px;
}
.modalOptions {
    padding-bottom: 40px;
}

.menuLink {
    font-family: 'silka_monoregular', monospace;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    line-height: 170%;
    display: flex;
    justify-content: flex-start;
    padding: 16px 32px;
}
.menuIcon {
    margin-right: 24px;
}

@keyframes animatebottom {
    from {bottom: -300px; transition: ease-out;
    }
    to {bottom: 0; transition: ease-out;
    }
  }

  @keyframes animateOut {
    from {bottom: 0px; transition: ease-out;
    }
    to {bottom: -300; transition: ease-out;
    }
  }


@keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
}

}


@media screen and (min-width: 800px) {  
/* Common styles */
.subhead {
    font-size: 20px;
    line-height: 170%;
    font-weight: 500;
    color: #2A2C20;
}
.display {
    font-size: 32px;
    line-height: 170%;
    font-weight: 500;
    color: #2A2C20;
}
.heading {
    font-size: 26px;
    line-height: 170%;
    font-weight: 500;
    margin: 8px auto;
    color: #2A2C20;
}
.caption {
    font-family: 'silka_monoregular', monospace;
    font-size: 14px;
    color: #F85E3C;
}
.caption2 {
    font-family: 'silka_monoregular', monospace;
    font-size: 14px;
    line-height: 170%;
    color: #B8B8B8;
}
.body {
    font-family: 'silka_regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 170%;
    color: #2A2C20;
    opacity: 0.85;
}

.link {
    color: #F85E3C;
    text-decoration: underline;
}

p {
    margin: 0;
}
h1 {
    margin: 0;
}
h2 {
    margin: 0;
}
h3 {
    margin: 0;
}
a {
    text-decoration: none;
    color: #2A2C20;
}

#pageContainer {
    max-width: 1024px;
    margin: auto;
}

.dividerLine {
    height: 1px;
    width: auto;
    background-color: #2A2C20;
    opacity: 0.1;
    margin: 16px auto;

}

.companyCard {
    width: 100%;
    margin-bottom: 16px;
    border: 1px solid #2A2C20;
}
.cardHeader {
    padding: 8px 16px;
    border-bottom: 1px solid #2A2C20;
    display: flex;
    justify-content: space-between;
}
.cardContent {
    padding: 12px 16px;
}


/* Page Styles */
#headerContainer {
    width: 100%;
    position: fixed;
    background-color: #FEFCF8;
}
#headerContent {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 32px;
}
#headerLogo {
    width: 16px;
    height: 16px;
    margin: auto 0;
}
#buttonGroup {
    width: 24px;
    height: 24px
}

#mainText {
    text-align: center;
    margin: 0px 32px;
    padding-top: 88px;
}
#location {
    margin: 32px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
#pin {
    width: 12px;
    height: 12px;
    margin-right: 8px;
    border-radius: 6px;
}
#moreMenu:hover {
    cursor: pointer;
}
#close:hover {
    cursor: pointer;
}
.arrowIcon {
    padding: 8px 0px;
}
#locationText {
    margin: 0;
}

#mainImage {
    background-image: url(assets/mainImage.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: auto;
    height: 600px;
    margin: 32px 32px;
}

.pageSection {
    margin: 64px 32px;
    text-align: left;
}

#aboutMe {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#aboutTextContainer {
    width: 40%;
    max-width: 600px;;
}

#companiesContainer {
    margin-top: 56px;
    width: 45%;
}


.modal {
    display: none;
    position: fixed;
    overflow: hidden;
    z-index: 1;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    margin: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
    animation-name: animateOut;
    animation-duration: 0.3s;
    transition: ease-out;
}

.modalContent {
    background-color: white;
    position: fixed;
    border-radius: 4px;
    box-shadow: 0px 8px 32px rgba(42, 44, 32, 0.1);
    width: 375px;
    bottom: 30%;
    left: 50%;
    right: 50%;
    transform: translate(-50%, -50%);
    animation-name: animatebottom;
    animation-duration: 0.3s;
    transition: ease-out;
}
.modalHeader {
    display: flex;
    justify-content: space-between;
    padding: 32px 32px 16px 32px;
}
.modalOptions {
    padding-bottom: 32px;
}

.menuLink {
    font-family: 'silka_monoregular', monospace;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    line-height: 170%;
    display: flex;
    justify-content: flex-start;
    padding: 16px 32px;
}
.menuIcon {
    margin-right: 24px;
}

@keyframes animatebottom {
    from {bottom: 25%; transition: ease-out;
    }
    to {bottom: 30%; transition: ease-out;
    }
  }

  @keyframes animateOut {
    from {bottom: 30%; transition: ease-out;
    }
    to {bottom: 25%; transition: ease-out;
    }
  }


@keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
}

}




