/* --- Colors --- */
/* --- Mixins --- */
/* --- Typography --- */
@import url("https://fonts.googleapis.com/css?family=Raleway:700|Roboto:300,400,500,700&display=swap");
a {
  text-decoration: none;
  color: inherit;
  margin: 0;
}

a:visited {
  color: inherit;
}

ul {
  list-style: none;
}

.title1 {
  font-size: 2.5rem;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  margin: 0 0 4rem 0;
  text-align: center;
}

.title2 {
  font-size: 2rem;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
}

.i_pink {
  color: #F56A65;
}

.i_blue {
  color: #5D86C4;
}

.i_turq {
  color: #68C4D9;
}

.i_green {
  color: #83D0B0;
}

/* --- ALL --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  color: black;
  font-size: 13px;
  font-family: "Roboto", sans-serif;
  margin: 0 auto;
  scroll-behavior: smooth;
}

/* --- GENERAL ---*/
.wrapper {
  padding: 11rem 0 2rem 0;
}

.menu {
  overflow: scroll;
  position: fixed;
  left: 0;
  top: 0;
  width: 70%;
  font-size: 1.8rem;
  display: none;
  z-index: 300;
  background-color: white;
  height: 100vh;
}

.menu ul {
  border-right: 0.2px solid #C4C4C4;
}

.menu ul li {
  border-bottom: 0.2px solid #C4C4C4;
  padding: 2.3rem 1.5rem 2.3rem 1.5rem;
  font-size: 1.7rem;
  font-weight: 500;
  display: flex;
  justify-content: space-around;
  align-content: center;
}

.menu ul li .menu_item {
  width: 70%;
}

.menu ul li i {
  font-size: 2.1rem;
  width: 30%;
}

.menu ul li .fa-sun {
  color: #68C4D9;
}

.menu .back {
  background-color: #fbc7c5;
}

header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
}

header nav {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  padding: .8rem;
  align-items: center;
}

header nav .menu_icon {
  width: 50%;
  padding: .5rem 0 .5rem 0;
  border: 0.2px solid #C4C4C4;
  font-weight: 600;
  font-size: 1.6rem;
  text-align: center;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.12);
}

header nav .menu_icon span {
  margin: 0 0 0 1rem;
}

header nav .user_icon {
  width: 4rem;
  height: 4rem;
  border-radius: 4rem;
  border: 0.2px solid #C4C4C4;
}

header nav .user_icon img {
  width: 100%;
  object-fit: contain;
  border-radius: 4rem;
}

header .section_title {
  display: flex;
  justify-content: center;
  padding: .7rem;
  border: 0.2px solid #C4C4C4;
  background-color: white;
}

/* --- PLACES ---*/
.header_places {
  background-color: #5ec298;
}

.header_places nav .menu_icon {
  background-color: #cdecdf;
}

.places {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  background-color: #afe1cc;
}

.places .place {
  width: 80%;
}

/* -> Cards */
.card1 {
  background-color: #FFFFFF;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.12);
  border: 0.2px solid #C4C4C4;
  border-radius: 3px;
  padding: 1.7rem 1rem 1.7rem 1rem;
  margin: .8rem 0 0 0;
  padding: 1.5rem 2rem 1.5rem 2rem;
}

.card1:first-child {
  margin: 0;
}

.card1 .card1_image {
  width: 100%;
}

.card1 .card1_image img {
  width: 100%;
  object-fit: cover;
}

.card1 .card1_icon {
  background-color: #83D0B0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-content: center;
  padding: 2rem;
}

.card1 .card1_icon i {
  font-size: 7rem;
}

.card1 .card1_name {
  margin: 1rem 0 .7rem 0;
}

.card1 .card1_name h2 {
  font-weight: 700;
  font-size: 1.5rem;
}

.card1 .card1_description {
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.8rem;
}

.card2 {
  background-color: #FFFFFF;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.12);
  border: 0.2px solid #C4C4C4;
  border-radius: 3px;
  padding: 1.7rem 1rem 1.7rem 1rem;
  margin: .8rem 0 0 0;
  padding: .6rem .5rem .6rem .6rem;
  margin: 1rem 0 0 0;
  display: flex;
  flex-flow: row wrap;
}

.card2:first-child {
  margin: 0;
}

.card2 .card1_image {
  width: 120px;
  height: 120px;
}

.card2 .card1_image img {
  width: 30%;
  object-fit: contain;
}

.card2 .card2_icon {
  background-color: #68C4D9;
  width: 45%;
  display: flex;
  justify-content: center;
  align-content: center;
  padding: 2rem;
}

.card2 .card2_icon i {
  font-size: 5rem;
}

.card2 .card2_name {
  margin: 0 0 0 .8rem;
  width: 50%;
  display: flex;
  align-items: center;
}

.card2 .card2_name h2 {
  font-weight: 700;
  font-size: 2rem;
}

/* --- SUPPORTS ---*/
.header_support {
  background-color: #3fb4cf;
}

.header_support nav .menu_icon {
  background-color: white;
}

.supports {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  background-color: #b9e4ee;
}

.supports .support {
  width: 90%;
}

.show {
  display: block;
}

.bluetooth .modal_content i {
  padding: 3.5rem 0 4rem 0;
  text-align: center;
  font-size: 5rem;
  color: #5D86C4;
}

.bluetooth .modal_content p {
  font-weight: 500;
  font-size: 1.7rem;
  padding: 0 1rem 3rem 1rem;
}

/* ---- MODAL ---- */
.modal {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal .modal_content {
  background-color: #FFFFFF;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.12);
  border: 0.2px solid #C4C4C4;
  border-radius: 3px;
  padding: 1.7rem 1rem 1.7rem 1rem;
  margin: .8rem 0 0 0;
  display: flex;
  flex-flow: column;
  margin: 2rem;
  padding: .5rem 1.5rem 3rem 2.3rem;
}

.modal .modal_content .modal_audio {
  padding: .1rem;
  text-align: right;
}

.modal .modal_content .modal_image {
  width: 100%;
}

.modal .modal_content .modal_image img {
  width: 100%;
  object-fit: cover;
}

.modal .modal_content .modal_description {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 2rem;
  margin: 1.5rem 0 1.5rem 0;
}

.modal .modal_content .close {
  display: flex;
  justify-content: center;
  font-size: 1.5rem;
  border: 0.2px solid #C4C4C4;
  padding: .7rem;
  background-color: #fbc7c5;
}

.modal .modal_content .close i {
  width: 20%;
}

.modal .modal_content .close .menu_item {
  font-weight: 600;
}

.modal .modal_content .next {
  display: flex;
  justify-content: center;
  font-size: 1.5rem;
  border: 0.2px solid #C4C4C4;
  padding: .7rem;
  background-color: #a8dec8;
  margin: 0 0 1rem 0;
}

.modal .modal_content .next i {
  width: 20%;
}

.modal .modal_content .next .menu_item {
  font-weight: 600;
}

.modal button {
  background-color: none;
  border: none;
  box-shadow: none;
}

.hide {
  display: none;
}

/*---- QR ----*/
.scan {
  width: 200px;
  height: 200px;
  position: relative;
  background: grey;
}

span.border {
  display: block;
  width: 100%;
  border: 1px solid red;
  position: absolute;
  -webkit-animation: mover ease-out 1s infinite alternate;
  animation: mover ease-out 1s infinite alternate;
}

@-webkit-keyframes mover {
  0% {
    top: 0;
  }
  100% {
    top: 200px;
  }
}

@keyframes mover {
  0% {
    top: 0;
  }
  100% {
    top: 200px;
  }
}
