body {
  color: #40514E;
  margin: 0;
  text-align: center;
  font-family: 'Merriweather', serif;
}

h1 {
  color: #66BFBF;
  font-size: 5.625rem;
  margin: 50px auto 0 auto;
  font-family: 'Sacramento', cursive;
}

h2 {
  color: #66BFBF;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: normal;
  padding-bottom: 10px;
}

h3 {
  color: #11999E;
  font-family: 'Montserrat', sans-serif;
}

p {
  line-height: 2;
}

hr {
  border: dotted #EAF6F6 6px;
  border-bottom: none;
  width: 4%;
  margin: 100px auto;
}

a{
  color: #11999E;
  font-family: 'Montserrat', sans-serif;
  margin: 10px 20px;
  text-decoration: none;
}

a:hover {
  color: #EAF6F6;
}

.top-container {
  background-color: #090909;
  position: relative;
  padding-top: 100px;
}
/* ====================================== */

.video-youtube-container {
  position: relative;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  pointer-events: none;
}

.video-youtube-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #080808;
  animation: fadeout 7s forwards;
}

@keyframes fadeout
{
  50% {   opacity:  1;  }
  100% {  opacity:  0.2;  }
}

.video-loading-overlay {
  position: absolute;
  top: 40%;
  left: 45%;
  height: 120px;
  width: 120px;
  border: 6px solid;
  border-color: white transparent white transparent;
  border-radius: 50%;
  animation: spinning 6s forwards;
}

@keyframes spinning
{
  to  {transform: rotate(360deg);}
  50% {   opacity:  1;  }
  100% {  opacity:  0;  }
}
/* ====================================== */
.middle-container {
  margin: 100px 0;
  align-items: center;
  justify-content: center;  
}

.bottom-container {
  background-color: #000000;
  padding: 50px 0 20px;
}

.skill-row {
  width: 50%;
  margin: 100px auto 100px auto;
  text-align: left;
}

.pro {
  text-decoration: underline;
  color:rgb(111, 17, 6);
}

.intro {
  width: 50%;
  margin: auto;
}

.contact-message {
  width: 40%;
  margin: 40px auto 60px;
}

.copyright {
  color: #EAF6F6;
  font-size: 0.75rem;
  padding: 20px 0;
}


.code-img {
  width: 25%;
  float: left;
  margin-right: 30px;
}


.btn {
  background: #11cdd4;
  background-image: -webkit-linear-gradient(top, #11cdd4, #11999e);
  background-image: -moz-linear-gradient(top, #11cdd4, #11999e);
  background-image: -ms-linear-gradient(top, #11cdd4, #11999e);
  background-image: -o-linear-gradient(top, #11cdd4, #11999e);
  background-image: linear-gradient(to bottom, #11cdd4, #11999e);
  -webkit-border-radius: 8;
  -moz-border-radius: 8;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  font-size: 20px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}

.btn:hover {
  background: #30e3cb;
  background-image: -webkit-linear-gradient(top, #30e3cb, #2bc4ad);
  background-image: -moz-linear-gradient(top, #30e3cb, #2bc4ad);
  background-image: -ms-linear-gradient(top, #30e3cb, #2bc4ad);
  background-image: -o-linear-gradient(top, #30e3cb, #2bc4ad);
  background-image: linear-gradient(to bottom, #30e3cb, #2bc4ad);
  text-decoration: none;
}

.skillheading {
  padding-top: 20px;
}

.flip-cards {
  display: flex;
  flex-wrap: wrap;
  width: 70% ;
  min-width: 80%;
  padding-top: 20px;
  align-items: flex-end;
  justify-content: center;
  margin-left: 15%;
  margin-right: 15%;
}

.card {
  width: 150px;
  height: 200px;
  padding: 2rem 1rem;
  background: #fff;
  position: relative;
  display: flex;
  align-items: flex-end;
  box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.5);
  transition: 0.5s ease-in-out;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5%;
  justify-content: center;
}

.card:hover {
  transform: translateY(20px);
}

.card:before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 2;
  transition: 0.5s all;
  opacity: 1;
}

.card:hover:before {
  transform: translateY(20px);
}

.card img{
  width: 100%;
  height: 100%;
  object-fit: scale-down;
  position: absolute;
  top: 0;
  left: 0;
}

.card .info{
  position: relative;
  z-index: 3;
  background: #0a0a0a;
  color: #fff;
  opacity: 0;
  transform: translateY(30px);
  transition: 0.5s all;
}

.card:hover .info{
  opacity: 1;
  transform: translateY(0px);
}

.card .info h3{
  font-family: 'Montserrat', sans-serif;
  text-wrap: pretty;
  margin: 0;
}

.card .info p{
  letter-spacing: 1ps;
  font-size: 15px;
  margin-top: 8px;
  margin-bottom: 20px;
  text-wrap: pretty;
}

.copyright {
  color: #737070;
}

