/* CSS StyleSheet: "PersonalWebsite4.css" */

/* For All */
* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  background-color: #EFEFEF;
  margin: 0;
}

.avatar {
  border-radius: 50%;
  border: 0rem solid transparent;
  box-shadow: 0rem .5rem .5rem #005667;
  display: block;
  margin: 0 auto 0;
  transition: box-shadow 1s;
  width: 20rem;  
}

.avatar:hover {
    box-shadow: 0rem .9rem .9rem #005667;
}

.header {
  background: #00939E;
  /*background: linear-gradient(58deg, rgba(0,86,103,1) 0%, rgba(53,172,181,1) 50%, rgba(239,239,239,1) 100%); */
  height: 100vh;
  margin: 0;
  padding-top: 20vh; 
  width: 100vw;
}

.top-nav {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  left: 50vw;
  position: absolute;
  transform: translate(-50%, 150%); 
}

nav a {
  border-radius: 1rem; 
  color: #EFEFEF;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  margin: 1rem;
  padding: 1rem;
  text-decoration: none;
  transition: box-shadow 1s;
}

nav a:hover {
  box-shadow: 0rem .5rem .5rem #005667;
}


.info {
  margin-top: 5%;
}

.info div {
  margin-top: 4%; 
}

.bkg-light {
  border: .2rem solid #00939E;
  border-radius: 1rem;
  margin: 0 10vw 0;
  transition: box-shadow 1s; 
}

.bkg-light:hover {
  box-shadow: 0rem .5rem .5rem #005667;
}

.bkg-dark {
  background-color: #DADADA;
  padding-top: .1vh;
}

.header p {
  color: #EFEFEF;
  font-family: 'Roboto', sans-serif;;
  font-weight: 300;
  text-align: center;
}

/* My Name */
h1 {
  color: #EFEFEF;
  font-family: 'Roboto', sans-serif;;
  font-weight: 300;
  font-size: 6rem;
  margin: 0;
  padding-top: 4vh;
  text-align: center;
}

/* Section Titles */
h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 2.5rem;
  padding: .5rem;
  text-align: center;
  margin-bottom: 0;
}

/* Sub Section Titles */
h3 {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 2rem;
  padding-top: 2vh;
  margin-bottom: 0;
  margin-top: 0;
  text-align: center;
}

/* Job Titles */
h4 {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  padding: 0 2vw 0vh;
  text-align: left;
  margin-bottom: 0;
  font-size: 1.5rem;
}

/*
h5 {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  margin: 1rem 0 0;
  padding: .5rem;
  text-align: center; 
}
*/

p {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 1.2rem; 
  line-height: 2rem;
  margin-bottom: 0;
  padding: 0 2vw 0vh;
  text-align: left;
}

.theme-nav {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 1.2rem;
  text-align: left;
  padding: 0 3.5vw 0vh;
  line-height: 1.9rem;
  margin-top: 0;
}

/* Portfolio */

.portfolio-h2 {
    margin-bottom: 0;
}

div.portfolio {
    margin-top: 3%;
    padding-bottom: 3%;
}

.underline {
  color: #00939E;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  padding: 0;
  text-align: center;
  margin-top: 0;
}

.portfolio {
  column-count: 4;
  column-gap: 1em;
  margin: 0 1em 0;
}

.portfolio img {
  display: inline-block;
  margin: 0 0 1em;
  width: 100%;
}

.portfolio video {
  display: inline-block;
  margin: 0 0 1em;
  width: 100%;
}

/* End Portfolio */

/* Contact */

.contact-info {
  text-align: center;
  padding-bottom: 2%;
}

/* End Contact */


/* ============RESPONSIVE=============== */

/* Smaller Phone Viewpoints */
@media only screen and (min-width: 320px) {
    
    .avatar {
      width: 15rem;  
    }
    
    h1 {
        font-size: 5rem;
    }

    .portfolio {
        column-count: 1;
    }
    
    .contact-info {
        font-size: .9rem;
    }
}

/* For small devices and most phones */
@media only screen and (min-width: 480px) {
    .avatar {
      width: 20rem;  
    }
    
    h1 {
        font-size: 5rem;
    }

    .portfolio {
        column-count: 1;
    }
    
    .contact-info {
        font-size: 1.1rem;
    }
}

/* For Tablets and the like */
@media only screen and (min-width: 768px) {
    .avatar {
      width: 20rem;  
    }
    
    h1 {
        font-size: 5rem;
    }

    .portfolio {
        column-count: 2;
    }
    
    .contact-info {
        font-size: 1.1rem;
    }
}

/* For Smaller Desktop  may need new nav here*/
/* Was previously set to 992px but nav bar wraps at 1024 */
@media only screen and (min-width: 1024px) {
   .avatar {
      width: 20rem;  
    }
    
    h1 {
        font-size: 5rem;
    }
    
    /*
    .top-nav {
        background: #EFEFEF;
        color: #005667;


    }

    nav a {
        color: #005667;
        height: 100vh;
        width: 100%;
        flex-direction: column;
        position:fixed;
    } 
    */

    .portfolio {
        column-count: 2;
    }
    
    .contact-info {
        font-size: 1.3rem;
    }
}

/* For Large Devices and Wide Screens */
@media only screen and (min-width: 1200px) {
    .avatar {
      width: 20rem;  
    }
    
    h1 {
        font-size: 5rem;
    }

    .portfolio {
        column-count: 4;
    }
    
    
    .contact-info {
        font-size: 1.4rem;
    }
}

/* For iMacs and Other Large Monitors */
@media only screen and (min-width: 2000px) {
    .avatar {
      width: 20rem;  
    }
    
    h1 {
        font-size: 5rem;
    }

    .portfolio {
        column-count: 4;
    }
    
    
    .contact-info {
        font-size: 1.4rem;
    }
}

@media only screen and (min-width: 2500px) {
    .avatar {
      width: 20rem;  
    }
    
    h1 {
        font-size: 5rem;
    }

    .portfolio {
        column-count: 4;
    }
    
    
    .contact-info {
        font-size: 1.4rem;
    }
}
