:root{
    --color:#FB690A;
    --accent:rgba(251, 106, 10, 0.85);
    /* 
    dark theme:
      --background-color: #333;
      --color:#ddd;
    */
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    overflow-x: hidden;
}
nav, footer{
    background-color: var(--color);
    color:white;
    font-family: 'Proza Libre', sans-serif;
    font-size: 1.1em;
}
nav ul{
    list-style-type: none;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
}
nav li{
    padding-bottom: 8px;
}
nav li::after{
    content:'';
    display: block;
    height:5px;
    background-color: transparent;
    border-radius: 5px;
} 
nav li:hover::after, .active::after{
   background-color: #fff;
}
/* Remove padding on menu item*/
nav li:first-child {
    padding-bottom: 0px;
}
nav li:first-child::after {
    display: none;
}

.logo{
    background-image: url("../img/logo.png");
    background-size: contain;
    height: 75px;
    width: 75px;
}
a{
    text-decoration: none;
    color: inherit;
}
main{
    width: 90vw;
    margin: 0 auto;
    flex: 1;
}
section{
    font-size: 16px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}
img{
    display: block;
    margin: 36px auto;
}
h1{
    margin: 20px 0;
    font-size: 4em;
    text-align: center;
}
h2{
    font-size: 2em;
    font-weight: lighter;
    color:var(--accent);
    margin-bottom: 16px;
}
h3{
    color:var(--accent);
    font-weight: lighter;
    padding: 5px;
    font-size: 1.5em;
}
article{
    margin: 30px 0;
    text-align: left;
}
em{
    color: var(--color);
    font-weight: bolder;
    font-style: normal;
}
i{
    color: var(--color);
    margin-right: 10px;
}
footer{
    padding: 10px 0;
    text-align: center;
}
.homepage-content{
    flex-flow: column nowrap;
}
.crew-member{
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    flex-basis: 100%;
}
.round {
    border: 3px solid var(--color);
    border-radius: 100%;
    margin: 15px auto;
    background-size: cover;
}
.member-one{
    background-image: url("../img/face-1-small.jpg");
}
.member-two{
    background-image: url("../img/face-2-small.jpg");
}
.member-three{
    background-image: url("../img/face-3-small.jpg");
}
.member-description{
    align-self: center;
}
.price-number {
    text-align: center;
    font-size: 3em;
}
.service-name {
    font-weight: bold;
}
.contact-section {
   flex-direction: column;
   justify-content: center;
   align-items: stretch;
   margin: 0 20px;
}
.contact-details {
    line-height: 3em;
    font-size: 1.3em;
}
/*   Mobile VIEW   */
img {
    max-width: 80vw;
}
.round{
    width: 250px;
    height: 250px;
}
.member-description{
    flex:0 0 100%;
}
.price-box {
    flex: 0 0 100%;
    margin: 20px auto;
}

.map iframe{
    height: 40vh;
    width: 80vw;
}
/* TABLET VIEW */
@media (min-width:640px) {
    .price-box {
        flex: 0 0 40%;
        margin: 20px auto;
    }
    .member-one {
        background-image: url("../img/face-1-medium.jpg");
    }
    .member-two {
        background-image: url("../img/face-2-medium.jpg");
    }
    .member-three {
        background-image: url("../img/face-3-medium.jpg");
    }

}
/* Desktop view */
@media (min-width:1024px) {
    .price-box {
        flex: 0 0 20%;
    }
    .member-description {
        flex: 0 0 70%;
    }
    .round {
        /*    100vw 
            - 70% (from .member-description flex basis)
            - 10vw (margin)
            = 80vw
        */
        width: calc(100vw - 70vw - 10vw);
        height: calc(100vw - 70vw - 10vw);
    }
    /* every odd crew memeber should have photo on the left instead on the right*/
    .crew-member:nth-child(even)>.member-description {
        order: 2;
    }
    .round {
        order: 1;
    }
    .member-one {
        background-image: url("../img/face-1.jpg");
    }
    .member-two {
        background-image: url("../img/face-2.jpg");
    }
    .member-three {
        background-image: url("../img/face-3.jpg");
    }
    .contact-section {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    .contact-info{
        margin-top: 0;
    }
    .map iframe {
        height: 70vh;
        width: 50vw;
    }
    .contact-info {
        flex: 0 0 40%;
       
    }
}