html {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
}
body {
  height: 100%;
  width: 100%;
  margin: 0px;
  font-family: "Avenir Next", sans-serif;
}
h2 {
  margin-left: 20px;
}
.main-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.header {
  display: flex;
  position: fixed;
  flex-direction: row;
  background-color: rgba(111, 112, 112, 0.9);
  top: 0;
  z-index: 10;
  width: 100%;
  height: 100px;
}

.logo {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
}

.logo img {
  max-width: 70%;
  min-width: 30%;
  max-height: 80px;
}

.background-image img {
  width: 100%;
}

.hidden {
  flex: 1;
}

.menu-container {
  flex: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.menu-item {
  flex: 1;
  display: flex;
  justify-content: center;
}

a {
  text-decoration: none;
  color: #FFFFFF;
  font-size: 16px;
}

.info-card {
  width: 60%;
  background-color: rgba(211, 208, 200, 0.9);
  align-self: center;
  display: flex;
  flex-direction: row;
  margin-top: -90px;
  margin-bottom: 2vw;
  min-height: 240px;
}

.info-card-left-top {
  flex-direction: row;
  flex: 1;
  border-right-width: 2px;
  border-right-style: solid;
  border-right-color: #178DC5;
}

.info-card-left {
  flex-direction: row;
  flex: 1;
  border-right-width: 2px;
  border-right-style: solid;
  border-right-color: #178DC5;
  max-width: 550px;
}

.info-card-right {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
}

.info-card-right img {
  max-width: 30vw;
  max-height: 200px;
  margin: 10px;
}

.title {
  align-self: center;
}

h1 {
  font-weight: 400;
  color: #F2AF29;
  margin-left: 24px;
  font-size: 3em;
}

h2 {
  font-weight: 400;
  color: #707070;
}

p {
  font-weight: 400;
  color: #707070;
  margin-left: 24px;
  margin-right: 24px;
  font-size: 16px;
  margin-block-end: 1.6em;
}

.icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-bottom: 2vw;
  margin-top: 30px;
}

.icon {
  display: flex;
  flex: 3;
  align-items: center;
  justify-content: center;
}

.icon img {
  width: 50%;
  height: 50%;
}

.dots {
  display: flex;
  flex-direction: row;
  flex: 1;
  justify-content: space-evenly;
}

.dot {
  background-color: #F2AF29;
  border-radius: 20px;
  width: 20px;
  height: 20px;
}

.about-us, #porto{
  width: 80%;
  background-color: rgba(211, 208, 200, 0.8);
  align-self: center;
  display: flex;
  flex-direction: row;
}

.video-area {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.video-area video {
  flex: 1;
  height: 400px;
  margin: 20px;
}

#porto {
  margin-top: 50px;
  margin-bottom: 100px;
  flex-direction: column;
  background-color: transparent;
  border: 3px solid #178DC5;
  padding-bottom: 50px;
}

#clients {
  margin-right: 100%;
}

.year-line {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2vw;
  margin-bottom: 5vw;
  height: 100px;
  margin-left: -2600px;
  margin-right: 2600px;
}

.year-line img {
  max-width: 90%;
}

.clients-container {
  border: 3px solid #178DC5;
  margin: 20px;
}

.clients {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  border: 20px solid rgba(211, 208, 200);
}

.clients img {
  margin: 1vw;
  max-width: 150px;
}

.road-marks-card {
  display: flex;
  flex-direction: row;
  width: 70.5%;
  max-height: 400px;
  border: 1px rgba(211, 208, 200) solid;
  flex: 1;
  background-color: rgba(211, 208, 200, 0.8);
  margin-left: 20px;
}

.space-card {
  flex: 1;
  min-height: 100px;
}

.epoxy-card {
  display: flex;
  flex: 1;
  width: 70.5%;
  max-height: 400px;
  margin-right: 20px;
  align-self: flex-end;
  background-color: rgba(211, 208, 200, 0.8);
  border: 1px rgba(211, 208, 200) solid;
}

.road-marks-card .info-card-left {
  flex: 3;
  border-right-width: 0px;
}

.epoxy-card .text-card-right {
  flex: 3;
  border-right-width: 0px;
  flex-direction: column;
  max-width: 550px;
}

.slideshow-container {
  flex: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px white solid;
}

