
@import url('https://fonts.googleapis.com/css2?family=Lexend+Exa&display=swap');

/* root is defining the colors and shadows variables */

:root {
  --white: #fff;
  --light: #eee;
  --bluish: #00ffbb;
  --purple: #b500ff;
  --cat: #ffb500;
  --dark: #181818;
  --shadow: 0 10px 20px rgba(0,0,0,0.05), 0 6px 6px rgba(0,0,0,0.05);
  --bored: #bf1e2e;
  --boredtransparent: rgba(191,30,46,0.75);
  --bodark: #353a3e;
  --bodarktransparent: rgba(53,58,62,0.75);
  --d: 700ms;
  --e: cubic-bezier(0.19, 1, 0.22, 1);

}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
  scroll-behavior: smooth;
}

/* Responsive font size codes */


@media (max-width: 959px) {
  html {
    font-size: 60%;
  }
}
@media (max-width: 767px) {
  html {
    font-size: 55%;
  }
}
@media (max-width: 640px) {
  html {
    font-size: 50%;
  }
}
@media (max-width: 580px) {
  html {
    font-size: 45%;
  }
}
@media (max-width: 520px) {
  html {
    font-size: 40%;
  }
}
@media (max-width: 470px) {
  html {
    font-size: 35%;
  }
}
@media (max-width: 428px) {
  html {
    font-size: 30%;
  }
}
@media (max-width: 390px) {
  html {
    font-size: 25%;
  }
}
@media (max-width: 320px) {
  html {
    font-size: 20%;
  }
}




/* body css is written in grid, and the page wrapper is inside 'main' grid-area,header in 'header and footer in 'footer' */


body {
  width: 100%;
  font-family: 'Helvetica' , sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--dark);
  background-color: var(--light);
  display: grid;
  grid-template-areas: "header"
                       "main"
                       "footer";
  /* This codes prevent text selection */

  -moz-user-select: none; -webkit-user-select: none; -ms-user-select:none; user-select:none;-o-user-select:none;
}



#header {
  background-color: white;
  width: 100%;
  height: auto;
  grid-area: header;
  display: flex;
  flex-direction: column;
}

#nav-bar {
  display:grid;
  grid-template-areas:"logo-nav main-nav";
  grid-template-columns: 1fr 2fr;
  grid-template-rows: 8rem;
  width: 100%;
  background-color: white;
  position: fixed;
  z-index: 200;
  border-bottom: 1px solid grey;
}

@media (max-width: 428px) {
  #nav-bar {
    height: 40px;
    grid-template-rows: 40px;
  }
}

#nav-box {
  grid-area: main-nav;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: flex-end;
}

#nav-first-row {
  grid-area: main-nav;
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: flex-end;
  font-size: 16px;
  padding-right: 7rem;
}

@media (max-width: 520px) {
  #nav-first-row {
    font-size: 14px;
  }
}

@media (max-width: 428px) {
  #nav-first-row {
    margin-right: 50px;
  }
}

@media (max-width: 320px) {
  #nav-first-row {
    margin-right: 20px;
  }
}

#nav-second-row {
  display: none;
}

#mobile-nav-menu {
  display: flex;
  height: 100%;
}


.menu-wrapper{
  position: fixed;
  top: 0;
  /*left: -100%;*/
  right: -100%;
  height: 100%;
  width: 100%;
  background: rgba(53,58,62,0.95);
  /*background: linear-gradient(90deg, #f92c78, #4114a1);*/
  /* background: linear-gradient(375deg, #1cc7d0, #2ede98); */
 /* background: linear-gradient(-45deg, #e3eefe 0%, #efddfb 100%);*/
  transition: all 0.6s ease-in-out;
}
#mobile-menu-active:checked ~ .menu-wrapper{
  /*left: 0;*/
  right:0;
}
.mobile-menu-btn{
  position: absolute;
  z-index: 502;
  right: 2rem;
  /*left: 20px; */
  top: 2rem;
  height: 5rem;
  width: 5rem;
  text-align: center;
  line-height: 5rem;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  /*color: #fff;*/
  /*background: linear-gradient(90deg, #f92c78, #4114a1);*/
  /* background: linear-gradient(375deg, #1cc7d0, #2ede98); */
 /* background: linear-gradient(-45deg, #e3eefe 0%, #efddfb 100%); */
  transition: all 0.3s ease-in-out;
}

