* {
  margin: 0;
  padding: 0;
  list-style-type: none;
  font-family: Roboto;
}

h1 {
  color: white; 
  text-align: center; 
  font-family: 'Roboto', 'Lato', sans-serif; 
}


.hero {
  display: flex;
  justify-content: center;
  margin-bottom: 16rem;
  margin-top: 7rem;

}

.bottomBoxes {
  color: #FFF !important;
  font-weight: bold;
  font-family: 'Roboto-bold', sans-serif;
}

.bottomBoxes:hover {
  color: #FFF !important;
  font-weight: bold;
  font-family: 'Roboto-bold', sans-serif;
}

/* About me */


.socialMedia {
    display: flex;
    margin-top: 1rem;
    font-size: 20px;
    width: 8rem;
    justify-content: space-between;

}

.hero-section {
    text-align: center;
    justify-content: center;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-top: 7rem;
    position: relative;
}

.subtitle {
  text-align: center; 
  color: gray;
  margin-bottom: 4rem;
}

.undertitle {
   color: white; 
    font-size: 24px; 
    font-family: 'Roboto-medium', sans-serif;
    padding: 80px 0px 40px 0px;
}

.content {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    position: relative;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 87.5rem;
    align-items: center;
}

.profilePic {
  border-radius: 3rem;
    max-width: 250px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 10px rgba(0,0,0,.05), 0 15px 40px rgba(0,0,0,.2);
}


.newOuter{    
  list-style: none;
  display: flex;
  flex-direction: row;

}

.newBox{
  color: rgb(97, 97, 97);
  text-align: left;
  height: 300px;
  width: 250px;
  margin: 1%;

}

.siteTitle {
  font-family: 'Roboto-light';
  padding: 5%;
  justify-content: center;
  bottom: 0px;
  border: solid 3px #fff;
  border-radius: 4px;
  box-shadow: 0px 0px 25px 2px rgba(0,246,255,.4),
  inset 0px 0px 25px 2px  rgba(0,246,255,.4);
  transition: box-shadow 0.5s;
}

.siteTitle:hover {
  box-shadow: 0px 0px 25px 2px rgba(189,21,189,.4),
  inset 0px 0px 25px 2px  rgba(189,21,189,.4);
  transition: all 0.5s;
}

.AsiteTitle {
  padding-bottom: 1rem;
  justify-content: center;
}

/* Grid styles -------------------------------------------------*/
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 30px;
  object-fit: cover;
}

/* Generic styles ----------------------------------------------*/
.cards {
  max-width: 960px;
  margin: auto;
}

article {
  position: relative;
}

.article-img {
  height: auto;
  width: 100%;
  object-fit: cover;
}

.article-title {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.2);
}

/*  ----------------*/

.headerText {
  margin-top: 10%;
  color: #bbbabb;
  display: flex;
  justify-content: center;
  text-align: center;
  line-height: 140%;
  font-weight: 100;
  font-size: 2rem;
  letter-spacing: 0.17px;
}

.fa-dribbble {
  color: white;

}

.fa-instagram {
  color: white;

}

.fa-linkedin {
  color: white;

}

.fa-envelope {
  color: white;

}

html {
  background-color: #111111;
  font-family: "Roboto-light", sans-serif;
}

nav {
  display: flex;
  flex-flow: row;
  margin-top: 1.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
  max-width: 87.5rem;
  align-items: center;

}

nav ul {
  border-width: 1px 0;
  list-style: none;
}

nav li {
  display: inline;
  margin: 10px;
}

.primary-nav {
    flex: 1 auto;
    overflow: hidden;
}

a {
  color: gray;

}

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
  color: gray;
}

a:hover {
  text-decoration: underline;
  color: white;
  font-weight: bold;
  text-decoration: none;
}

.scrollDown {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: row;
  padding-bottom:2rem;

}

.scrollDown p {
    font-size: 14px;
    color: grey;
}

.outer{
  text-align: center;
  list-style: none;
  
}

.box{
  font-family: Roboto;
  color: rgb(97, 97, 97);
  display: inline-block;
  text-align: left;
  height: 300px;
  width: 300px;
  background-color: rgb(28, 28, 28);
  margin: 1rem;

}

.box:hover{
  border: solid 3px #fff;
  box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
  box-shadow: 0px 0px 25px 2px rgba(0,246,255,.4),
  inset 0px 0px 25px 2px  rgba(0,246,255,.4);

}


.aboutMe {
  font-family: Roboto-light;
  color: rgb(97, 97, 97);
  margin-left: 10%;
  margin-right: 10%;
  max-width: 700px;
  line-height: 1.5em;
  margin-top: 3rem;

}

p {
 color: #e5e5e5;
 font-weight: 100;
 font-family: 'Roboto', sans-serif;
 line-height: 1.7
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  .headerText {
    font-size: 20px;
    max-width: 90%;
  }
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a {
      display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}



/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 1rem;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}


/* Responsive nav */
.topnav .icon {
  display: none;
  font-size: 22px
}



/*Portfolio cases*/

.Cases {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}


.casesImg {
    width: 100%;
    max-width: 1000px;
    margin: auto;
    object-fit: cover;
}