 * {
  margin: 0;
  padding: 0;
 }

 html {
  font-family: oswald;
  font-size: 10px;
 }

 .team {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #ccc;
  position: relative;
 }

 .team img.color {
  position: absolute;
  bottom: 0;
  right: -15%;
  height: 76%;
  z-index: 1;
  animation: color 6s linear infinite;
 }

 .team img.gray {
  position: absolute;
  bottom: 0;
  left: -70%;
  height: 110%;
  opacity: 0.2;
  animation: gray 6s linear infinite;

 }

 .team .title {
  position: absolute;
  top: 12%;
  left: 0;
  text-align: center;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: text 6s linear infinite;
 }

 .team h1 {
  font-size: 4.5rem;
  color: orangered;
 }

 .team h2 {
  font-size: 2.5rem;
  text-transform: none;
 }


 @media (orientation: landscape) {
  .team img.color {
   right: 5%;
   height: 56%;
  }
  .team img.gray {
   bottom: -10%;
   left: 0;
   height: 110%;
   width: 100%;
  }
  .team .title {
   width: 100%;
   right: auto;
   left: auto;
  }
 }

 @media (min-width: 1025px) {
  .team h1 {
   font-size: 8rem;
  }
  .team h2 {
   font-size: 6rem;
  }
 }

 @media (orientation: portrait) {
   .team img.color {
   right: 5%;
   height: 35%;
   width: 90%;
   bottom: 15%;
  }
  .team img.gray {
   bottom: 0;
   left: 0;
   height: 100%;
   width: 100%;
  }
  .team .title {
   top: 20%;
   width: 100%;
   right: auto;
   left: auto;
  }
}


 @keyframes color {
  0% {
   transform: translateX(0);
   opacity: 0;
  }

  8% {
   opacity: 0;
  }

  13% {
   opacity: 1;
  }

  87% {
   opacity: 1;
  }

  92% {
   opacity: 0
  }

  100% {
   transform: translateX(-5%);
   opacity: 0;
  }
 }

 @keyframes gray {
  0% {
   transform: translateX(0) scale(1);
   opacity: 0;
  }

  8% {
   opacity: 0;
  }

  13% {
   opacity: .2;
  }

  87% {
   opacity: .2;
  }

  92% {
   opacity: 0
  }

  100% {
   transform: translateX(5%) scale(1.1);
   opacity: 0;
  }
 }

 @keyframes text {
  0% {
   transform: scale(1);
   opacity: 0;
  }

  8% {
   opacity: 0;
  }

  13% {
   opacity: 1;
  }

  87% {
   opacity: 1;
  }

  92% {
   opacity: 0
  }

  100% {
   transform: scale(1.1);
   opacity: 0;
  }
 }

 nav {
  background-color: orangered;
  padding: 25px 50px 340px 50px;  
  /*margin: 20px 0;*/
}

nav ul {
  list-style: none;
}

nav ul li {
  float: left;
  width: 50%;
}

nav ul li a {
   display: block;
   margin-left: 2px;
   margin-bottom: 20px;
   border: 5px solid white;
   font-size: 33px;
   color: white;
   text-decoration: none;
   text-transform: none;
   text-align: center;
}

nav ul li a:hover {
color: yellow;
border-color: yellow;
}

main {
float: none;
width: 90vw;
background-color: white;
}

main p {
 font-size: 15px;
 text-align: right;
 margin-top: 10px;
}

main article h2 {
margin-top: 80px;
margin-bottom: 40px;
margin-left: 60px;
font-size: 50px;
text-transform: uppercase;
color: orangered;
text-align: center;   
}

main article p {
font-size: 25px;
margin-top: 20px;
margin-bottom: 60px;
margin-left: 100px;
margin-right: 20px;
text-align: left;
width: 100%;
line-height: 1cm;
}

/*main article h2 p embed {
  width: 80vw;
  height: 100vh;
}*/

main article p video {
  width: 80vw;
  height: 100vh;
}

main article h2 p embed:hover {
width: 80vw;
height: 90vh;
cursor: pointer;
}

