
/* Main Sections */
@import url('https://fonts.googleapis.com/css?family=Arapey&family=Roboto&family=Lato');

html, body {
  padding: 0;
  margin:0;
}
h {
  font-size: 10vh;
}

#motto {
font-style: italic;
font-family: monospace;
}

#toptext{
  color: white;
  font-family: monospace;
}

.wrapper {
width:1170px;
margin: 0 auto;
        }
.logo {
width: 30%;
float: left;
line-height: 10px;
}
.logo a{
    text-decoration: none;
    font-size: 30px;
    font-family: bignoodletitling;
    color: #fff;
    letter-spacing: 5px;

}

.top {
  position: relative;
  height: 100vh;
  width:100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  color:black;
}

.top::before{
    content: "";
    background-image: url(static/pic.jpg);
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    position: absolute;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
    top:0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    margin: inherit;
    opacity: 0.5;
}
#toptext {
  opacity: 1;
  color: white;
  font-weight: bold;
  align-items: center;
  font-family: Roboto;
  z-index: 1;
}
.m-y-2 {
  width:80%;
  margin:0 auto;
}
.home{
    position: relative;
    height: 100vh;
    width:100vw;
    justify-content: center;
    text-align: center;
    padding-top: 340px;
    font-weight: bold;
    background-color: black;
    opacity: 0.6;
}
.logoimg {
  width:150px;
  height:10%;
}
.textbox {
    padding-left: 80px;
    padding-right: 80px;
}

.title {
    position: -webkit-sticky;
    position: sticky;
    height: 50px;
    top:60px;
    background-color: red;
}

body {
  font-family: sans-serif;
  background-color: #333;
  color: #fff;
  line-height: 1.6;
  height: 100vh;

}

.container {
  width: 100%;
  height: 100%;
  /* CSS Smooth scroll */

}

.twogrid {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  align-items: center;
  width:100vw;
}

.grid1 img {
  object-fit: cover;
  align-items: center;
  width:100%;
}
.grid1 h {
  font-family: Roboto;
}
.grid1 p {
  font-family: Lato;
}
.grid2 {
  width: 50%;
}
.grid2 h {
  font-family: Roboto;
}
.grid p {
  font-family: Lato;
}
@media screen and (max-width: 49em) {
  .logoimg {
    width:100px;
    height:8%;
  }
  section#HOME {
    content: "";
    margin: 0 !important;
    padding: 0 !important;
    height:110vh;
  }
  #HOME .twogrid {
    margin:0;
    padding:0;
    height: fit-content;
  }
  #HOME .grid1 {
    padding: 2vh;
    height:80vw;
    width:100vw;
    background-color: white;
  }
  #HOME .grid2 {
    margin-top:1vw;
    padding: 2vh;
    height:50vw;
    width:100vw;
    background-color: white;

  }
  #HOME h1 {
    font-size: 25px;
    text-align: center;
  }
  #HOME p {
    font-size: 15px;
  }
  #HOME img {
    width:80vw;
    height:80vw;
    margin: 0;
    padding: 0;
  }

}
@media screen and (min-width:49.001em) {
  #HOME {
    margin: 0 !important;
    padding: 0 !important;
    display: block;
    overflow: auto;
  }
  .twogrid {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }
  .grid1 {
    width:50%;
  }
  .grid2 {
    width: 50%;
    overflow: hidden;
  }
  #HOME p {
    font-size: 2.8vh;
  }
  #HOME h {

  }
}


/* The sections begins here */
section {
  padding-left: 10vh;
  padding-right: 10vh;
  padding-top: 8vh;
  padding-bottom: 2vh;
  width: 100%;
  display: block;
  overflow: auto;
  height: 100%;
  scroll-snap-align: center;


}

section h1 {
  font-size: 4rem;
  font-family: Roboto;
}
section p {
  font-size: 1rem;
  font-family: Lato;
}




/* This is the home section -----------------------------------------------------------------------------------*/
section#HOME{
    background-color: white;
    color: black;
  }

