@import url("https://fonts.googleapis.com/css2?family=Pacifico&family=Quicksand:wght@300;400;500;600;700&display=swap");

* {
  box-sizing: border-box;
}

html,
body,
header,
main,
footer,
div,
article,
section,
ul,
li,
a,
h1,
p,
button,
img {
  margin: 0;
  padding: 0;
}

body {
  font-family: Quicksand, sans-serif;
  margin: 0 auto;
}

ul {
  list-style-type: none;
}

a {
  color: black;
  text-decoration: none;
}

img {
  width: 100%;
}

input,
textarea {
  width: 100%;
  font-size: 0.87em;
  border: 1px solid #babdb6;
  background: transparent;
  margin-bottom: 0.35em;
  padding: 0.65em 1.5em;
  display: block;
  outline: none;

  transition: all 0.5s ease;
}

input:focus,
textarea:focus {
  border-color: black;
}

textarea {
  height: 160px;
}

.hidden {
  display: none;
}

.container {
  margin: 0 auto;
}

/* HEADER ------------------------------------------------------------------ */
.header {
  padding: 2em 1em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.logo {
  width: 300px;
}

.menu {
  display: flex;
}

.menu-logo {
  order: 1;
}

.menu-item1 {
  order: 2;
}

.menu-item2 {
  order: 3;
}

.menu li {
  padding: 1em;
}

.menu li a {
  font-size: 0.87em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease-in-out;
}

.menu li a:hover {
  border-color: black;
}

/* MAIN HERO - INDEX ------------------------------------------------------- */
.main-hero {
  width: 100%;
  text-align: center;
  background: #f7f7f7;
  padding: 2em;
}

.main-hero img {
  width: 48px;
  margin-bottom: 2em;
}

.main-hero h1 {
  font-family: Pacifico;
  font-size: 2em;
  font-weight: normal;
  margin-bottom: 0.5em;
}

.main-hero p {
  max-width: 600px;
  line-height: 1.7;
  color: #616161;
  margin: 1em auto;
}

.title .button-hero {
  text-transform: uppercase;
  background-color: transparent;
  border: 1px solid black;
  border-radius: 2em;
  padding: 1em;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.main-hero button:hover {
  color: white;
  background-color: black;
}

/* PROFILE - SOBRE --------------------------------------------------------- */
.profile {
  width: 100%;
  padding: 1em;
  background: #f7f7f7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.profile p {
  max-width: 450px;
  text-align: justify;
  line-height: 1.4;
}

.moldure {
  width: 400px;
  height: 400px;
  color: white;
  background: #333 url(../images/rings-profile.jpg) center;
  margin: 2em;
  padding: 2em;
  background-size: cover;
  display: grid;
  grid-template-columns: max-content auto;
  grid-template-rows: auto max-content;
}

.moldure::before,
.moldure::after {
  content: "";
  width: 100%;
  height: 100%;
  border: 2px solid white;
  display: block;
}

.moldure::before {
  grid-row: 1 / 2;
  border-right: none;
  border-bottom: none;
}

.moldure::after {
  grid-row: 1 / span 2;
  border-left: none;
}

.moldure h1 {
  max-width: 100%;
  font-size: 2em;
  font-weight: normal;
  text-transform: uppercase;
  margin: 1em 1em -0.5em 0;
}

/* CONTACT - CONTATOS ------------------------------------------------------ */
.contact {
  width: 100%;
}

.contact-box {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1em;
}

.contact-title {
  text-align: center;
}
.contact-title img {
  max-width: 58px;
  margin-bottom: 0.87em;
}

.contact-title h1 {
  font-family: Pacifico;
  font-weight: normal;
  margin-bottom: 1em;
}

.form {
  margin-bottom: 1em;
}

.form .button-form {
  width: 100%;
  font-size: 0.87em;
  text-transform: uppercase;
  text-align: center;
  color: white;
  border: 1px solid black;
  background: black;
  padding: 0.87em 2em;
  cursor: pointer;
  opacity: 1;
  transition: all 0.2s ease;
}

.form .button-form:hover {
  opacity: 0.9;
}

.info {
  background: #f7f7f7;
  padding: 2em;
  margin-bottom: 1em;
}

.add-info {
  display: flex;
  flex-direction: column;
}

.add-info li {
  margin-bottom: 1em;
}

.add-info li span {
  display: block;
}

.add-info li span {
  font-weight: 500;
  margin-bottom: 8px;
}

.add-info li address {
  font-style: normal;
}

.map iframe {
  width: 100%;
}

/* GALLERY ----------------------------------------------------------------- */
.gallery {
  max-width: 960px;
  display: flex;
  flex-wrap: wrap;
  margin: 60px auto;
  padding: 1em;
}

.photo {
  flex: 1 1 300px;
  height: 195px;
  margin: 0.5em;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo img {
  height: auto;
  display: block;
}

.thumb {
  width: 10px;
  height: 90%;
  color: #151e3f;
  background: #fff;
  position: absolute;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.9s ease;
}

.thumb a {
  text-transform: uppercase;
  color: black;
  border-bottom: 1px solid transparent;
  transition: all 0.9s ease;
  transform: scale(0.1);
}

.thumb a:hover {
  border-color: black;
}

.photo:hover .thumb {
  opacity: 0.8;
  width: 90%;
  transition: all 0.5s ease;
}

.photo:hover .thumb a {
  transform: scale(1);
  transition: all 0.9s ease;
}

/* FOOTER ------------------------------------------------------------------ */
.footer {
  margin: 2em 0 1em 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.diamond-footer img {
  width: 42px;
  margin-bottom: 1em;
}

.footer p {
  font-size: 0.67em;
  text-align: center;
  margin-bottom: 1em;
}

.sm-list {
  display: flex;
}

.sm-list li {
  margin: 0.87em;
}

.sm-list li .fab {
  font-size: 1.3em;
}

/* MEDIA QUERIES ----------------------------------------------------------- */
@media (min-width: 900px) {
  .header {
    width: 950px;
    margin: 0 auto;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .main-hero img {
    width: 65px;
  }

  .main-hero h1 {
    font-size: 2.5em;
  }

  .form {
    margin-right: 1em;
  }

  .profile {
    flex-direction: row;
  }

  .col-2 {
    width: 50%;
  }

  .row-contact {
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .gallery {
    padding: 0;
  }
}