.mobile-menu-btn span,
.mobile-menu-btn:before,
.mobile-menu-btn:after{
	content: "";
	position: absolute;
	top: calc(50% - 1px);
	left: 30%;
	width: 40%;
	border-bottom: 2px solid var(--bodark);
	transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.mobile-menu-btn:before{
  transform: translateY(-0.8rem);
}
.mobile-menu-btn:after{
  transform: translateY(0.8rem);
}

@media (max-width: 428px) {
  .mobile-menu-btn:before {
    transform: translateY(-5px);
  }
}
  @media (max-width: 428px) {
    .mobile-menu-btn:after {
      transform: translateY(5px);
    }
  }

  @media (max-width: 375px) {
    .mobile-menu-btn span,
    .mobile-menu-btn:before,
    .mobile-menu-btn:after {
      top: 70%;
    }
  }
  @media (max-width: 320px) {
    .mobile-menu-btn span,
    .mobile-menu-btn:before,
    .mobile-menu-btn:after {
      top: 0%;
    }
  }




.mobile-menu-close {
	z-index: 501;
	width: 100%;
	height: 100%;
	pointer-events: none;
	transition: background .6s;
}

@media (max-width: 428px) {
  .mobile-menu-btn {
    width: 50px;
    padding-left: 10px;
  }
  .mobile-nav-menu {
    margin-left: 10px;
  }
}

/* closing animation */
#mobile-menu-active:checked + .mobile-menu-btn span {
	transform: scaleX(0);
}
#mobile-menu-active:checked + .mobile-menu-btn:before {
	transform: rotate(45deg);
  border-color: #fff;
}
#mobile-menu-active:checked + .mobile-menu-btn:after {
	transform: rotate(-45deg);
  border-color: #fff;
}
.menu-wrapper ul{
  position: absolute;
  width: 100%;
  top: 10rem;
  height: 100%;
  list-style: none;
  text-align: center;
  margin-top: auto;
  margin-bottom: auto;
}
.menu-wrapper ul li{
  height: 5%;
  margin: 1.5rem 0;

}

@media (max-width: 428px) {
  .menu-wrapper ul {
    margin: 0;
    top: 15%;
  }
}

@media (max-width: 320px) {
  .menu-wrapper ul {
    top: 5%;
  }
}

@media (max-width: 428px) {
  .menu-wrapper ul li {
    padding-bottom: 40px;
  }
}

.menu-wrapper ul li a{
  text-decoration: none;
  font-size: 2rem;
  font-weight: 500;
  color: #fff;
  border-radius: 5rem;
  line-height: 5rem;
  opacity: 0;
  transition: all 0.3s ease;
  transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

@media (max-width: 428px) {
  .menu-wrapper ul li a{
    font-size: 16px;
  }
}

input[type="checkbox"]{
  display: none;
}


#mobile-menu-active:checked ~ .menu-wrapper ul li a{
  opacity: 1;
}
.menu-wrapper ul li a{
  transition: opacity 1.2s, transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
  transform: translateX(10rem);
}
#mobile-menu-active:checked ~ .menu-wrapper ul li a{
	transform: none;
	transition-timing-function: ease, cubic-bezier(.1,1.3,.3,1); /* easeOutBack */
   transition-delay: .6s;
  transform: translateX(-10rem);
}



#nav-logo {
  grid-area: logo-nav;
  margin-right: auto;
  height: 100%;
  width: 70%;
  padding-left: 2rem;
}

@media (max-width: 428px) {
  #nav-logo{
    width: 100%;
  }
}

#nav-logo img {
  width:100%;
  height:100%;
}

@media (max-width: 320px) {
  #nav-logo img{
    width: 100%;
    height:4rem;
  }
}



.nav-a {
  padding-right: 4rem;
  padding-left: 4rem;
  color: var(--bodark);
  padding: 2rem;
  display: block;
  text-decoration: none;
}

@media (max-width: 320px) {
  .nav-a {
    padding-right: 0;
    padding-left: 1rem;
  }
}

