/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default padding */
ul[class],
ol[class] {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* end reset */
/* colors lifestock 111417 */

:root {
  --aa-red: #AA0202;
  --aa-red-link: #F53939;
  --aa-red-light: #207103;
  --aa-green-link: #69c747;
  --aa-red-dark: #970a0a;
  --dark00: #4d4d46;
  --dark01: #374555;
  --dark02: #0d151e;
  --dark03: #070f17;
  /* --light: #f2f0dd; */
  --light: #ffffff;
  --light01: #eaeaea;
  --aa-green: #2e5535;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {

  background: var(--dark03);
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--light);
  overflow-x: hidden;
  position: relative;
}

.wrap-div {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

strong{
  font-weight: 900;
}
body::after {
  content: "";
  background-image: url('../images/dot-patern.png');
  position: absolute;
  width: 100vw;
  height: 100%;
  opacity: .8;
  z-index: -1;
  top: 0;
  left: 0;
}

footer {
	padding: 15px;
	margin-top: 30px;
	background-color: black;
	text-align: center;
}

footer span{
font-size: 10px;
}

#main {
  position: relative;
  z-index: 555558;
  width: 100vw;
}

.main {

}


img {
  object-fit: contain;
  margin: auto;
  width: 100%;
}

.cont-image {
  display: flex;
}

.main-image {
  height: 60%;
}

.main-image-cont {
  height: 25rem;
  overflow: hidden;
  display: grid;
  align-content: center;
}

#main-image-shell {
  background: #edd343;

}

#main-image-bosch {
  background: #003766;
}

#main-image-danel {
  background: #dfdfdf;
}

#main-image-amerit {
	background: #f1c504;
}



.img-click {
  cursor: pointer;
  margin: unset;
}

.img-click:hover {
  /*filter: brightness(50%);*/
  transition: .8s;
}

.img-s {
  width: 100%;
}

.img-m {
  width: 70%;
}

.img-border {
  border: 5px solid white;
}

.img-div {
  text-align: center;
}

.img-div-s {
  text-align: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.img-div-ss {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.img-div-sss {
  display: grid;
  grid-template-columns: 1fr;
}

.img-div-ssss {
  display: grid;
  grid-template-columns: 1fr;
}

a {
  color: var(--aa-red-link);

  text-decoration: none;
}

a:hover {
  color: var(--aa-green-link);
}

.main-btn {
	color: var(--light01);
	border: none;
	border: 2px solid var(--aa-red);
	text-decoration: none;
	display: block;
	background-color: rgba(0,0,0,0);
	box-shadow: none;
	font-size: 11px;
  width: 100%;
	display: flex;
	align-items: center;
	padding: 16px 32px;
	justify-content: center;
	text-decoration: none;
	text-transform: uppercase;
	position: relative;
	overflow: hidden;
	z-index: 1;
	border-radius: 30px;
	font-weight: 700;
}



.main-btn:hover {
	color: var(--light01);
	font-weight: 700;
}

.main-btn::before, .main-btn::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	height: 100%;
	z-index: -1;
	transform: translate3D(-101%,0,0);
	transition: all 1.5s;
}

.main-btn::before {
	background: transparent;
	z-index: -2;
	transform: translate3D(0,0,0);
}

.main-btn::after {
	background: var(--aa-red);
}

.main-btn:hover::after {
	transform: translate3D(0,0,0);
	transition: all 0.4s;
	color: #000;
}

p {
  margin-bottom: 15px;
}

strong {

}

h1,h2,h3,h4,h5,h6{
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-style: normal;
  line-height: 1.3;
  text-transform: capitalize;
  }

h1 {
  font-size: 2rem;
}

h1 span, h2 span {
  font-weight: 200;
}

h2 {
  font-size: 1.85rem;
  margin: 40px 0 20px 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.6rem;
  font-weight: 400;
}

h4 {
	font-weight: 400;
	font-size: 1.2rem;
	margin-bottom: 5px;
}

h5 {
  font-size: .9rem;
  margin-top: 30px;
  margin-bottom: 0;
}

.sub-cont {
  max-width: 900px;
  margin: 0 auto;
  margin-bottom: 30px;
 }

 .sub-cont-w {
  margin-bottom: 50px;
  padding: 50px 5vw 0 5vw;
 }

.sub-cont > div, .sub-cont-w > div {
 margin-bottom: 1.1rem;
}

ul {
  padding-left: 25px;
}

hr {
  border-top: 10px solid white;
  border-color: var(--light);
  margin: 0 0 50px 0;
}

figcaption {
  font-size: 10px;
  margin-bottom: 30px;
  text-align: center;
}

.sl-shadow {
  -moz-box-shadow:    inset 0px 0px 30vh 50px #000000;
  -webkit-box-shadow: inset 0px 0px 30vh 50px #000000;
  box-shadow:         inset 0px 0px 30vh  50px #000000;
}

#top-shadow {
  position: fixed;
  top:0;
  left:0;
  height: 100vh;
  width: 100vw;

}

/* Menu */

.menu-control {
  position: fixed;
  z-index: 555559;
  height: 0;
  top: 0;
  left: 0;
  transition: .5s ease-out;
}

.menu-control-active {
  left: 158px;
}

.burger{
  cursor: pointer;
  display: inline-block;
  margin-left: 10px;
  margin-top: 10px;
  transition: 0.3s;
}

.burger > span {
  background-color: var(--aa-red);
}

.burger:hover > span {
  background-color: var(--dark01);
}

