/* Arquivo com estilos específicos do site 
    Todas as classes utilizam o prefixo "s" para diferenciação de classes do Bootstap
*/

/* Fonts */

@font-face {
  font-family: Montserrat;
  src: url(../fonts/Montserrat-VariableFont_wght.ttf);
}

@font-face {
  font-family: Montserrat italic;
  src: url(../fonts/Montserrat-Italic-VariableFont_wght.ttf);
}

@font-face {
  font-family: Montserrat Bold;
  src: url(../fonts/static/Montserrat-Bold.ttf);
}

/* Root */

:root {
  font-size: 62.5%;
}

* {
  padding: 0;
  margin: 0;
}

body {
  font-family: "Montserrat";
  margin: auto;
}

/* Header */

.s-background-home,
.s-panels {
  width: 100%;
  height: 100vh;

  background-image: url(../assets/home/BG.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.s-header__image-container--size {
  width: 240px;

  margin: 0.4rem 0 0 0.3rem;
}

/* Navbar */

.s-navbar-container {
  display: flex;

  width: fit-content;
}

/* Toggle Menu Hambúrguer */
.s-navbar__menu-toggle {
  display: flex;
  justify-content: center;
  flex-direction: column;

  width: 50px;
  height: 50px;
}

/* Itens do menu hambúrguer */
.s-navbar__one,
.s-navbar__two,
.s-navbar__three {
  background-color: rgba(255, 255, 255, 1);

  width: 70%;
  height: 4px;

  border-radius: 0.2rem;
  margin: 3px auto;

  transition-duration: 0.3s;
}

/* Menu fechado */
.s-navbar__menu {
  display: none;
}

/* Config para menu aberto */
.s-navbar-container--full {
  background-color: rgba(71, 80, 255, 1);

  display: block;
  position: absolute;
  top: 0;
  left: 0;

  width: 100vw;
  height: 100vh;

  z-index: 10;
}

/* Toggle menu aberto */
.s-navbar-container--full .s-navbar__menu-toggle {
  position: absolute;
  top: 2%;
  left: calc(100% - 60px);
}

.s-navbar-container--full .s-navbar__one {
  transform: rotate(45deg) translate(5px, 6px);
}

.s-navbar-container--full .s-navbar__two {
  opacity: 0;
}

.s-navbar-container--full .s-navbar__three {
  transform: rotate(-45deg) translate(8px, -9px);
}

/* Menu aberto */
.s-navbar-container--full .s-navbar__menu {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  width: 70%;

  padding: 0;
  margin: 0;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  list-style: none;
}

/* Estilização dos itens da nav */
.s-navbar__menu-item {
  display: block;

  margin: 1rem;
}

.s-navbar__menu-item a {
  font-size: 2.4rem;
  color: white;
  text-decoration: none;
}

/* Social Media Nav */

.s-navbar__menu-media {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 10px;

  width: fit-content;

  font-size: 2.4rem;

  padding: 0.5em;
}

/* Home */

.s-home__content-container {
  width: 100%;

  margin-top: 3rem;

  text-align: center;
}

.s-home__sentence {
  color: white;
  font-size: 3.2rem;

  padding: 0.8em;
  margin: 0;

  box-sizing: border-box;
}

.s-home__sentence span,
.s-home__short-desc {
  display: none;
}

.s-home__button {
  display: block;
  max-width: 300px;
  width: 60%;

  color: white;
  font-size: 2.4rem;
  text-decoration: none;

  padding: 0.6em;
  margin: 0 auto;
  margin-top: 2rem;
  border-radius: 0.8rem;

  background-color: rgba(204, 213, 224, 0.8);

  box-sizing: border-box;
}

.s-home__button:hover {
  color: white;
}

#about-button {
  color: white !important;
}

/* Quem Somos */

.s-about,
.s-solutions {
  width: 100%;

  padding: 2rem;

  text-align: justify;
}

.s-about {
  background-color: white;

  background-image: url(../assets/quem_somos/Memphis.png);
  background-size: contain;
  background-position: center;
}

.s-about__title {
  display: block;
  width: fit-content;

  font-size: 3.2rem;
  font-weight: bold;

  padding: 0.5em;
  margin: 2rem auto;
  margin-bottom: 1rem;

  box-sizing: border-box;
}

.s-about__paragraph {
  font-size: 1.6rem;
  line-height: 1.6em;

  padding: 0.5em;
  margin: 0;

  box-sizing: border-box;
}

#first-paragraph::first-letter {
  font-size: 3rem;
  font-weight: bold;
}

.s-about__image {
  display: none;
}

/* Painéis */

.s-panels {
  background-image: url(../assets/paineis/BG_Paineis.png);
}

.s-panels__carousel-item {
  position: relative;
  height: 100vh;
}

.s-panels__card-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: fit-content;
}

.s-panels__card {
  max-width: 450px;
  width: 70%;
  height: 40%;

  font-size: 1.6rem;
  text-align: center;

  box-shadow: 2rem 2rem 5rem rgba(0, 0, 0, 0.5);
  background-color: rgba(255, 255, 255, 0.1);
  border-top: 0.1rem solid rgba(255, 255, 255, 0.5);
  border-left: 0.1rem solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(0.5rem);
  -webkit-backdrop-filter: blur(0.5rem);

  padding: 0.3em;
  margin: 0 auto;
  border-radius: 1rem;

  box-sizing: border-box;
}