.language-dropbtn {
  background-color: #fff;
  color: var(--bodark);
  padding-right: 1.6rem;
  padding-left: 1.6rem;
  margin-right: 1rem;
  font-size: 15px;
  border: none;
}

.language-dropdown {
  position: relative;
  display: inline-block;
}

.language-dropdown-content {
  display: none;
  position: absolute;
  background-color: #bf1e2e;
  min-width: 100%;
  box-shadow: 0px 0.8rem 1.6rem 0px rgba(0,0,0,0.2);
  z-index: 1;
  right: 0;
}

.language-dropdown-content a {
  color: #fff;
  padding: 1.2rem 1.6rem;
  text-decoration: none;
  display: block;
}

.language-dropdown-content a:hover {background-color: rgba(53,58,62,0.75);}

.language-dropdown:hover .language-dropdown-content {display: block;}

.language-dropdown:hover .language-dropbtn {background-color: #fff; color: #353a3e}

.second-nav-a {
  padding-right: 4rem;
  padding-left: 4rem;
  color: var(--light);
  padding: 2rem;
  display: block;
  text-decoration: none;
}

.second-nav-a:hover {
  background-color: var(--boredtransparent);
  color: var(--bodark);
}

#bot-nav-bar {
display:none;
}


.title-box {
  background-color: var(--bodark);
  margin-top: 8rem;
  height: 20%;
  background-image: url(../images/boratas-metal.jpg);
  min-height: 20rem;
  background-attachment: fixed;
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;

}

@media (max-width: 320px) {
  .title-box {
    display: none;
  }
}


.pages-map {
  display: grid;
  position: relative;
  grid-template-areas:". main .";
  grid-template-columns: 1fr 30fr 1fr;
  background-color: white;
  width: 100%;
  font-size: 16px;
}

@media (max-width: 428px) {
  .pages-map {
    font-size: 10px;
  }
}


@media (max-width: 320px) {
  .pages-map {
    display: block;
    top: 4.5rem;
    margin-bottom: 1rem;
  }
}


.pages-map li {
  background-color: white;
  color: var(--bored);
  grid-area: main;
  height: 100%;
  width: 100%;
  display: flex;
  position: relative;
  align-items: center;

}
.pages-map li a {
  color: var(--bodark);
  padding: 1rem;
  font-size: 16px
}

@media (max-width: 428px) {
  .pages-map li a {
    font-size: 10px;
  }
}


#page-wrapper {
  background-color: var(--light);
  grid-area: main;
  display: grid;
  grid-template-areas:   "1"
                         "2"
                         "3"
                         "4";
}

#faq-sec {
  grid-area: 1;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-top: 7rem;
  grid-gap: 2rem;
  padding: 2rem;
}

.faq-container {
  width: 100%;
}

.faq-title {
  font-size: 30px;
  font-weight: bold;
}

@media (max-width: 428px) {
  .faq-title {
    font-size: 20px;
  }
}
@media (max-width: 320px) {
  .faq-title {
    font-size: 18px;
  }
}

.faq-title-span {
  font-size: 20px;
  font-weight: lighter;
  color: grey;
}

@media (max-width: 428px) {
  .faq-title-span {
    font-size: 12px;
  }
}

.faq-container center {
  margin-bottom: 3rem;

}

.faqs-container{
    overflow: hidden;
}
.faq-singular {
    position: relative;
    border-bottom: 1px solid #ccc;
    padding: 0 3rem 0 2rem;;
}
.faq-singular:hover,
.faq-singular.active{
    background: #f2f2f2;
    background-image: linear-gradient(90deg, var(--bored) 0%, var(--bored) 8px, transparent 8px, transparent 100%);
}
.faq-singular .faq-question {
    position: relative;
    cursor: pointer;
    margin: 0;
    padding: 2.5rem 2.5rem 2.5rem 0px;
    font-weight: 700;
    font-size: 20px;
}

@media (max-width: 428px) {
  .faq-singular .faq-question {
    font-size: 16px;
  }
}


.faq-singular .faq-question:before {
    position: absolute;
    content: "+";
    color: var(--bored);
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    font-weight: 700;
    transition: all .5s;
}
.faq-singular.active .faq-question:before {
    transform: translateY(-50%) rotate(45deg) scale(1.3);
}
.faq-answer {
    display: none;
    padding-bottom: 2rem;
    font-size: 18px;
}

