/*
  - iphone screen first
  */

 /* FONTS TO BE USED */
/* Montserrat Regular **/
  @font-face {
    font-family: "Montserrat-Regular";
    font-weight: 400;
    font-style: normal;
    src: url("fonts/Montserrat-Regular.woff2") format("woff2"),
      url("fonts/Montserrat-Regular.woff") format("woff");
  }

  @font-face {
    font-family: "Montserrat-Thin";
    font-weight: 100;
    font-style: normal;
    src: url("fonts/Montserrat-Thin.woff") format("woff");
  }

  @font-face {
    font-family: "Lato-Light";
    font-weight: 300;
    font-style: normal;
    src: url("fonts/Lato-Light.woff") format("woff");
  }

  @font-face {
    font-family: "Lato-Regular"; /*a name to be used later*/
    src: url("fonts/Lato-Regular.woff"); /*URL to font*/
  }

body {
    max-width: 96vw;
    margin: 5px auto;
    font-family: 'Courier New', Courier, monospace;
    background-color: rgba(252, 252, 252, 0.937);
    border: 0 blue solid;
}

footer {
    margin-top: 0.5rem;
    border-top: 1px solid black;
}

h2 {
    font-family: mont;
    text-align: center;
    padding: 5px 0;
    border-bottom: 1px solid blue;
    margin-bottom: 3px;
}

h5 {
    font-family: "Montserrat-Thin";

  line-height: 1.6em;
}
menu {
    padding: 5px;
    display: inline-flex;
    inline-size: auto;
    flex-direction: column;
    float: right;
}

button {
    width: 20vw;
    padding: 1px;
    margin: 0;
    border:1px rgb(10, 2, 95) solid;
    color: #010b19;
    background-color: none;
    border-radius: 0;
}

button a {
    font-family: 'Montserrat', sans-serif;    
    font-size: 1em;
    font-weight: 100;
    text-decoration: none;
}

button a:hover {
    color: green;
    font-size: 1.1em;
    font-weight: 400;
}

.inactive {
    color: #e4edf7;
}

footer p {
    text-align: center; 
    clear: both; 
    padding-top: 5px;
    font-size: 0.7em;
}

#main {
    clear: both;
    margin: 5px auto;
    border: 0 red solid;
    background-color: aliceblue;
}

header {
    contain: layout;
    background-color: rgb(241, 232, 198);
    border: 0 rgb(0, 255, 106) solid;
    border-bottom: darkgray 2px solid;
    max-width: 100vw;
    margin: 1px auto;
}

img.headshot {
    margin: 3px;
    width: 66%;
    float: left;
}

article {
    align-items: center;
    padding-top: 1px;
    border-top: 0 purple solid;
    align-items: center;
}

article.threeSections {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
}

.section40 {
    width: 100%;
    display: inline-block;
    border: 0 solid red;

}
.section30 {
    width: 100%;
    padding: 0.5rem;
    display: inline-block;
    border: 0 solid red;
}

.section20 {
    width: 20%;
    display: inline-block;
    border: 0 solid red;
}

.section30 p {
    margin: 5px;
    line-height: 1.4rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.7em;
}

/* Adjust sizing for large screens */
@media only screen and (min-width: 763px ) {
    body {
        max-width: 80vw;
         box-shadow: 12px 0 15px -4px rgba(204, 204, 204, 0.6), 
              -12px 0 8px -4px rgba(204, 204, 204, 0.6);
        margin: 1rem auto;
    }
    article.threeSections {
        flex-direction: row;
    }
    .section30, .section40 {
    width: calc(100%/3);
        border: 1px black solid;
    }
}

.video {
    width: 100%;
}

p {
    font-size: 1em;
}

footer p {
    font-size: 0.9em;
    color: brown;
}

.content {
    width: inherit;
}

.box {
    clear: both;
    border-bottom: 1px solid green;
}

.card {
    display: inline-flex;
    flex-direction: row;
}

.card a {
    margin: 0.5em;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8em;
    font-style: none;
    text-decoration: none;
}

img.thumb { 
    height: 40px;
    width: auto;
    padding: 5px;
    float: left;
}