/*main article table {
  width: 80vw;
  height: 50%;
  margin: auto;

}

main article table th, tr, td {
  border: 2px solid black;
  border-collapse: collapse;
  padding: 7px 2px;
  font-family: Arial, sans-serif;
}

main article table th {
  text-align: center;
  text-decoration: solid;
  text-transform: uppercase;
  font-size: 20px;
  color: darkgreen;
}

main article table td {
  font-size: 18px;
  color: black;
  text-align: left;
}

input {
  color: darkgreen;
  text-decoration: solid;
  cursor: pointer;
}
main article table th:hover {
  color: blue;
  cursor: pointer;
}*/


main article p a {
 text-decoration: solid;
}

main article p a:hover {
 color:red;
}

footer {
background-color: orangered;
width: 100%;
padding: 10px 0px;
margin-top: 5px;
margin-bottom: 0;
margin-left: 0;
margin-right: -50px;
}

footer p { 
text-transform: none;
font-size: 14px;
text-align: left;
line-height: 0.7cm;
color: white;
margin-right: 20px;
margin-left: 20px;
}

footer p i {
  text-transform: none;
}

footer p a {
 color: white;
 text-decoration: underline;
 text-transform: none;
}

footer p a:hover {
 color: yellow;
}

@media (max-width: 1400px) {
 h1 {
   font-size: 40px;
 }
 h1:nth-of-type(2) {
   font-size: 30px;
   top: 2%;
  left: 0%;
 }
 nav ul li a {
   font-size: 25px; 
  }
 }

 @media (max-width: 1120px) {
 nav ul li a {
   font-size: 20px; 
  }
 }

@media (max-width: 1024px) {
 main article h2 {
  text-align: center;
  margin-left: 30px;
 }
 main article p {
  margin-left: 30px;
 }
}

@media (max-width: 960px) {
 nav {
  padding: 15px 45px 160px 45px; 
    }
 nav ul li {
  width: 50%;
    }
 nav ul li a {
  margin-left: 2px;
  margin-bottom: 0px;
  margin-top: 2px;
  border: 2px solid white;
  font-size: 20px;
 } 
 main article p {
  margin-left: 28px;
 }

/* main article table th, tr, td {
  padding: 2px;
 }
 main article table th {
  font-size: 12px;
 }
 main article table td {
  font-size: 12px;
 }*/
}

@media (max-width: 670px) {
 h1 {
  font-size: 33px;
  margin-left: 0;
  }
 h1:nth-of-type(2) {
  font-size: 33px;
  top: 2%;
  left: 0;
  }
 nav {
  padding: 15px 45px 160px 45px; 
  }
 nav ul li a {
  font-size: 16px;
 } 

/* main article table th {
  font-size: 11px;
  text-transform: none;
  text-decoration: none;
  text-align: left;
 }
 main article table td {
  font-size: 11px;
 }*/

 footer p {
  text-transform: none;
  font-size: 10px;
  line-height: 0.4cm;
 }
}

@media (max-width: 540px) {
 main article p {
  font-size: 20px;
  line-height: 0.5cm;
  margin-top: 15px;
  margin-left: 20px;
 }
 nav {
  padding: 15px 45px 140px 45px; 
  }

  /*main article table th, tr, td {
    padding: 1px;
   }
  main article table th {
    font-size: 10px;
 
   }
   main article table td {
    font-size: 10px;
   }*/
}


@media (max-width: 415px) {
 main article h2 {
  font-size: 20px;
  margin-top: 30px;
  margin-left: 20px;
 }
 main article p {
  font-size: 16px;
  margin-top: 5px;
  margin-bottom: 25px;
 }

/*main article table th {
  font-size: 9px;
 }
 main article table td {
  font-size: 9px;
 }*/
}

@media (max-width: 412px) {
 main article h2 {
  margin-top: 15px;
  margin-bottom: 20px;
  font-size: 20px;
 }
 main article p {
  font-size: 14px;
}

/*main article table th {
  font-size: 8px;
  
 }
 main article table td {
  font-size: 8px;
 }*/
}

@media (max-width: 300px) {
 nav ul li a {
  font-size: 13px;
 } 
 nav {
  padding: 15px 45px 120px 45px; 
  }
  /*main article table th {
    font-size: 6px;
    
   }
   main article table td {
    font-size: 6px;
   }*/
 footer p {
  text-transform: none;
  font-size: 8px;
  line-height: 0.3cm;
}
}

@media (max-width: 280px) {
  .team h1 {
    font-size: 20px;
   }
  
   .team h2 {
    font-size: 15px;
   }
}