@media (max-width: 428px) {
  .faq-answer {
    font-size: 16px;
  }
}
@media (max-width: 320px) {
  .faq-answer {
    font-size: 16px;
  }
}














#footer {
  grid-area: footer;
  width: 100%;
  height: auto;
  background-color: var(--bodark);
  margin-top: 3rem;
  margin-bottom: 9rem;
  padding-left: 2rem;
  padding-right: 2rem;

}

.footer-container {
  display: flex;
  flex-direction: column;
  height: auto;
  width: 100%;
}

.footer-container a {
  color: cyan;
  font-size: 1.5rem;
  padding-bottom: 1rem;
}

@media (max-width: 428px) {
  .footer-container a{
    font-size: 11px;
  }
}



.footer-container-top {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  font-size: 14px;
  color: var(--white);
}

.footer-titles {
  font-size: 2rem;
  font-weight: bold;
  padding-bottom: 1rem;
  color: var(--white);
  padding-top: 1rem;
}

@media (max-width: 428px) {
  .footer-titles {
    font-size: 16px;
  }
}

.footer-box-1 {
  padding: 1rem;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  font-size: 1.5rem;
}

@media (max-width: 428px) {
  .footer-box-1{
    font-size: 10px;
  }
}

.footer-box-2 {
  padding: 1rem;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
}

.footer-box-3 {
  padding: 1rem;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
}

  .hs-box {
    display: none;
  }


@media (max-width: 428px) {
  .footer-box-3 {
    display: none;
  }
}



.footer-box-4 {
  display: none;
}

.footer-box-5 {
  padding: 1rem;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  bottom: 0;
}

.social-media-box {
  width: 100%;
  height: auto;
  align-self: flex-start;
  display: flex;
  flex-direction: row;
}

.social-media-box {
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid #ccc;
}

.social-media-box:hover {
  border-bottom: 1px solid var(--bored);
}

.social-media-box:hover #li-span {
  display: none;
}

.social-media-box:first-child {
  padding-top: 0;
  border-top: none;
}

.social-media-box:last-child {
  padding-bottom: 3rem;
}



.social-media-box .fa {
  color: var(--white);
  font-size: 3rem;
  padding: 2rem;
  width: 100%;
  align-self: center;
  text-decoration: none;
  background-color: var(--bored);
  text-align: center;
}

.social-media-box .fa:hover {
  color: white;
  background-color: var(--bodark);
}

.footer-container-bot {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}



.footer-container-bot-links {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

@media (max-width: 320px) {
  .footer-container-bot-links {
    flex-direction: column-reverse;
  }
}


.footer-container-bot-links img {
  width: 15rem;
  height: auto;
  align-self: center;
  padding: 1rem;
}

@media (max-width: 320px) {
  .footer-container-bot-links img {
    width: 15rem;
  }
}

.footer-site-info{
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}

 .footer-site-info a {
  color: var(--white);
  padding: 1rem;
  font-size: 1.5rem;
}

@media (max-width: 428px) {
  .footer-site-info a {
    font-size: 8px;
  }
}
@media (max-width: 320px) {
  .footer-site-info a {
    font-size: 8px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}



.footer-site-info a:hover {
 color: var(--bored);
 padding: 1rem;
}

.mobile-bot-navigation {
  height: 9rem;
  background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 0%, rgba(38,42,46,1) 42%, rgba(53,58,62,1) 78%);
  display: flex;
  flex-direction: row;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  justify-content: space-around;
  z-index: 400;
  border-top: 1px solid white;
}

@media (max-width: 428px) {
  .mobile-bot-navigation {
    height: 40px;
  }
  .footer-container {
    margin-bottom: 20px;
  }
}
@media (max-width: 320px) {
  .mobile-bot-navigation {
    height: 60px;
  }
  .footer-container {
    margin-bottom: 30px;
  }
}

.mobile-nav-buts {
  height: 100%;
}

.mobile-nav-buts a {
  height: 100%;
}

.mobile-nav-buts a img {
  height: 100%;
  padding: 1rem;
}

.extra-text {
  display: none; /* this line deactivates all the texts with .extra-text class through the whole page */
}