.dotR, .dotE, .dotP {
  cursor: pointer;
  max-height: 15px;
  max-width: 15px;
  width: 1vw;
  height: 1vw;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.imagesR img, .imagesE img, .imagesP img {
  max-width: 100%;
  max-height: 340px;
}

.slider-buttons {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 37%;
}

.next, .prev {
  right: 0;
  border-radius: 60px;
  width: 4vw;
  height: 4vw;
  max-width: 60px;
  max-height: 60px;
  background-color: white;
  box-shadow: 0px 10px 20px rgb(0 0 0 / 40%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 2.5vw;
  color: #178DC5;
}

.active {
  background-color: white;
}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

.bottom-dots {
  align-self: flex-end;
  justify-self: center;
  position: absolute;
  margin-bottom: 1vw;
}

.contact-page {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 55vw;
}

.contact-page .row {
  flex: 9;
  display: flex;
  flex-direction: row;
}

.contact-page .empty {
  flex: 1;
}

.contact-page .contact-circle {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contact-circle .circle {
  background-color: #F2AF29;
  border-radius: 600px;
  min-width: 600px;
  min-height: 600px;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.circle p {
  margin-left: -8px;
}

.contact-page .bottom-row {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}

.bottom-row .br-left {
  flex: 1;
}

.bottom-row .br-center {
  flex: 4;
  text-align: center;
}

.br-center p, .br-right p {
  color: #F2AF29;
}

.bottom-row .br-right {
  color: #F2AF29;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cr-logo {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cr-logo p {
  margin-left: 0px;
}

.cr-logo img {
  max-width: 100px;
  max-height: 50px;
  width: 6vw;
  height: 3vw;
}

.contact-page p {
  margin-block-end: 0px;
}

.background-contact {
  position: absolute;
  z-index: -1;
  height: inherit;
}

.background-contact img {
  width: 100vw;
}

.container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.circle p, .circle a {
  font-size: 24px;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}

@media (max-width: 1760px) {
  .circle p {
    margin-left: 0px;
    margin-right: 0px;
  }
  .circle p, .circle a {
    font-size: 18px;
  }
  .contact-circle .circle {
    background-color: #F2AF29;
    border-radius: 400px;
    min-width: 400px;
    min-height: 400px;
  }
}

@media (max-width: 870px) {
  .circle p {
    margin-left: 0px;
    margin-right: 0px;
  }
  .circle p, .circle a {
    font-size: 16px;
  }
  .contact-circle .circle {
    background-color: #F2AF29;
    border-radius: 300px;
    min-width: 300px;
    min-height: 300px;
  }
}


@media (max-width: 640px) {
  .circle p {
    margin-left: 0px;
    margin-right: 0px;
  }
  .circle p, .circle a {
    font-size: 16px;
  }
  .contact-circle .circle {
    background-color: #F2AF29;
    border-radius: 35px;
    min-width: 70px;
    min-height: 70px;
    padding: 12px;
  }
  p, a {
    font-size: 16px;
  }
  .menu-container a {
    font-size: 11px;
  }
  .info-card {
    width: 90%;
  }
  .about-us {
    width: 90%;
  }
  .header {
    height: 50px;
  }
  .slider-buttons {
    width: 66%;
  }
  .bottom-row p {
    font-size: 14px;
  }
  .contact-circle p, a{
    font-size: 14px;
  }
}

@media (max-width: 1350px) {
  .road-marks-card {
    width: 96%;
  }
  .epoxy-card {
    width: 96%;
  }
}

@media (max-width: 870px) {
  .hidden {
    display: none;
  }
  .info-card {
    flex-direction: column;
  }
  .info-card-left-top {
    flex-direction: row;
    flex: 1;
    border-right-width: 0px;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-bottom-color: #178DC5;
  }
  .info-card-left {
    flex-direction: row;
    flex: 1;
    border-right-width: 0px;
  }
  .about-us {
    flex-direction: column;
  }
  .road-marks-card {
    flex-direction: column;
    max-height: none;
    width: 92%;
  }
  .epoxy-card {
    max-height: none;
    width: 92%;
  }
  .road-marks-card .info-card-left {
    border-bottom-width: 0px;
  }
  .epoxy-card {
    flex-direction: column;
  }

  .dot {
    background-color: #F2AF29;
    border-radius: 10px;
    width: 10px;
    height: 10px;
  }
}

/* #first-dot, #third-dot, #fifth-dot {
  margin-top: -50px;
} */

@media (max-width: 1900px) {
  .video-area video {
    flex: none;
    height: 300px;
    margin: 5px;
  }
}

@media (max-width: 1350px) {
  .video-area {
    flex-direction: column;
  }
  .video-area video {
    flex: none;
    height: 300px;
    margin: 5px;
  }
}

@media (max-width: 700px) {
  .video-area video {
    flex: none;
    height: 150px;
    margin: 5px;
  }
  h1 {
    font-size: 35px;
  }
  #porto {
    margin-top: 0px;
  }
  .br-left, .br-right {
    display: none;
  }

  .bottom-row .br-right {
    display: none;
  }

}