.burger span {
  display: block;
  width: 30px;
  height: 6px;
  position: relative;
  margin-bottom: 5px;
  transition: 0.3s ease-out;
  border-radius: 3px;
}

.burger span:nth-child(3){
  margin-bottom: 0;
}

.menu-control.open span:nth-child(2){
  width:0;
  opacity: 0;
}

.menu-control.open span:nth-child(1){
  -webkit-transform: rotate(45deg) translate(6px, 10px);
  transform: rotate(45deg) translate(6px, 10px);
  width: 35px;
}

.menu-control.open span:nth-child(3){
  -webkit-transform: rotate(-45deg) translate(6px, -10px);
  transform: rotate(-45deg) translate(6px, -10px);
  width: 35px;
}

.sidebar {
  transition: .5s ease-out;
  position: absolute;
  height: 100vh;
  margin-left: -158px;
  z-index: 3555554;
  font-weight: 400;
  width: 158px;
}

.sidebar-active {
  margin-left: 0;
}

.menu-start {
  transition: 1s ease-out;
  left: 158px;
}

.menu-start-active {
  left: 0;
}

.sidebar ul {
  padding: 0;
  margin-top: 0;
  position: fixed;
  background-color: var(--dark03);
  height: 100vh;
}

.sidebar ul li {
  list-style-type: none;
}

.sidebar ul li a {
  text-align: right;
  font-size: 11px;
  width: 158px;
  display: inline-block;
  margin-bottom: 0;
  padding: 10px 18px;
  transition: 0.3s;
  color:var(--light01);
  border-bottom: 1px solid var(--dark02);
}

.sidebar ul li ul {
  margin-left: 158px;
  width: 100%;
  margin-top: -58px;
  background: var(--dark03);
  display: none;
  z-index: 2223;
  position: absolute;
}

.sidebar ul li:hover ul{
  display: block;
}

.sidebar ul li a:hover {
  background-color: var(--aa-red);
}

.sidebar ul li small {
  text-align: center;
  font-size: 8px;
  width: 158px;
  display: inline-block;
  position: absolute;
  bottom: 20px;
}

.cont {
  padding: 50px;
}

.cont-text {
  position: relative;
	display: grid;
	align-content: center;
  margin: auto;
}

.section-0 .cont-text {
  text-align: center;
  max-width: 70%;
}

.cont-text h1 {
	margin-bottom: 20px;
}

.img-box {
  position: fixed;
  padding: 30px;
  height:100vh;
  width:100vw;
  background-color: var(--dark03);
  display: none;
  z-index: 555561;
  opacity: 0;
  transition: .3s 0s;
}

.img-box img{
  width: unset;
max-width: 100%;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

}

.closebtn {
  position: absolute;
  top: 10px;
  right: 15px;
  color: red;
  font-size: 50px;
  font-weight:bolder;
  cursor: pointer;
  z-index: 555557;
}

/*------Arrows-------*/

.nav {
	width: 100%;
  text-align: center;
  margin-top: 20px;
}

.arrow {
	cursor: pointer;
	background-image: url('../images/aa-arrow-sm.svg');
	height: 23px;
	width: 36px;
	background-repeat: no-repeat;
	display: inline-block;
}

.arrow.up {
      transform: rotate(180deg);
    }


/*--------SECTIONS ON HOME PAGE --------*/
.section .cont{
  display: grid;
  gap: 20px;
  padding: 50px;
  align-content: center;
}
.section-0  {
height: 100vh;
  align-items: center;
  display: flex;
}

.section {
	height: 100vh;
	display: flex;
	max-width: 1140px;
	margin: auto;
}

.section-1 .cont {
  grid-template-columns: 35% 65%;
}

.section-2 .cont {
  grid-template-columns: 65% 35%;
}

.section-3 .cont {
  grid-template-columns: 35% 65%;
}

.cont-home {
display: grid;
grid-template-columns: auto auto;
gap: 30px;
align-items: center;
height: 100vh;
align-items: start;
}

.cont-home div:first-child{
grid-column: 1/3;
align-self: end;
}

.img-shrink {
	width: 60%;
}

/* overlay covers the whole viewport */
    .modal-overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.5);
      display: none; /* hidden by default */
      align-items: center;
      justify-content: center;
      z-index: 5000000;
    }

    /* the popup box */
    .modal-content {
      background: var(--dark03);
      padding: 50px;
      border-radius: 8px;
      width: 530px;
      height: 220px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.2);
      text-align: center;
      display: flex;
      align-content: center;
      flex-direction: column;
      justify-content: space-between;
    }

    /* close button */
    .close-btn {
      padding: 8px 32px;
      border: none;
      background-color: var(--aa-red);
      color: #fff;
      border-radius: 50px;
      cursor: pointer;
      align-self: center;
    }
    .close-btn:hover {
      background-color: #0056b3;
    }


/*-----------MEDIA QUERIES --------------*/

  @media (max-width: 1100px)  {
    .section .cont{
      display: flex;
      flex-direction: column;
    }
    .section-1 .cont, .section-3 .cont {
      flex-direction: column-reverse;
    }

  
   
  }

  @media (max-width: 900px)  {
    .wrap-div {
	flex-direction: column;
}
.img-shrink {
	width: 100%;
}

.main-image {
  height: 100%;
}

.main-image-cont {
  height: 20rem;
  overflow: hidden;
  display: grid;
  align-content: center;
}

     .modal-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
      }

  }