* {
  box-sizing: border-box;
}

/* FONTS FAMILY */

/* Eurofurenceregular */
@font-face {
  font-family: Eurofurenceregular;
  src: url("/fonts/eurofurence/eurof55.ttf");
}
/* LatoRegular */
@font-face {
  font-family: LatoRegular;
  src: url("/fonts/Lato/Lato-Regular.ttf");
}
/* LatoBold */
@font-face {
  font-family: LatoBold;
  src: url("/fonts/Lato/Lato-Bold.ttf");
}

body {
  margin: 0;
  font-family: LatoRegular, serif;
  height: 100vh;
}
a {
  text-decoration: none;
}
button {
  outline: none;
}

.container {
  max-width: 980px;
  margin: 0 auto;
}

.header {
  width: 100%;
  box-shadow: inset 0 -6px 0 #1e1e1e;
  background-color: #292929;
}

.logo {
  font-family: Eurofurenceregular, sans-serif;
  font-size: 2.5rem;
  color: white;
}
.logo::after {
  content: ".";
  color: #58c93a;
}

.btn-menu {
  visibility: hidden;
  display: block;
  color: whitesmoke;
  font-size: 1rem;
  font-weight: bold;
  background-color: #1e1e1e;
  border: 1px solid #58c93a;
  margin: 15px;
  cursor: pointer;
  width: 30px;
  height: 30px;
}
.btn-menu:hover {
  color: #58c93a;
}
.navbar {
  border-right: 1px solid #1e1e1e;
  border-left: 1px solid #1e1e1e;
}

.navbar .nav-item {
  width: 130px;
  text-align: center;
}
.navbar .nav-item:not(:last-child) {
  border-right: 1px solid #1e1e1e;
}

.navbar .nav-item:hover {
  box-shadow: -1px 0 0 #1d1d1d, inset 0 -6px 0 #58c93a;
  background-color: #292929;
}
.nav-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 130px;
  color: white;
}
.nav-item a:hover {
  color: #58c93a;
}

.dropdown::after {
  position: relative;
  top: 1.9em;
  right: 1.7em;
  content: "\1F893";
}
.dropdown-list {
  width: 130px;
  position: absolute;
  z-index: 1;
  border: 1px solid black;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms;
}
.dropdown-list .item-list {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #292929;
  border: 1px solid #1e1e1e;
}
.item-list a{
  height: 60px;
}
.show-dorp .dropdown-list {
  opacity: 1;
  visibility: visible;
  transition: opacity 700ms;
}

.main {
  border: 1px solid #e1e0e0;
}
.content {
  display: block;
  position: relative;
  height: 310px;
  margin-top: 80px;
  padding-right: 25px;
}
.content img {
  margin-right: 40px;
  height: 100%;
}

.content .title {
  color: #4f4e4e;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 30px;
  text-transform: uppercase;
  letter-spacing: 0.84px;
  margin-bottom: 50px;
}

.content p {
  color: #606060;
  font-family: LatoRegular, sans-serif;
  font-size: 1rem;
  line-height: 20px;
  letter-spacing: 0.4px;
  margin: 0;
  margin-bottom: 30px;
}

.content .btn-reading {
  font-family: LatoBold, sans-serif;
  width: 186px;
  border: 2px solid #c2c2c2;
  border-radius: 30px;
  color: #c2c1c1;
  letter-spacing: 0.48px;
  cursor: pointer;
  background-color: white;
  padding: 10px 0;
  transition: width 0.4s;
}

.content .btn-reading:hover {
  width: 210px;
  border: 2px solid #58c93a;
  color: #58c93a;
}
.btn-reading:hover::after {
  content: "\27F6";
  margin-inline-start: 10px;
}

.main-bottom {
  align-items: center;
  width: 100%;
  height: 75px;
  border-top: 1px solid #e1e0e0;
  margin-top: 80px;
}
.main-bottom button {
  margin: 0 30px;
  text-transform: uppercase;
  font-family: LatoBold, sans-serif;
  font-size: 1.125rem;
  color: #818181;
  height: 15px;
  background-color: transparent;
  border: transparent;
  cursor: pointer;
}
.main-bottom button:hover {
  color: #35c135;
}
.btn-prev::before {
  content: "\27F5";
  margin-inline-end: 5px;
}
.btn-next::after {
  content: "\27F6";
  margin-inline-start: 5px;
}
footer {
  flex-direction: column;
  align-items: center;
  background-color: #f8f8f8;

  height: 315px;
}

footer .icon {
  margin-bottom: 30px;
}

