/* Neue Regrade' */
@font-face {
  font-family: 'Neue Regrade';
  src: url('assets/fonts/Neue_Regrade_Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Neue Regrade';
  src: url('assets/fonts/Neue_Regrade_Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

body {
	background : #FAF6E7;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.card{
  background-color: #355952;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 60vh;
  min-height: 480px;
  max-height: 500px;
  width: 22vw;
  border-radius: 15px;
  overflow: hidden;
  /* box-shadow: 0 2px 8px rgba(14,21,47,0.25); */
  transform-style: preserve-3d;
  transition: transform 0.2s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

.card a {
  padding: 0px;
}

.card h1 {
  font-family: 'Neue Regrade';
  font-style: normal;
  font-weight: 700;
  font-size: 42px;
  line-height: 53px;
  text-align: center;
  margin: 5%;
  color: #FAF6E7;
}

.card h3 {
  /* Heading 4 */
  font-family: 'Neue Regrade';
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  text-align: center;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 10%;
  color: #FAF6E7;
}

.profile-mask {
  width: 35%;
  border-radius: 50%;
  overflow: hidden;
  margin-top: 10%;
}

.profile-picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-head {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
}

.card-footer button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  width: 70%;
  height: 65px;
  background: #EAB63E;
  border-radius: 100px;
  transform: translateY(0);
  transition: transform 0.5s ease;
  text-transform: uppercase;
  margin-bottom: 10%;
  font-family: 'Neue Regrade';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 109.3%;
  letter-spacing: 0.16em;
  color: #355952;
  border: 0;
}

.card-footer button:hover, button:focus {
  background: #FAF6E7;
  transition: background 0.4s ease;
}

#acceleration-values {
  display: none;
}

.scene {
  perspective: 100em;
}

.modal {
  display: none;
  justify-content: center;
  z-index: 1;
  position: fixed;
  width: 100%;
  height: 30%;
  overflow: auto;
  border-radius: 15px;
  background-color: #EAB63E;
  opacity: 0.9;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.open {
  transform: translateY(0);
}

.modal-content {
  display: flex;
  flex-direction: column;
  padding: 4%;
  width: 85%;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
}
.social-icons a {
  margin: 0% 5%;
  text-decoration: none;
}

.social-icons i {
  font-size: 36px;
  color: #FFFFFF;
}

.social-icons i:hover, i:focus {
  font-size: 36px;
  color: #355952;
  transition: color 0.4s ease;
}

.close {
  align-self: flex-end;
  color: #323232;
  font-size: 28px;
  font-weight: bold;
}

.modal-content button {
  align-self:flex-end;
  background: none;
  border: none;
  width: fit-content;
  height: fit-content;
  padding: 0%;
  margin: 0%;
  font-size: 30px;
  color: #FFFFFF;
}

.modal-content button:hover, button:active {
  background: none;
}

.close:hover,
.close:focus {
  color: #355952;
  text-decoration: none;
  cursor: pointer;
}


.container {
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: center;
  justify-content: center;
}

.cover {
  display: inline-block;
  height: 200px;
	width: 320px;
	margin: 15px;
	border-radius: 8px;
}

@media only screen and (max-width: 1024px) {
  .card {
    height: 70vh;
    width: 60vw;
    max-height: 600px;
    border-radius: 10px;
  }
  .modal {
    border-radius: 10px;
  }
}

@media only screen and (max-width: 700px) {
  .card {
    height: 70vh;
    width: 90vw;
    max-height: 500px;
    border-radius: 10px;
  }
  .modal {
    border-radius: 10px;
  }
}