/* Break after Home ------------------------------------------------------------------------------------------*/
  .homeadd {
    position: relative;
    height: 100vh;
    width:100%;
    display: flex;
    align-items: left;
    justify-content: left;
    margin: 0;
    padding: 0;
  }

  .homeadd::before{
      content: "";
      background-image: url(static/images/pallets.jpg);
      background-repeat: no-repeat, repeat;
      background-size: cover;
      position: absolute;
      background-attachment: fixed;
      background-repeat: no-repeat;
      background-position: center center;
      top:0px;
      right: 0px;
      bottom: 0px;
      left: 0px;
      margin: inherit;
  }
  .additional {
    background-color: #e6cbb3;
    opacity: 0.8;
    width: 50%;
    height:100%;
    padding-top: 5%;
    padding-left: 5%;
    padding-right: 5%;

  }
  .additional p {
    font-size: 2.8vh;
  }
@media screen and (max-width: 49em) {
    .additional {
      opacity: 0.6;
      width:100%;
      height:100%;
      text-align: center;
    }
    #main-container h1{
      font-size: 30px;
      font-weight: bold;
      }
  }

#main-container .loaded {
  background-color: black;
}

.sideText {
  z-index: 1;
  opacity: 1;
  color: Black;
}







  /* This is in the service section --------------------------------------------------------------------------------*/
section #SERVICES{
    background-color: #E9E9E9;
    height: fit-content;
  }

  .grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    background-color: #E9E9E9;
  }

  .card {
    flex: 0 1 calc(25% - 1em);
    background-color: grey;
    margin-bottom: 2em;
    height: 250px;

  }
  .card .imgbox i{
    justify-content: center;
    position: absolute;
    text-align: center;
    padding-left: 25%;
    padding-top: 25%;
    line-height: 50%;
    font-size: 800%;

  }

  @media screen and (max-width: 39em) {
      #SERVICES .grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        height:fit-content;
     }

      #SERVICES .card {
        flex: 0 1 calc(100% - 1em);
        height:280px;
        width:100vw;
        box-shadow: 0 5px 15px -5px #00000070;
       }
       section#SERVICES{
           background-color: white;
           height:fit-content;
         }
      #SERVICES h3 {
          font-size: 15px;
           }
      #SERVICES p {
          font-size: 13px;
           }
      .card .imgbox i{
          justify-content: center;
          position: absolute;
          text-align: center;
          font-size: 900%;

           }
  }


  @media screen and (min-width: 39.1em) {
      #SERVICES .grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
     }

      #SERVICES .card {
        flex: 0 1 calc(50% - 1em);
        box-shadow: 0 5px 15px -5px #00000070;
        width:100vw;
      }
      section#SERVICES{
          background-color: white;
          height:fit-content;
          display: flex;
          overflow: auto;
        }
        #SERVICES h3 {
          font-size: 18px;
        }
        #SERVICES p {
          font-size: 13px;
        }

  }

  @media screen and (min-width: 68em) {
      #SERVICES .grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
     }

      #SERVICES .card {
        flex: 0 1 calc(25% - 1em);
        height: 340px;
        box-shadow: 0 5px 15px -5px #00000070;
       }
       section#SERVICES{
           background-color: white;
           height:fit-content;
           display: flex;
           padding-top:25px;
           padding-bottom: 1px;
         }
      #SERVICES h3 {
        font-size: 18px;
      }
      #SERVICES p {
        font-size: 16px;
      }
      #imgboxID i{
        justify-content: center;
        position: absolute;
        text-align: center;
        text-decoration-color: blue;
        font-size: 750%;
        padding-right: 3%;
        }
  }


  .content {
    position:absolute;
    bottom:0px;
    width:80%;
    height:20%;
    background-color: white;
    left: 10%;
    text-align: center;
    transition:0.5s;
    overflow: hidden;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-top: solid;
    border-right:solid;
    border-left:solid;
    border-color: black;
  }

  .content h3 {
    font-size: 15px;
    font-family: Roboto;
    text-transform: uppercase;
    margin:14px;
    color: black
  }

  .content p {
    width: 90%;
    margin: 10px auto;
    font-size: 5px;
    font-family: Lato;
    transition: 0.5s;
    color:black;
    opacity: 0;
    text-align: left;
  }

  .card:hover .content {
    height: 100%;
    width: 100%;
    left:0%;
    border-radius: 0px;
    border: hidden;
  }

  .card:hover p {
    opacity: 1;
    transition-delay: 0.5s;
  }

  .card:hover  h3 {
    border-bottom: 2px solid;
    transition-delay: 0.5s;
  }

  .card:hover {
    border:solid;
    border-color: #f27005;
    box-shadow: 3px #f27005;
    transition-delay: 0.6s;
  }





