
:root {
  --darkGrey: #51515e;
  --lightGrey: #d1d1d1;
  --accentColor: rgb(255, 145, 0);
}


* {
  padding: 0px;
  margin: 0px;
  text-decoration: none;

}
html {
  scroll-behavior: smooth;
}


.logo {
  z-index: 1;
  height: auto;
  width:90px;
}

.navigation {
  background-color: var(--darkGrey);
}

.navigation .container {
  width: 90%;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav ul {
  text-align: center;
}

.main-nav li{
display: inline;

}

.main-nav a {
	display: inline-block;
  padding: 0 20px;
  margin-top: 15px;
  color: white;
  border-radius: 6px;
  font-size: 18px;
  font-weight: bold;
  font-family: "Montserrat";
  letter-spacing: 2px;
}

.navigation ul a:hover {
  color: rgb(255, 145, 0);
  opacity: 0.7;
  transition: 0.3s;
}

.burger {
  z-index: 1;
  display: none;
  cursor: pointer;
}

.burger div{
  border-radius: 2px;
  margin: 5px;
  width: 25px;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease;
}






@keyframes navLinkFade {
  from{
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}


.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
  opacity: 0;
}

.toggle .line3 {
  transform: rotate(45deg)translate(-5px, -6px);
}


/*Header*/

header.masthead {
  z-index: -1;
  position: relative;
  padding-top: 11rem;
  padding-bottom: 350px;
  background: url('../images/macImage.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
}

header .layer {
  background-color: rgba(90, 69, 41, 0.7);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


header h1 {
    margin: 110px 50px 0 60px;
    font-size: 3rem;
    font-family: sans-serif;
    color: white;
    line-height: 1.5;
    font-weight: normal;
  }

header span {
  font-weight: bold;
    font-size: 3rem;
    color: white;
}


/*Section*/

section {
  width: 100%;
}

section .container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  
  
  
}

section .box {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  
  width: 200px;
  padding: 40px 20px 30px 20px;
  font-size: 1.5rem;
  font-family: "Montserrat",sans-serif;
}

section .box p {
  margin-top: 28px;
  
  font-size: 1.0rem;
  color: var(--darkGrey);
}

section .box i {
  font-size: 4.8rem;
  margin-bottom: 30px;
  color: var(--accentColor);
}






/*App Cards*/


.portfolioHeadline {
  padding-top: 60px;
  text-align: center;
  background-color: var(--darkGrey);
  
}

.portfolioHeadline h2 {
  font-size: 2rem;
  letter-spacing: 10px;
  color: white;
  font-family: "Montserrat",sans-serif;
  margin-bottom: 15px;
}

.portfolioHeadline hr {
  margin: 0 auto;
  border: 1px solid var(--accentColor);
  width: 70px;
}

.cardContainer {
  display: flex;
  justify-content: center;
  padding: 50px 40px 30px 40px;
  background-color: var(--darkGrey);
}


.app{
    display: flex;
    justify-content: space-between;
    max-width: 1050px;
    padding: 10px 40px 10px 40px;
    border-radius: 15px;
    background-color: #dadada;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


.cardContainer #text {
  font-family: "Nunito", sans-serif;
  margin: 40px 0px 20px 0px;
  font-size: 21px;
  color: #424242; 
}

.cardContainer h1 {
  color: #262626;
  font-family: "Montserrat", sans-serif;
  font-weight: bolder;
  letter-spacing: 1.3px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.imgContainer {
  width:40%; /*container-width*/
   overflow:hidden; /*hide bounds of image */
   margin:0 0 0 0px;   /*reset margin of figure tag*/
  
}


.app .imgContainer img {
  display: block;
  height: auto;
  margin:-5% -33%;
  width:167%;
}


.app #textBox {
    text-align: center;
    width: 50%;
    
}

.app .downloadButton{
  margin-top: 37px;
}
.app .downloadButton > a > img{
  margin-left: 0px;
  margin-top: 0px;
}

/*About*/

#aboutBody {
background-image: url("../images/croppedMac.png");
}

.macBackground {
  position: relative;
}

.macBackground img{
  width: 100.1%;
  margin-bottom: -10px;
}


.aboutTextBox {
  text-align: left;
  margin: 100px 0 800px 100px;
  font-family: "Montserrat";
  color: white;
  font-size: 30px;
  font-weight: bold;
  line-height: 1.6;
}






.emailWrapper {
  padding: 0 25px 0 25px;
  margin-bottom: 300px;
}

.emailContainer {
  border-radius: 15px;
  background-color: #e0e0e0;
  padding: 30px 40px 40px 40px;
  max-width: 600px;
  margin: 60px auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  box-sizing: border-box;
}

.emailContainer label {
  font-family: sans-serif;
  font-weight: bold;
}

.emailContainer h2 {
  text-align: center;
  font-family: "Verdana";
  font-weight: bold;
  font-size: 35px;
}

/* Style inputs */
input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type=submit] {
  background-color: #4CAF50;
  color: white;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #45a049;
}

