@font-face {
    font-family: 'customfont';
    src: url('./assets/fonts/font-80s.woff') format('woff');
}


html, body {
    height: 100%;
    font-size: 16px;
    font-family: 'customfont', monospace;
    /*font-family: 'VT323', monospace;
    font-family: 'Press Start 2P', cursive;*/
}
body {
    margin: 0;
}

footer {
    background-color: rgba(255,255,255,1);
    height: 250px;
    position: relative;
    width: 100%;
}

h2 {
    margin: 0;
    font-size: 40px;
}

p, li {
    font-family: monospace;
    font-size: 20px;
    line-height: 20px;
}

* {box-sizing:border-box}

.about-paragraph {
    float: right;
    margin-right: 10%;
    text-align: left;
    width: 50%;
}

.about-picture {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 360px;
}

.about-picture-wrapper {
    float: left;
    height: 380px;
    margin-left: 10%;
    position: relative;
    width: 25%;
}

.big-icon {
    font-size: 2em;
}

.close {
    color: black;
    cursor: pointer;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin: 20px;
}

a.email-link:visited, a.email-link:active, a.email-link:link {
    color: rgba(0, 0, 0, .5);
}
a.email-link:hover {
    color: rgba(0, 0, 0, 1);
}

.email-link {
    cursor: pointer;
    color: rgba(0, 0, 0, .5);
    font-weight: bold;
    text-decoration: none;
}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

.food-container {
    display: flex;
    margin: 30px 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.food-image {
    height: 200px;
    margin: 0 25px 15px;
    width: auto;
    -webkit-animation-name: food-unhover;
    -webkit-animation-duration: 0.5s;
    animation-name: food-unhover;
    animation-duration: 0.5s;
}

.food-image:hover {
    height: 240px;
    -webkit-animation-name: food-hover;
    -webkit-animation-duration: 0.5s;
    animation-name: food-hover;
    animation-duration: 0.5s;
}

.food-info {

}

.footer {
    height: 100%;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    bottom: 0;
}

.info-section {
    margin: 80px 30px 0 30px;
    text-align: center;
    position: relative;
}

.info-section h2 {
    margin-bottom: 30px;
}

.info-section h2.small-margin {
    margin-bottom: 10px;
}

.ingredient-label {
    padding-right: 10px;
}

.ingredients-list-wrapper {
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.6);
    position: absolute;
    left: 0;
    top: 34px;
    text-align: left;
    z-index: 1000;
    background-color: #282828;
    color: #fff;
    padding: 15px;
}
.ingredients-list-wrapper > div {
    line-height: 16px;
    padding-bottom: 10px;
}

.left-padding {
    padding-left: 1rem;
}

.list-text {
    font-size: 14px;
    line-height: 16px;
}

.main-content {
    background-color: #fff;
    padding-bottom: 50px;
    position: relative;
    width: 100%;
}

.main-welcome {
    background-color: #000;
    height: 100%;
    position: relative;
    width: 100%;
}

.medium-icon {
    font-size: 1.2em;
}


.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    margin: 5vh auto;
    height: 90vh;
    width: 80%;
}

.modal-padding {
    padding: 5px 15px;
}
.modal-padding > img {
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.4);
}

.modal-padding-elevated {
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.4);
    padding: 0 15px;
}

.modal-text {
    height: 180px;
    overflow-y: scroll;
    text-align: left;
}

.mySlides {
    display: none;
}

.nav-bar {
    color: #fff;
    height: 50px;
    line-height: 50px;
    position: fixed;
    top: 0;
    transition: all 0.4s ease-in-out;
    width: 100%;
    z-index: 100;
}

.nav-bar-scrolled {
    background-color: #282828;
    height: 65px;
    line-height: 65px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .6);
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.pairing-instructions {
    font-family: monospace;
    font-size: 20px;
    line-height: 20px;
    margin-bottom: 10px;
}

.pairing-list {
    overflow-y: auto;
    text-align: left;
}

.pairing-list > ul > li {
    padding: 3px 0;
}

.panel-title {
    margin-right: 15px;
}

.popup {
    background: #282828;
    box-shadow: 3px 3px 6px 3px rgba(0,0,0,0.7);
    color: #fff;
    display: flex;
    flex-direction: column;
    height: 90%;
    left: 50%;
    overflow: hidden;
    position: absolute;
    top: 40px;
    transform: translateX(-50%);
    width: 50%;
    z-index: 1500;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: rgba(0,0,0,0.8);
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

.prev {
    left: 0;
}

.prev:hover, .next:hover {
    color: #fff;
    background-color: rgba(0,0,0,0.8);
}

.projects-list {
    left: 50%;
    position: absolute;
    text-align: left;
    transform: translateX(-50%);
}

.projects-list > li {
    font-size: 25px;
    line-height: 25px;
}

.side-panel {
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    display: flex;
    height: 34px;
    line-height: 20px;
    padding: 7px 15px;
    width: 100%;
}

.side-panel > .close {
    float: none;
    margin: 0;
    margin-left: auto;
}

.slideshow-container {
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.4);
    max-width: 500px;
    position: relative;
    margin: auto;
}