/* Break After services -----------------------------------------------------------------------------------------*/
.homeadd2 {
  position: relative;
  height: 100vh;
  width:100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

    .homeadd2::before{
        content: "";
        background-image: url(static/images/meeting.jpg);
        background-size: cover;
        background-attachment: fixed;
        position: absolute;
        background-attachment: fixed;
        background-repeat: no-repeat;
        background-position: center center;
        top:0px;
        right: 0px;
        bottom: 0px;
        left: 0px;
        margin: inherit;
        opacity: 0.5;
    }

.additional2{
  content: "";
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0, 0.4); /* Black w/opacity/see-through */
  color: white;
  font-weight: bold;
  border: 3px solid #f1f1f1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 80%;
  padding: 5px;
  text-align: center;
  height: fit-content;
  overflow: block;
}
@media screen and (max-width: 45em) {
  .additional2 {
    content: "";
    height: fit-content;
    width:100vw;
    padding-top: 15px;

  }
}

.additional2 h1 {
  font-family: Roboto;
}

.additional2 p {
  font-family: Lato;
  padding-bottom: 20px;
}





/* This is the clients section -------------------------------------------------------------------------------------*/

section#ClientC{
    background-color: white;
    height: 80%;
    width: 100%;
    align-items: center;
    }
#carouselExampleFade {
  margin: 0 !important;
  padding: 0 !important;
  height: 68vh;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0,0,0, 0.25)
}

.carousel-inner {
  height:inherit !important;
  justify-content: center;
  padding: 0!important;
  margin: 0!important;
}
.carousel-item {
  height:inherit !important;
  position: relative;
  justify-content: center;
  margin: 0!important;
  padding: 0;
}


.carouselCaption {
  background-color: #ffc266;
  height:23%;
  position: absolute;
  bottom: 0;
  width:100%;
  padding-top: 2%;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  align-items: center;
  opacity: 0.9;

}
.carouselCaption p {
  text-align: center;
  padding:0;
  margin: 0;
  font-size: 18px;
}
.carouselCaption h5 {
  text-align: center;
  padding:0;
  margin: 0;

}

.controls {
  color: red;
  text-decoration-color: red;
}

@media screen and (max-width: 49em) {
  section#ClientC{
      display: flex;
      background-color: white;
      margin: 0 !important;
      padding: 0 !important;
      height: 60%;
      width: 100%;
      justify-content: center;
      overflow: hidden;
      }

  #carouselExampleFade{
    margin: 0 !important;
    padding: 0 !important;
    height: 35vh;
    width:95vw;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0, 0.25)
    overflow:hidden;
  }
  .carouselCaption {
    height:40%;
  }
  .carouselCaption h5 {
    margin-bottom: 3px;
    font-size: 20px;
  }
  .carouselCaption p {
    font-size: 15px;
  }
  #indicatorsXX{
    display: none;
  }
}

.img1 {
  content: "";
  background-image: url(static/images/mv.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  align-items: center;
}
.img2 {
  content: "";
  background-image: url(static/vitalbulk.jpeg);
  background-size: contain;
  background-repeat: no-repeat;
  align-items: center;
}

.img3 {
  content: "";
  background-image: url(static/DP.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  align-items: center;
}
.img4 {
  content: "";
  background-image: url(static/jodogal.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  align-items: center;
}



/* This is the contacts section ------------------------------------------------------------------------------------*/
section#CONTACT {
    padding:0;
    margin:0;
    align-items: center;
    height:fit-content;
    background-color: #f2f2f2;
  }

@media screen and (max-width: 45em) {
  #CONTACT .grid1 {
    margin-left:1vw;
    margin-right:1vw;
    padding: 2vh;
    height:50vh;
    width:100vw;
    overflow: hidden;
    background-color: #f2f2f2;
  }
  #CONTACT .grid2 {
    margin-left:1vw;
    margin-right:1vw;
    padding: 2vh;
    height:30vh;
    width:100vw;
    line-height: 3.5vh;
    background-color: #f2f2f2 ;

  }

 #CONTACT .contactsD img {
   height:6vh;
   width:15vh;
   margin-left: 0;
   display: none;
 }
 #CONTACT .contactText {
   display: none;
   text-align: right;
   padding-right:2vw;
   font-size: 2vh;
 }
 .iconcontainer {
   padding-top: 8vh;
   width:90vw;
   height:1vh;
 }
 #iconsmall {
   width: 55px;
   height:55px
 }
 #iconsmall i {
   line-height: 30px;
   font-size: 25px;
   padding-top:25%;
 }
 .link {
   align-content: center;
   text-align: center;
 }
}

