@charset "UTF-8";
/* colors*/
/* -- mixIn ---*/
/* --  keyFrames--- */
@-webkit-keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes pushBar {
  from {
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
  }
  to {
    -webkit-transform: translateX(-360px);
            transform: translateX(-360px);
  }
}
@keyframes pushBar {
  from {
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
  }
  to {
    -webkit-transform: translateX(-360px);
            transform: translateX(-360px);
  }
}
/*Global*/
* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

h1 {
  font-family: "Luckiest Guy", cursive;
}

h2,
p,
a {
  font-family: "Krub", sans-serif;
}

h3 {
  font-family: "Special Elite", cursive;
}

body {
  background: #c3cfe2;
  position: relative;
  overflow-x: hidden;
}

/* Pick any color you like*/
/*header**/
/*main* Card*/
/*main* photoHover*/
/*Footer*/
/* 1.1 - Header -*/
.header {
  width: 100%;
  height: 200px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #686ce04f;
}
.header__title {
  color: #686de0;
  font-size: 40px;
  letter-spacing: 5px;
}
.header__discription {
  font-size: 20px;
  border-bottom: 1px solid black;
  display: inline;
}

/* 1.2 - Main--*/
.main {
  max-width: 1400px;
  margin: auto;
  padding-top: 30px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(auto);
}
.main__center-wrap {
  max-width: 445px;
  margin: auto;
}

.testimonial {
  -webkit-box-shadow: 13px 14px 11px -9px rgba(0, 0, 0, 0.3);
  box-shadow: 13px 14px 11px -9px rgba(0, 0, 0, 0.3);
  margin: 20px;
  max-width: 445px;
  border-radius: 20px;
  position: relative;
  background-color: white;
  display: grid;
  grid-template-columns: minmax(auto, 445px);
  grid-template-rows: minmax(275px, auto) 100px 185px;
  grid-template-areas: "main" "head" "foot";
  overflow: hidden;
}
.testimonial__header {
  position: absolute;
  bottom: -80%;
  left: 20%;
  right: 20%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  grid-area: head;
}
.testimonial__img {
  border: 5px solid white;
  width: 160px;
  height: 160px;
  border-radius: 50%;
}
.testimonial__title {
  color: white;
  letter-spacing: 3px;
  font-weight: 500;
  padding-top: 10px;
}
.testimonial__discription {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  grid-area: main;
  margin-top: 30px;
  padding: 30px;
  line-height: 35px;
  letter-spacing: 1px;
  font-size: 20px;
  color: gray;
  font-weight: 500;
}
.testimonial__footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  border-radius: 0 0 17px 17px;
  background-color: #686de0;
  grid-area: foot;
}
.testimonial__link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.514);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 30px;
}

.picture {
  -webkit-box-shadow: 13px 14px 11px -9px rgba(0, 0, 0, 0.3);
  box-shadow: 13px 14px 11px -9px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  margin: 20px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  max-width: 390px;
  max-height: 580px;
  overflow: hidden;
  background-color: #4d515c;
  border-radius: 20px;
}
.picture__btn {
  position: absolute;
  border: 2px solid #686de0;
  background-color: #41446b;
  color: white;
  border-radius: 20px;
  padding: 10px;
  opacity: 0;
}
.picture:hover > img {
  -webkit-animation: fadeOut 500ms forwards;
          animation: fadeOut 500ms forwards;
}
.picture:hover > .picture__btn {
  -webkit-animation: fadeIn 1s forwards;
          animation: fadeIn 1s forwards;
  -webkit-transform: scale(1.5);
          transform: scale(1.5);
  -webkit-transition: 1s;
  transition: 1s;
}
.picture__img {
  width: 100%;
  opacity: 1;
}
.picture__link {
  color: white;
  text-decoration: none;
}
.picture__link__text {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 5px;
}

.aside {
  position: fixed;
  right: -360px;
  top: 55%;
}
.aside__list {
  list-style: none;
}
.aside__item:nth-child(1) {
  background-color: #e17b77;
}
.aside__item:nth-child(1)::before {
  content: "";
}
.aside__item:nth-child(2) {
  background-color: #00aced;
}
.aside__item:nth-child(2)::before {
  content: "";
}
.aside__item:nth-child(3) {
  background-color: #007bb6;
}
.aside__item:nth-child(3)::before {
  content: "";
}
.aside__item:nth-child(4) {
  background-color: #3b5998;
}
.aside__item:nth-child(4)::before {
  content: "";
}
.aside__item:nth-child(5) {
  background-color: #333;
}
.aside__item:nth-child(5)::before {
  content: "";
}
.aside__item:nth-of-type(1n + 1) {
  padding: 20px;
  cursor: pointer;
}
.aside__item:nth-of-type(1n + 1)::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: white;
  font-size: 30px;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
.aside__item:nth-of-type(1n + 1):hover {
  -webkit-animation: pushBar 1s forwards;
          animation: pushBar 1s forwards;
}
.aside__link {
  color: white;
  font-size: 25px;
  text-decoration: none;
  margin-left: 80px;
}

/* 1.4 - Footer --*/
.footer {
  margin-top: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  height: 100px;
  background-color: #686ce04f;
}
.footer__title {
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.658);
  padding: 5px;
}
.footer__discription {
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.658);
  padding: 5px;
}

/* 1.5 - Media Queries ---------------*/
@media (min-width: 900px) {
  .header {
    text-align: center;
    padding: 100px 0;
  }
  .header__title {
    font-size: 60px;
    letter-spacing: 5px;
  }
  .header__discription {
    font-size: 40px;
  }

  .main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(auto);
  }
  .main__center-wrap {
    padding-bottom: 15px;
  }
}
@media (min-width: 1400px) {
  .header {
    text-align: center;
    padding: 100px 0;
  }
  .header__title {
    font-size: 75px;
    letter-spacing: 5px;
  }
  .header__discription {
    font-size: 50px;
  }

  .main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(auto);
  }
  .main__center-wrap {
    padding-bottom: 15px;
  }
}
/*# sourceMappingURL=style.css.map */