html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: serif;
}


header {
    height: 95vh;
    color: white;
    background: #1c262b;
    position: relative;
    z-index: 1;
    text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
}

@media (max-width: 43.75em) {
  header {
    padding: 2rem 0;
  }
}

header h1 {
  font-size: 4rem;
  margin: 0 0 1rem;
  text-transform: uppercase;
}


@media (max-width: 43.75em) {
  header h1 {
    font-size: 2rem;
  }
}
  
header h2 {
  font-weight: 300;
  font-size: 2rem;
  margin: 0 0 1rem;
}

@media (max-width: 43.75em) {
  header h2 {
    font-size: 1.5rem;
  }
}

.headerText {
    font-family: serif;
    font-style: normal;
    font-weight: normal;
    font-size: 35px;
    line-height: 40px;
    color: #C17F42;
}

p {
    margin-top: 40px;
    font-family: sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 23px;
    text-align: center;
    color: #000000;
}

.subheader {
    font-family: serif;
    font-style: normal;
    font-weight: normal;
    font-size: 25px;
    line-height: 29px;
    text-align: center;
    color: #000000;
    text-transform: uppercase;
    margin-top: 100px;
}

.bg-image:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #333 url(../images/rys/landing.webp) no-repeat top center;
  background-size: cover;
  background-attachment: fixed;
  opacity: 0.8;
  transform: scale(1.0);
}

.threat {
  margin: 15px;
  display: inline-block;
  width: 140px;
  height: 148px;
  background-size: 100%;
}

.threat_1 {
  background-image: url(../images/rys/threat_1.webp);
}

.threat_2 {
  background-image: url(../images/rys/threat_2.webp);
}

.threat_3 {
  background-image: url(../images/rys/threat_3.webp);
}

.threat_4 {
  background-image: url(../images/rys/threat_4.webp);
}

.threat-active {
  background-image: url(../images/rys/threat_active.webp);
}

.threat_3_active {
  background-image: url(../images/rys/threat_3_active.webp);
}

.threat_1:hover {
  background-image: url(../images/rys/threat_1_active.webp);
}
.threat_2:hover {
  background-image: url(../images/rys/threat_2_active.webp);
}
.threat_3:hover {
  background-image: url(../images/rys/threat_3_active.webp);
}
.threat_4:hover {
  background-image: url(../images/rys/threat_4_active.webp);
}

.threattext {
  position: relative;
  left: 0;
  top: 33%;
  text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
  font-size: 60px;
  color: #FFF;
}


.rtooltip {
  color: #000;
  position: relative;
  top: 150px;
  left: -60%;
  width: 300px;
  height: 80px;
  border: 1px solid #000;
  background-color: #fff;
  z-index: 10;
  box-sizing: border-box;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

.carousel-control-prev {
  left: 135px;
}

.carousel-control-next {
  right: 135px;
}
 
.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

.carousel-indicators {
  margin-bottom: 0!important;
}

.carousel-indicators li {
  width: 6px;
  height: 6px;
  border-radius: 100%;
  color: black;
  background-color: #000;
  
}

.carousel-subitem {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  height: 214px;
  border: 1px solid black;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.25);
}

.carousel-subitem h3 {
  font-family: Helvetica;
  font-style: normal;
  font-weight: normal;
  font-size: 35px;
  line-height: 40px;
  color: #000000;
}

.carousel-subitem span {
  margin-top: 20px;
  font-family: Helvetica;
  font-style: normal;
  font-weight: normal;
  font-size: 28px;
  line-height: 34px;
  color: #C17F42;
}

.nav-link {
  font-family: 'serif'!important;
  font-style: normal!important;
  font-weight: normal!important;
  font-size: 24px!important;
  line-height: 34px!important;
  color: #000!important;
  margin-left: 30px;
  margin-right: 30px;
}

@media only screen and (max-width: 1560px) {

  .carousel-control-prev {
    left: 75px;
  }
  
  .carousel-control-next {
    right: 75px;
  }
}

@media only screen and (max-width: 990px) {

  header {
    height: 100%;
}

  .bg-image:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #333 url(../images/rys/landing.webp) no-repeat center center;
    background-attachment:scroll;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;

    background-size: 100%;
    opacity: 0.8;
    transform: scale(1.0);
  }

  .carousel-control-prev {
    left: 0px;
  }
  
  .carousel-control-next {
    right: 0px;
  }

  .carousel-subitem {
    width: 97%;
  }

  .nav-link {
    margin-left: initial;
    margin-right: initial;
  }
}