input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type=submit] {
  background-color: #4CAF50;
  color: white;
  padding: 13px 30px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #45a049;
}



.adress {
  padding: 50px;
  font-family: "Montserrat";
  font-size: 22px;
  margin-bottom: 400px;
}



/*Footer*/


footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  background-color: #51515e;
  padding: 1rem;
  
}


/*Icons*/
footer .fab {
  margin: 5px 10px;
  font-size: 30px;
  color: var(--accentColor);
}

footer a {
  color:inherit;
}


footer .policy a{
  text-decoration: none;
  font-family: "Montserrat";
  color: white;
  font-size: 13px;
  padding: 10px;
}


footer .copyright {
  color: gray;
  font-family: sans-serif;
  font-size: 1rem;
  margin-right: 80px;
}


footer a:hover {
  color: var(--accentColor);
}




@media only screen and (max-width: 580px) {
  .main-nav a{
    padding: 0 13px;
  }

footer {
  flex-direction: column;
  
}

  
  footer .socialMedia {
    margin: 20px 20px;
    font-size: 1.8rem;
  }
  


}


.table {
  margin: 50px auto;
  background-color: lightblue;
  text-align: center;
}



@media screen and (max-width: 768px) {


  /*Logo width sets navbar height*/
  .logo {
    width: 50px;
  }


  .burger {
    display: block;
  }
  .nav-links{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 20rem;
    width: 100%;
    top: 8vh;
    right: 0px;
    background-color: #51515e;
    justify-content: center;
    transform: translateY(-120%);
    transition: transform 0.6s ease-in;
  }
/*Toggle Burger Icon*/
  .nav-active {
    transform: translateY(-5%);
  }

  .main-nav li {
    margin: 15px 0px;
    opacity: 0;
  }


  /*Header*/

  header.masthead {
    
    padding-bottom: 250px;

  }


  header h1 {
    font-size: 1.7rem;
    margin: 60px 50px 0px 30px;
  }

  header span {
    font-size: 2rem;
  }
  

 /*Section*/


  section .box i {
    font-size: 3.5rem;
    margin-bottom: 20px;
  }


section .container {
  flex-wrap: wrap;
}

  section .box h3 {
    font-size: 1.3rem;
  }


  section .box p {
    font-size: 0.8rem;
  }

   



/*App Cards*/

.app {
  flex-wrap: wrap;
  padding: 10px 0 0 0;
}


.app #textBox {
  width: 100%;
}

.imgContainer {
  width:80%; /*container-width*/
   margin: auto;   /*reset margin of figure tag*/
}


.app img{
  height: auto;
  margin:-5% -33%;
  width:167%;
}

.cardContainer {
  padding: 40px 30px 20px 30px;
}

.cardContainer #text {
  margin: 0px 20px 20px 20px;
  font-size: 17px;
}
footer .policy {
  display: flex;
  flex-direction: column;
}

footer .policy a{
  font-size: 0.8rem;
  padding: 5px;
}

footer .socialMedia {
  font-size: 1.8rem;
  color: var(--accentColor);
}

footer .copyright {
  color: gray;
  font-family: sans-serif;
  font-size: 0.9rem;
  margin-right: 0px;
}



}