footer p {
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 20px;
  color: #a6a6a6;
  margin-bottom: 35px;
  text-align: center;
}

.icons-nav {
  display: flex;
  flex-wrap: wrap;
}
.icons-nav a {
  width: 40px;
  height: 40px;
  background-color: #e5e5e5;
  cursor: pointer;
}
.icons-nav a:not(:last-child) {
  margin-inline-end: 30px;
}
.icons-nav a img {
  display: block;
  margin: auto;
}
.icons-nav a:hover.color-face {
  background-color: #516fad;
}
.icons-nav a:hover.color-twit {
  background-color: #1da1f2;
}
.icons-nav a:hover.color-o {
  background-color: #e44a85;
}
.icons-nav a:hover.color-be {
  background-color: black;
}

.dark-color {
  color: black;
}

.modal {
  z-index: 2;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  width: 30em;
  height: 18em;
  padding: 40px 15px;
  background-color: white;
  border: 2px solid #58c93a;
  border-radius: 3px;
  font-size: 20px;
}
.modal-show .modal {
  visibility: visible;
}
.modal-title {
  font-size: 1.5em;
  margin-block-end: 1.5em;
}
.modal-content {
  height: 12em;
}
.modal-tnx-mess {
  font-size: 1.1em;
  padding: 0.5em 5px 0em;
  line-height: 2.5;
  font-weight: bold;
}
.modal-form *:not(:last-child) {
  margin-inline-end: 5px;
  font-size: 1em;
  font-weight: bold;
}
.modal-form input[type="email"] {
  padding: 5px;
  border: 2px solid #79d660;
  border-radius: 5px;
}
.modal button {
  font-size: 1em;
  padding: 5px;
  min-width: 5em;
  min-height: 2.5em;
  border-radius: 5px;
  font-weight: bold;
  border: 2px solid #79d660;
  cursor: pointer;
  transition: color 700ms, background-color 700ms;
}
.modal-form button {
  margin-inline-start: 10px;
  background-color: #35c135;
  color: white;
}
.modal-form button:hover {
  background-color: white;
  color: #35c135;
}
.modal .btn-close {
  color: #35c135;
  background-color: white;
}
.modal .btn-close:hover {
  color: white;
  background-color: #35c135;
}
.screen {
  z-index: 1;
  visibility: hidden;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: #000000a3;
}
.dark-screen .screen {
  visibility: visible;
}

/* HELPERS */

.flex {
  display: flex;
}
.flex.space-around {
  justify-content: space-around;
}
.flex.space-between {
  justify-content: space-between;
}
.flex.algin-items-center {
  align-items: center;
}
.flex.justify-content-center {
  justify-content: center;
}
.flex.direction-column {
  flex-direction: column;
}
.flex.warp {
  flex-wrap: wrap;
}

.clean-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 1015px) {
  .nav-item a {
    height: 90px;
  }

  .container {
    max-width: 890px;
  }

  .content {
    height: 250px;
    margin: 40px 0;
  }

  .content .title {
    margin-bottom: 15px;
  }
  .content p {
    margin-bottom: 15px;
  }
  .footer-main {
    margin: 0;
  }
}
@media (max-width: 925px) {
  .container {
    max-width: 710px;
    border: none;
    padding: 0 20px;
  }
  .header {
    position: fixed;
    top: 0;
    z-index: 1;
  }
  .nav-item a {
    height: 80px;
  }
  .main {
    margin-top: 50px;
  }
  .content {
    flex-direction: column;
    height: auto;
    padding: 0;
    margin: 40px 0;
  }
  .content img {
    margin: 0 0 10px;
    width: 100%;
    height: auto;
  }
}
@media (max-width: 740px) {
  .header {
    height: 70px;
  }
  .navbar {
    display: block;
    position: fixed;
    right: 0;
    top: 70px;
    z-index: 1;
    background-color: #292929;
    height: 100vh;
    width: 130px;
    transform: translateX(100%);
    transition: transform 0.6s;
  }
  .navbar .nav-item {
    border-bottom: 1px solid #1e1e1e;
  }
  .dropdown-list {
    top: 0px;
    right: 128px;
  }
  .dropdown::after {
    content: "";
  }
  .dropdown::before {
    content: "\1F890";
    margin-right: 10px;
  }
  .btn-menu {
    visibility: visible;
  }
  .menu-open .navbar {
    transform: translateX(0);
  }
  footer {
    height: 230px;
  }
  .footer-main button {
    margin: 0;
  }

  .modal {
    font-size: 14px;
    height: auto;
    width: auto;
  }
}