@media screen and (min-width: 45.001em) {
  #CONTACT .grid1 {
    width:50%;
    height:100%
    flex-direction: row;
  }
  #CONTACT iframe {
    height:60vh;
    padding: 1vh;
  }
  #CONTACT .grid2 {
    width:50%;
    height:60vh;
    flex-direction: row;
    background-color:#f2f2f2;
    padding-left: 3vw;
    padding-right: 3vw;
    border-left: 3px solid;
    border-left-color: #f27005;
  }
  #CONTACT .link {
    display: none;
  }
 #CONTACT .contactText {
   text-align: right;
   padding-right:2vw;
   font-size: 2.5vh;
 }
}

  .pheader {
    margin-bottom: 0.5%;
    padding-bottom:0.5%;
    padding-right: 5px;

  }
  .ptext {
    margin-top: 0.5%;
    padding-top: 0.5%;
    font-size: 20px;
    padding-right: 5px;

  }
.logo2 {
  width:50%;
  height: 20%;
  align-content: right;
  margin-bottom: 40px;
}
  .iconcontainer{
    display: flex;
    text-align: center;
    justify-content: center;

  }

  .icon i {
    line-height: 80px;
    font-size: 40px;
    transition: all 0.2s;
  }

  .icon {
    width: 80px;
    height: 80px;
    background-color: #f1f1f1;
    margin: 10px;
    border-radius: 30%;
    color: #f27005;
    box-shadow: 0 5px 15px -5px #00000070;
    position: relative;
    overflow: hidden;
  }

  .icon:hover i {
    transform: scale(1.5);
    color: #f1f1f1;
  }

  .icon::before {
    content: "";
    position: absolute;
    width:120%;
    height: 120%;
    background-color: #f27005;
    left:-110%;
    top:90%;
    transform: rotate(45deg);
  }

  .icon:hover::before {
    animation: animation 0.7s 1 forwards;
  }
  @keyframes animation {
    0% {
      left: -110%;
      top: 90%;
    }
    50% {
      left: 15%;
      top: -30%;
    }
    100% {
      left: -10%;
      top: -10%;
    }

  }

  .links {
    margin-top: 20%
  }

.contactsD {
  text-align: right;
  color: black;
}
.contentD .h1 {
  font-size: 8px;
}
.contactsD .p {
  font-size: 8px;
}

section#clients {
  background-color: white;
}

#slider {
	overflow: hidden;
}
#slider figure {
	position: relative;
  display: flex;
	width: 400%;
	margin: 0;
	left: 0;
	animation: 20s slider infinite;
}
#slider figure .img {
	width: 50%;
  height:400px;
  border: 1px solid black;


	float: left;
}

@keyframes slider {
	0% {
		left: 0;
	}
	20% {
		left: 0;
	}
	25% {
		left: -100%;
	}
	45% {
		left: -100%;
	}
	50% {
		left: -200%;
	}
	70% {
		left: -200%;
	}
	75% {
		left: -300%;
	}
	95% {
		left: -300%;
	}
	100% {
		left: -400%;
	}
}

.img .img1{
  width: 30%;
  height:50%;
  margin-left: 35%;
  padding-top: 5%;
}
.contactText {
  font-family: Roboto;
}
section#ESERVICE {
    background-color: blue;
  }


/* FOOTER
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.page-footer {
  background-color: #9EA8AF;
  font-size: 16px;
  line-height: normal;
  text-align: center;
  padding: 0 20px 10px;
}

.page-footer span{
  color: var(--red);
}
