@import url("https://fonts.googleapis.com/css?family=Roboto&display=swap");

@font-face {
  font-family: "Now Thin";
  src: url("../fonts/Now-Thin.otf");
}
@font-face {
  font-family: "Now Medium";
  src: url("../fonts/Now-Medium.otf");
}
@font-face {
  font-family: "Now Bold";
  src: url("../fonts/Now-Bold.otf");
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100vw;
  height: 100%;
  max-height: 100vh;
  background-color: var(--background-color);
  color: var(--primary-color);
  font-family: "Now Medium", sans-serif;
  overflow-x: hidden;
}
body.blobs {
  background-image: url("../images/background.png");
  background-size: 100%;
}
/* reset das auto configs */

:root {
  --background-color: #f9c2be;
  --primary-color: #d65045;
  --secondary-color: #f08c4e;
  --terciary-color: #f4ac56;
}
.mob-only {
  display: none;
}
.center {
  text-align: center !important;
}
body.no-scroll {
  overflow-y: hidden;
}
@media only screen and (max-width: 800px) {
  .mob-only {
    display: block;
  }
  .double-grid {
    display: block !important;
  }
  .double-grid * {
    flex: unset;
    margin-bottom: 15px;
  }
  .navbar h1 {
    font-size: x-large;
  }
  ul.nav-items {
    display: none;
    opacity: 0;
  }
  ul.nav-items.shown {
    display: flex;
    opacity: 1;
    position: absolute;
    top: 0;
    width: 100vw;
    padding: 0;
    margin: 0;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fade-in 1s ease;
    background-color: #e0e0e0a1;
  }
  .nav-items li {
    float: unset !important;
  }
  .nav-items li a {
    font-size: xx-large;
  }
  .navbar .nav-close .fas {
    position: fixed;
    top: 35px;
    right: 25px;
    font-size: 35px !important;
  }
}
.navbar {
  height: 60px;
  display: flex;
  padding: 25px;
  align-items: center;
  justify-content: center;
}
.navbar h1 {
  font-size: xx-large;
  margin: 0;
  position: absolute;
  left: 25px;
}
.navbar .fas {
  font-size: x-large;
  position: absolute;
  right: 25px;
}
#nav-items li {
  float: left;
  list-style: none;
  margin-right: 15px;
  position: relative;
}
@media only screen and (min-width: 801px) {
  #nav-items li:not(.active):after {
    content: "";
    width: 0%;
    position: absolute;
    bottom: -10px;
    left: 0;
    border-radius: 20px;
    height: 4px;
    opacity: 0;
    background-color: whitesmoke;
    transition: all 0.7s ease;
  }
  #nav-items li:hover:after {
    opacity: 1;
    width: 100%;
  }
  #nav-items li.active:after {
    content: "";
    width: 100%;
    position: absolute;
    bottom: -10px;
    left: 0;
    border-radius: 20px;
    height: 4px;
    opacity: 1;
    background-color: whitesmoke;
  }
  .socials #logo-elama:hover {
    filter: grayscale(35%) blur(0.3px);
  }
}
#nav-items li a {
  display: block;
  text-decoration: none;
  color: var(--primary-color);
}
a:visited {
  color: unset !important;
}
main#content {
  padding: 4px;
}
.art-grid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
}

.column {
  flex: 33%;
  max-width: 32%;
  padding: 0 4px;
}
.column figure {
  margin: 0;
}
.column figcaption {
  display: none;
}
.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
  border-radius: 1px;
  cursor: pointer;
}
.column video {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
  border-radius: 1px;
  cursor: pointer;
}
video:focus {
    outline: none;
}
.column .expanded {
  position: fixed;
  border: 9999px solid #ffffffde;
  left: 50%;
  top: 50%;
  max-height: 90vh;
  transition: border 0.3s ease;
  transform: translate(-50%, -50.1%);
}
.column .expanded ~ figcaption {
  display: block;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
  font-size: x-large;
  width: 100%;
  text-align: center;
  padding-bottom: 15px;
  z-index: 99;
}

#footer {
  width: 100%;
  text-align: center;
  margin: 4px;
  margin-top: auto;
}
#footer h6 {
  margin: 0;
}
/* sobre */
.wrapper {
  display: flex;
  justify-content: center;
}
.about {
  width: 80vw;
  text-align: center;
}
.about .about-text {
  text-align: justify;
  line-height: 20px;
}
.profile {
  box-sizing: border-box;
  min-width: 250px;
  width: 100%;
  max-width: 400px;
  border: 4px solid #ececec;
  border-radius: 2px;
}

/* contato */
.double-grid {
  display: flex;
}
.double-grid * {
  flex: 1;
}
.form {
  display: flex;
  justify-content: center;
  text-align: center;
}
.form form {
  max-width: 400px;
}
.form input,
.form textarea {
  background-color: var(--terciary-color);
  border: none;
  outline: none;
  box-sizing: border-box;
  width: 100%;
  height: 25px;
  border-radius: 2px;
  margin-bottom: 15px;
  font-family: "Now Medium";
  padding: 0 5px;
  resize: none;
}
.form textarea#mensagem {
  height: 50px;
}
.form label {
  text-align: left;
  display: block;
  margin-bottom: 2px;
}
.form form button {
  width: 100%;
  background-color: var(--secondary-color);
  border: none;
  outline: none;
  height: 35px;
  cursor: pointer;
  font-family: "Now Medium";
  font-size: large;
}
.form form button:active {
  filter: brightness(110%);
}
.socials {
  display: flex;
  justify-content: center;
  text-align: center;
}
.social-wrapper {
  max-width: 325px;
}
.socials #logo-elama {
  height: 125px;
  border-radius: 50%;
  transition: filter 0.5s ease;
}
#insta-follow {
  width: 100%;
  background-color: var(--secondary-color);
  border: none;
  outline: none;
  height: 35px;
  cursor: pointer;
  font-family: "Now Medium";
  font-size: large;
}

@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
}
@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