.s-panels__card-image {
  position: absolute;
  top: 3%;
  left: 50%;
  transform: translate(-50%, -50%);

  font-size: 1rem;

  width: 11em;
}

/* Ajustes nos tamanhos das imagens */
#mission {
  left: 55%;

  width: 14em;
}

#values {
  width: 14em;
}

.s-panels__card-image img {
  width: 100%;
}

.s-panels__card-content {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;

  color: white;
}

.s-panels__card-title {
  width: fit-content;

  color: rgba(237, 162, 32, 1);
  font-family: "Montserrat Bold";
  font-size: 3.2rem;

  padding: 0.5em;
  margin: 0.5rem auto;
  margin-top: 9rem;

  box-sizing: border-box;
}

.s-panels__card-paragraph {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.6em;

  padding: 0.5em;
  margin: 0;

  box-sizing: border-box;
}

.s-panels__cards {
  display: none;
}

/* Soluções */

.s-solutions {
  background-color: rgba(204, 213, 224, 0.8);
  background-image: url(../assets/solutions/Memphis_solucoes.png);
  background-size: contain;
  background-position: center;

  height: auto;

  padding: 0.5rem;

  box-sizing: border-box;
}

.s-solutions__title {
  display: block;

  width: fit-content;

  font-size: 3.2rem;
  font-weight: bold;

  padding: 0.7em;
  margin: 1rem auto;
  margin-bottom: 2rem;
}

.s-solutions__card-container {
  display: flex;
  flex-flow: column wrap;

  gap: 1rem;

  width: fit-content;
}

.s-solutions__card {
  font-size: 1.6rem;
  color: black;

  width: 100%;

  margin: 0.5rem 0;
  padding: 0.2em;
}

.s-solutions__card-image {
  font-size: 3.2rem;

  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;

  float: left;

  width: 2.6em;
  height: 2.6em;

  margin-right: 0.8rem;
}

/* Ajustes nos tamanhos das imagens */
#industry-image,
#comercial-image,
#arquitetura-image {
  width: 2em;
  height: 2.6em;

  margin: 1rem 1.5rem 0 1rem;
}

#industry-image img,
#arquitetura-image img {
  height: 100%;
}

.s-solutions__card-image img {
  width: 100%;
}

.s-solutions__card-content {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: flex-start;
}

.s-solutions__card-title {
  width: fit-content;

  font-size: 1.8rem;
  font-weight: bold;

  padding: 0.3em;
  margin: 0;
}

.s-solutions__card-paragraph {
  text-align: left;
  line-height: 1.6em;

  padding: 0.3em;
  margin: 0;

  box-sizing: border-box;
}

.s-solutions__card-btn {
  position: relative;

  color: black;
  text-decoration: none;

  padding: 0.4em;
}

.s-solutions__card-btn:hover {
  color: black;
}

.s-solutions__card-btn div {
  display: block;
  float: left;
}

/* Ícone Saiba Mais */
#icon {
  position: relative;

  width: fit-content;
  height: 30px;
}

#icon ion-icon {
  position: absolute;
  top: 14%;
}

/* Contato */

.s-contact {
  color: white;
  /* BG de contato estava bugado, painéis é o mesmo */
  background-image: url(../assets/paineis/BG_Paineis.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

  width: 100%;

  font-family: "Montserrat";
  font-size: 1.8rem;

  display: flex;
  flex-flow: column nowrap;
  justify-content: space-evenly;
  align-items: center;

  gap: 1.5rem;

  padding: 0.5em;

  box-sizing: border-box;
}

.s-contact__title {
  font-size: 3.2rem;
  font-weight: bold;

  width: fit-content;

  padding: 0.3em;
  margin: 1rem auto;
  margin-top: 2rem;

  box-sizing: border-box;
}

.s-contact__form-container {
  background-color: white;
  color: black;

  width: 90%;

  text-align: center;
  font-size: 1.8rem;

  padding: 0.8em;
  margin: 0 auto;
  border-radius: 1rem;

  box-sizing: border-box;
}

.s-contact__input {
  width: 100%;

  padding: 0.2em;
  margin: 1rem auto;

  box-sizing: border-box;
}

.s-contact__label {
  display: none;
}

.s-contact__text {
  resize: none;

  width: 100%;

  padding: 0.3em;
  margin: 1rem auto;

  box-sizing: border-box;
}

.s-contact__btn {
  color: white;
  font-size: 1.6rem;
  font-weight: bold;

  padding: 0.5em 1em;
  margin: 1rem auto;
  border: none;
  border-radius: 0.5rem;

  box-sizing: border-box;

  background-color: rgba(237, 162, 32, 1);
}

.s-contact__media-container {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;

  gap: 1rem;

  width: fit-content;

  margin-bottom: 2rem;
}

.s-contact__media {
  font-size: 3.2rem;

  width: 1.5em;
  height: 1.5em;
}

.s-contact__media img {
  width: 100%;
}

/* Footer */

.s-footer {
  color: black;
  font-size: 1rem;
  line-height: 1.6em;
  text-align: center;

  padding: 0.5em;

  box-sizing: border-box;

  background-color: rgba(204, 213, 224, 0.5);
}

.s-footer div {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
}

.s-footer__address {
  width: 80%;

  margin: 1rem;
}

/* Animations */

.anm {
  opacity: 0;
  transform: translate3d(0, -30px, 0);
  transition: 0.3s;
}

.anm-start {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
