
@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 1rem 2rem rgba(0,0,0,0.05), 0 0.6rem 0.6rem 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: 1920px) {
  html {
    font-size: 60%;
  }
}

@media (max-width: 1365px) {
  html {
    font-size: 60%;
  }
}

/* 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 header header"
  "left main right"
  "footer footer footer";

  grid-template-columns: 1fr 3fr 1fr;
  grid-template-rows: 40rem auto auto;
  /* This codes prevent text selection */

  -moz-user-select: none; -webkit-user-select: none; -ms-user-select:none; user-select:none;-o-user-select:none;
}


@media (max-width: 1550px) {
  html {
    font-size: 60%;
  }

  body {
    grid-template-columns: 1fr 30fr 1fr;
  }
}

#header {
  background-color: white;
  width: 100%;
  height: 100%;
  grid-area: header;
  display: flex;
  flex-direction: column;
}

#nav-bar {
  display:grid;
  grid-template-areas:". logo-nav main-nav .";
  grid-template-columns: 1fr 1fr 2fr 1fr;
  grid-template-rows: 12rem;
  width: 100%;
  height: 12rem;
  background-color: var(--white);
  position: fixed;
  z-index: 200;
}

@media (max-width: 1550px) {
  #nav-bar {
    grid-template-columns: 1fr 10fr 20fr 1fr;
  }
}

#nav-box {
  grid-area: main-nav;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: flex-end;
  font-size: 1rem;
}

#nav-first-row {
  grid-area: main-nav;
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 40%;
  align-items: center;
  justify-content: flex-end;
  font-size: 15px;
  font-style: inherit;
  font-weight: inherit;
  padding-top: 4rem;
}

#mobile-nav-menu {
  display: none; /* this line disables the nav menu drop down for desktop (it's active on mobile-web) */
}

#nav-second-row {
  grid-area: main-nav;
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 60%;
  align-items: center;
  justify-content: flex-end;
  font-size: 15px;
  font-style: inherit;
  font-weight: inherit;
}

#nav-logo {
  grid-area: logo-nav;
  margin-right: auto;
  height: 100%;
  width: 100%;
}

#nav-logo img {
  width:100%;
  height:100%;
}

.nav-a {
  padding-right: 4rem;
  padding-left: 4rem;
  color: var(--bodark);
  padding: 2rem;
  display: block;
  text-decoration: none;
}

.nav-a:hover {
  color: var(--bored);
}

.language-dropbtn {
  background-color: #fff;
  color: var(--bodark);
  padding-right: 1.6rem;
  padding-left: 1.6rem;
  font-size: 15px;
  border: none;
}

.language-dropdown {
  position: relative;
  display: inline-block;
}

.language-dropdown-content {
  display: none;
  position: absolute;
  background-color: #bf1e2e;
  min-width: 7.1rem;
  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: 4.5rem;
  padding-left: 4.5rem;
  color: var(--bodark);
  padding: 1.5rem;
  display: block;
  text-decoration: none;
}

.second-nav-a:hover {
  background-color: var(--boredtransparent);
  color: var(--bodark);
}

.our-machinery-dropbtn {
  background-color: #fff;
  color: var(--bodark);
  padding: 1.6rem;
  font-size: 15px;
  border: none;
}

.our-machinery-dropdown {
  position: relative;
  display: inline-block;
}

.our-machinery-dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 16rem;
  box-shadow: 0px 0.8rem 1.6rem 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.our-machinery-dropdown-content a {
  color: var(--bodark);
  padding: 1.2rem 1.6rem;
  text-decoration: none;
  display: block;
}

.our-machinery-dropdown-content a:hover {background-color: var(--bored); color: #fff;}

.our-machinery-dropdown:hover .our-machinery-dropdown-content {display: block;}

.our-machinery-dropdown:hover .our-machinery-dropbtn {background-color: var(--boredtransparent); color: #353a3e}


.title-box {
  background-color: var(--bodark);
  margin-top: 12rem;
  height: 80%;
  background-image: url(../images/boratas-metal.jpg);
  min-height: 28rem;
  background-attachment: fixed;
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;

}

.pages-map {
  display: grid;
  position: relative;
  grid-template-areas:". main .";
  grid-template-columns: 1fr 3fr 1fr;
  background-color: white;
  width: 100%;
  height: 20%;
}

@media (max-width: 1550px) {
  .pages-map {
    grid-template-columns: 1fr 30fr 1fr;
  }
}

.pages-map li {
  background-color: white;
  color: var(--bored);
  grid-area: main;
  height: 100%;
  width: 100%;
  display: flex;
  position: relative;
  align-items: center;
  padding-left: 2rem;

}
.pages-map li a {
  color: var(--bodark);
  padding: 1rem;
  font-size: 1.5rem;
}
.pages-map li a:hover {
  color: var(--bored);
}

/* 'page-wrapper' is written in column-grid which is named 1, 2, 3,... --- every 'section' is placed in one of these grid-areas*/

#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: row;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-top: 7rem;
}

.faq-container {
  width: 100%;
}

.faq-title {
  font-size: 3rem;
  font-weight: bold;
}
.faq-title-span {
  font-size: 2rem;
  font-weight: lighter;
  color: grey;
}

.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: 2.5rem;;
}
.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: 2rem;
}


#footer {
  grid-area: footer;
  width: 100%;
  height: auto;
  display: grid;
  grid-template-areas: ". center-footer .";
  grid-template-columns: 1fr 3fr 1fr;
  background-color: var(--bodark);
  margin-top: 3rem;
}

@media (max-width: 1550px) {
  #footer {
    grid-template-columns: 1fr 10fr 1fr;
  }
}

.footer-container {
  grid-area: center-footer;
  display: flex;
  flex-direction: column;
  height: auto;
  width: 100%;
}

.footer-container a {
  color: cyan;

}

.footer-container a:hover {
  color: var(--bored);
}

.footer-container-top {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  font-size: 13px;
  color: var(--white);
}

.footer-titles {
  font-size: 16px;
  font-weight: bold;
  padding-bottom: 1rem;
  color: var(--white);
  padding-top: 1rem;
}

.footer-box-1 {
  padding: 1rem;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
}

.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;
}

.footer-box-4 {
  padding: 1rem;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.footer-box-5 {
  display: none;
}

.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);
}

.social-media-box .fa:hover {
  color: white;
  background-color: var(--bodark);
}

.footer-container-bot-links {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.footer-container-bot-links img {
  width: 20rem;
  height: auto;
  align-self: center;
  padding: 1rem;
}

.footer-site-info{
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}

.footer-site-info a {
  color: var(--white);
  padding: 1rem;
}

.footer-site-info a:hover {
  color: var(--bored);
  padding: 1rem;
}

.mobile-bot-navigation {
  display: none;
}
