@font-face {
  font-family: "Commercial";
  src: url("assets/font/Commercial/ComScrpt.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  margin: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "Roboto", sans-serif;
  color: #3f3f3f;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
  background-image: url("assets/img/3D2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 65%;
  background-attachment: fixed;
}

h1 {
  position: relative;
  display: inline-block;
  font-size: 5rem;
  font-weight: 400;
  font-style: italic;
  font-family: Georgia, "Times New Roman", Times, serif;
  margin: 0 auto;
  line-height: 1;
}

h1:after {
  content: "";
  height: 1px;
  width: 100%;
  background-color: #bbb;
  position: absolute;
  bottom: 0;
  left: 0;
}

h1 span {
  font-size: 11rem;
  font-weight: 500;
  font-family: "Commercial", arial;
}

h2 {
  font-size: 2.5rem;
  font-weight: 400;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  margin: 0;
}

a {
  color: #3f3f3f;
}

a:hover {
  color: #bbb;
}

p {
  margin: 0;
}

main {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 60vh;
  width: 70vw;
  background-color: rgba(250, 250, 250, 0.8);
  text-align: center;
  box-shadow: 0 0 9px 2px rgba(0, 0, 0, 0.2);
  padding: 1em;
}

main::before,
main::after {
  content: "";
  width: 3em;
  height: 3em;
  background-color: #bbb;
  position: absolute;
  border: solid #3f3f3f;
}

main::before {
  left: -1em;
  top: -1em;
  border-width: 1em 0 0 1em;
}

main::after {
  right: -1em;
  bottom: -1em;
  border-width: 0 1em 1em 0;
}

.second {
  height: 100%;
  display: flex;
  align-items: center;
}

.reconstruction {
  font-size: 5em;
}

/* ********************** MEDIUM SCREEN *********************** */
@media only screen and (max-width: 768px) {
  .reconstruction {
    font-size: 3.5em;
  }
}

/* ********************** SMALL SCREEN *********************** */
@media only screen and (max-width: 414px) {
  h1 {
    font-size: 4rem;
  }

  h1 span {
    font-size: 9rem;
  }

  h2 {
    font-size: 1.9rem;
    line-height: 1.8;
  }

  main {
  }

  main::before,
  main::after {
    width: 2em;
    height: 2em;
  }

  main::before {
    left: -0.5em;
    top: -0.5em;
    border-width: 0.5em 0 0 0.5em;
  }

  main::after {
    right: -0.5em;
    bottom: -0.5em;
    border-width: 0 0.5em 0.5em 0;
  }

  .reconstruction {
    font-size: 2em;
  }
}

/* ********************** SMALL LANDSCAPE SCREEN *********************** */
@media only screen and (max-width: 824px) and (max-height: 541px) and (orientation: landscape) {
  h1 {
    font-size: 4rem;
    margin-top: -0.7em;
  }

  h1 span {
    font-size: 9rem;
  }

  h2 {
    font-size: 1.9rem;
    line-height: 1.8;
  }

  main {
  }

  main::before,
  main::after {
    width: 2em;
    height: 2em;
  }

  main::before {
    left: -0.5em;
    top: -0.5em;
    border-width: 0.5em 0 0 0.5em;
  }

  main::after {
    right: -0.5em;
    bottom: -0.5em;
    border-width: 0 0.5em 0.5em 0;
  }

  .reconstruction {
    font-size: 2em;
  }
}

/* ********************** VERY SMALL LANDSCAPE SCREEN *********************** */
@media only screen and (max-width: 741px) and (max-height: 375px) and (orientation: landscape) {
  h1 {
    font-size: 3rem;
  }

  h1 span {
    font-size: 7rem;
  }

  h2 {
    font-size: 1.6rem;
    line-height: 1.6;
  }
  p {
    font-size: 1.3rem;
  }

  .reconstruction {
    font-size: 1.8em;
  }
}