.title {
    color: #fff;
    cursor: default;
    font-size: 3em;
    left: 50%;
    line-height: 1.5em;
    position: relative;
    text-align: left;
    top: 50%;
    transform: translate(-50%, -50%);
    user-select: none;
    width: 65%;
    z-index: 10;
}

.topnav {
    overflow: hidden;
}

.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 0 16px;
    text-decoration: none;
    font-size: 17px;
}

.topnav a:hover {
    background-color: #ddd;
    color: #000;
}

.topnav .icon {
    display: none;
}

#about {
    min-height: 500px;
}

#food {

}

#ingredients-input {
    width: 180px;
    margin-right: 15px;
}

#ingredients-list {
    margin: 0;
    padding-left: 15px;
}

#modal-content {
    padding: 20px;
}

#mynetwork {
    height: calc(100% - 35px);
}

#pairings-modal-content {
    height: 100%;
    position: relative;
}

#pairings-modal-content > .main-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
}

#projects {
    line-height: 25px;
    min-height: 270px;
}

#resume {
    line-height: 35px;
    min-height: 215px;
}

/*Tablets*/
@media (orientation:portrait) {
    .about-paragraph {
        float: none;
        /*font-size: 20px;*/
        margin: auto;
        width: 77%;
    }
    .about-picture {
        margin-bottom: 20px;
        width: 380px;
    }

    .about-picture-wrapper {
        float: none;
        height: 350px;
        margin: auto;
        width: 50%;
    }

    .modal-text {
        height: 700px;
    }
}

/*Phones*/
@media (max-width: 780px) {
    footer {
        height: 75px;
    }

    .about-paragraph {
        float: none;
        font-size: 20px;
        margin: auto;
        width: 77%;
    }
    .about-picture {
        margin-bottom: 20px;
        width: 180px;
    }

    .about-picture-wrapper {
        float: none;
        height: 150px;
        margin: auto;
        width: 50%;
    }

    .close {
        font-size: 18px;
        margin: 10px;
    }

    .contact-icon.fa-3x {
        font-size: 2em;
    }

    .food-container {
        display: block;
        margin: 0;
    }

    .food-container  div {
        margin-bottom: 20px;
    }

    .food-image {
        height: 100px;
        width: auto;
        -webkit-animation-name: none;
        animation-name: none;
    }

    .food-image:hover {
        height: 130px;
        -webkit-animation-name: none;
        animation-name: none;
    }

    .food-info {

    }

    .info-section {
        padding: 60px 0 0 0;
        text-align: center;
    }

    .modal-content {
        /*padding: 10px;*/
    }

    .modal-content h1 {
        font-size: 18px;
    }

    .modal-content img {
        height: auto;
        width: 100%;
    }

    .modal-text {
        height: 250px;
    }

    .modal-text p {
        font-size: 18px;
    }

    .modal-text li {
        font-size: 18px;
        padding-bottom: 10px;
    }

    .modal-text ul {
        padding-left: 20px;
    }

    .nav-bar {
        line-height: 40px;
    }

    .nav-bar-scrolled {
        height: 40px;
    }

    .panel-title {
        display: none;
    }

    .popup {
        width: 100%;
    }

    .projects-list {
        width: 80%;
    }

    .projects-list > li {
        font-size: 24px;
    }

    .resume-scroll {
        height: 60px;
    }

    .title {
        font-size: 1em;
        width: 80%;
    }

    .topnav a {display: none;}

    .topnav a.icon {
        float: right;
        display: block;
    }
    .topnav.responsive {
        background-color: #282828;
        box-shadow: 0 4px 8px rgba(0, 0, 0, .7);
        position: relative;
    }
    .topnav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav a:active,
    .topnav a:link,
    .topnav a:visited,
    .topnav a:hover {
        background-color: transparent;
        color: #f2f2f2;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }

    .topnav.responsive a: hover {
        background-color: #282828;
        color: #f2f2f2;
    }

    #food {
        padding-left: 20px;
        padding-right: 20px;
    }

    #projects {
        min-height: 300px;
    }

    #resume {
        line-height: 25px;
        min-height: 190px;
    }
}

/*Phones landscape*/
@media (max-width: 780px) and (orientation:landscape){
    .modal-content h1 {
        font-size: 14px;
    }

    .modal-content img {
        height: 25vh;
        width: auto;
    }

    .modal-text {
        height: 30vh;
    }
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@-webkit-keyframes food-hover {
  from {height: 200px}
  to {height: 240px}
}

@keyframes food-hover {
  from {height: 200px}
  to {height: 240px}
}

@-webkit-keyframes food-unhover {
  from {height: 240px}
  to {height: 200px}
}

@keyframes food-unhover {
  from {height: 240px}
  to {height: 200px}
}

