/* ============================================= */
/*                    Main                       */
/* ============================================= */
* {
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
}

.main {
  /* margin-left: 260px; Same as the width of the sidenav */
  /* margin-right: 90px; */
  margin-left: 25%;
  font-size: 28px; /* Increased text to enable scrolling */
  padding: 0px 0px;

}

.holder {
  margin-left: 20%;
}

h1 {
  font-size: 1.5rem;
  margin-top: 35%;
  /* margin-left: 25%; */
}

h2 {
  font-size: 1rem;
}



/* ============================================= */
/*                  Sidenav                      */
/* ============================================= */
.sidenav {
  height: 100%;
  width: 250px;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  padding-top: 2px;
  background-image: url("../img/background.jpeg");
  text-shadow: 0px 0px 11px black;
}

a.social {
  display: inline-block;
  text-indent: -9999px;
  margin-left: 5px;
  width: 30px;
  height: 30px;
  background-size: 30px 30px;
}


.sidenav a {
  text-decoration: none;
  font-size: 25px;
  color: white;
  display: block;
  margin-top: -15px;
  margin-bottom: 25px;
  margin-left: 40px;
  transition: 2s;
}

.sidenav a:hover {
  color: #efcf30;
}

a.social:hover {
  transform: scale(1.4);
}

.sidenav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.sidenav ul li {
  display: inline-block;
}

.linkedin {
  background-image: url(../img/linkedin.svg);
  background-repeat: no-repeat;
  margin-right: -30px;

}
.github {
  background-image: url(../img/github.svg);
  background-repeat: no-repeat;
}

/* ============================================= */
/*              Mirror Master                    */
/* ============================================= */

.profile-img {
  margin-top: 50px;
  margin-bottom: 50px;
  margin-left: 20px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid #91a674;
}


/* ============================================= */
/*                   About                       */
/* ============================================= */

.about {
  margin: auto;
  margin-left: 40px;
  width: 200px;
}

h3 {
  text-align: center;
  font-family: 'Charmonman', cursive;
  font-size: 72px;
  color: #2596be;
  margin-top: 100px;
  margin-left: -20px;
}

h4 {
  text-align: center;
  font-family: 'Source Serif Pro', serif;
  font-weight: 400;
  margin-bottom: 15px;
  font-size: 22px;
  color: rgb(77, 76, 76);
}

hr {
  background-color: #2596be;
  height: 1px;
  border: none;
  margin-top: 0px;
}
/* ============================================= */
/*                   Cards                       */
/* ============================================= */

button {
  text-decoration: none;
  background-color: #2596be!important;
  margin-bottom: 8px;
}

.flip-card a {
  margin-top: -8px;
  background-color: grey;
}

.flip-card {
  margin-top: 75px;
  margin-left: 15px;
  display: inline-block;
  justify-content: center;
  background-color: black;
  color: white;
  font-family: 'Source Serif Pro', serif;
  font-weight: 300;
}

/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-card {
  background-color: transparent;
  width: 275px;
  height: 275px;
  border: 1px solid #f1f1f1;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background-color: #bbb;
  color: black;
}

/* Style the back side */
.flip-card-back {
  background-color: #91a674;
  color: #ffffff;
  transform: rotateY(180deg);
}

.flip-card-back h1, a {
  text-decoration: none;
  color: white;
}

.modal p {
  font-size: 20px;
}

.modal a {
  margin-top: -9px;
  background-color: #2596be;
}

.modal-header {
  margin-left: -150px;

}

/* ============================================= */
/*                   Goals                       */
/* ============================================= */
.card {
  border: none;
  margin-top: 50px;
}

h5 {
  font-family: 'Source Serif Pro', serif;
  font-weight: 600;
  margin: auto;
  margin-bottom: 10px;
  color: grey;
}

ul.skills {
  padding: 0;
  text-align: center;
}

.skills li {
  border-radius: 14px;
  display: inline-block;
  background: #2596be;
  color: white;
  padding: 5px 10px;
  margin: 2px;
  font-size: 20px;
}

.skills li:nth-child(odd) {
  background: olivedrab;
}

/* ============================================= */
/*                   Footer                      */
/* ============================================= */

footer hr{
  height: 50px;
  margin: 40px 0 0 0;
}

/* ============================================= */
/*                   Media Queries               */
/* ============================================= */

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

@media (min-width: 768px) {
  .about {
    margin: auto;
    width: auto;
  }
  .main {
    margin-left: 300px; /* Same as the width of the sidenav */
    margin-right: 90px;
    font-size: 28px; /* Increased text to enable scrolling */
    padding: 0px 0px;
    }
  .flip-card {
    margin-top: 75px;
    margin-left: 15px;
    display: inline-block;
    justify-content: center;
    background-color: transparent;
    color: white;
    font-family: 'Source Serif Pro', serif;
    font-weight: 300;
  }
}
