* {max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'open sans';
}

html, body {
    height: auto;
    width: 100%;
    overflow-x: hidden;
  background:linear-gradient(to top, #209fb2, #9af7f8);
    background-repeat: no-repeat;
    background-position: center; 
    background-size: cover;

}

@media (min-width:600px) {
.title {
    font-size: 3rem;
    text-align: center;
    background: linear-gradient(to bottom, #FF7F50, #b25d20);
      -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
    font-family: 'open sans';
}
 .carousel-container {
    width:100%;
    justify-items: center;
    margin-bottom: 3%;
}
.carousel {
    display: flex;
    gap: 5px;
}
.slide {
    flex: 0 0 auto; 
    width: 250px;
    scroll-snap-align: start;
    text-align: center;
    padding: 1% 1%;;
    background-color: #efe3e34d;
}
.slide img {
    width:fit-content;
    height: 120px;
    border-radius: 10px;
}

.carousel::-webkit-scrollbar {
    display: none;
}
.carousel-container a {
    font-weight: 400;
    text-decoration: none;
    color:black;
    font-size: 1.2rem;
}

.carousel-container a:hover{
    opacity:0.5 ;
 }
}
@media (max-width:599.99px){
.title {
    font-size: 1.5rem;
    text-align: center;
    color: white;
    font-family: 'open sans';
}
 .carousel-container {overflow-x: scroll; width:100%; justify-items: center; align-items: center; margin-bottom: 3%;} .carousel {display: flex; gap:2%; padding: 0 1%;} .slide {flex: 0 0 auto; width: 48%; justify-items: center; scroll-snap-align: start; text-align: center; padding: 3%; background-color: #efe3e34d; border-radius: 10px;} .slide img {width: auto; height: 50px; border-radius: 10px;} .carousel::-webkit-scrollbar {display: none;} .carousel-container a {font-weight: normal; text-decoration: none; color:black; font-size: 1em;} .carousel-container a:hover{opacity:0.5 ;}
}

.content{
    position: relative;
    width: 100%;
    z-index:1;
    margin: auto;
    display: block;
    justify-items: center;
}

.divenation, .dn3dives {
    display: block;
    position: relative;
    align-items: center;
    background: rgba(244, 252, 255, 0.76);
    margin-top: 1%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    transition: 0.3s ease-in-out;
    opacity: 0;
    transform: translateX(50%);
    justify-items: center;
    transition: all 0.6s ease-in;
}
.dn3dives.visible, .divenation.visible {
    opacity: 1;
    transform: translateX(0);
    justify-items: center;
}
.dive-info {
    display: inline;
    width: 50%;
    float: left;
}
.dive-times h2 {
    color: #005D94;
    font-family: 'open sans', sans-serif;
}
.dive-times p {
    font-family: sans-serif;
    line-height: 1.2;
}
.dive-shop {
    width: 100%;
    margin-top: 5%;
    border-radius: 8px;
    position: relative;
    display: inline-flex;
}
.dive-shop p{
    margin-top: 10%;
    font-family: sans-serif;
}
.price {
    float: right;
    width:49%;
}
.price h2 {
    color: red;
    text-align: right;
}
.price p {
    font-family: sans-serif;
    width: 100%;
}
.price .view-details {
   
    float: right;
    width: 100%;
    max-width: 150px;
    padding: 10px;
    background: linear-gradient(to right, #FF7F50, #b2a620);
    color: #fff;
    font-weight: bold;
    text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-family: sans-serif;
    transition: 0.3s ease-in-out;
}
.view-details:hover {
    transform: scale(1.1);
}

.article{ 
    background:rgba(244, 252, 255, 0.76);
    height: auto;
    box-sizing: border-box;
    align-self: center;
    width: 100%;
    position: flex;
    justify-items: center;
    transition: 0.3s ease-in-out;
    line-height: 1.325em;
    word-wrap: break-word;
}

.faq{
    padding: 5%;
    width: 90%;
    justify-items: center;
}
.faq h2{
    padding: 1% 0;
    overflow-wrap: break-word;
    hyphens: auto;
    word-spacing: -.5px;
    font-family: 'open sans';
    text-align: center;
    position:relative;
    color:black;
}         
.faq p{
    overflow-wrap: break-word;
    hyphens: auto;
    text-align: justify;
    word-spacing: 0;
    color: black;
}
.faq p strong{
    color: rgb(255, 96, 10);
    font-weight: bold;
}
.dive{
    transition: 0.3s ease-in-out;
    opacity: 0;
    transform: translateX(50%);
    transition: all .8s ease-out;
}
.dive.visible {
    opacity: 1;
    transform: translateX(0);
}

@media (min-width:830px){
.divenation, .dn3dives {
    justify-items: center;
    float: right;
    margin-right: 10%;
    margin-left: 5%;
    padding: 1%;
    width: 45%;
}
.image-container {
    overflow-y: hidden;
    display: block;
    width: 100%;
    position: relative; 
    justify-items: center;
    height: auto;
}
.mySlides {
    display: block;
    border-radius: 10px;
    margin-bottom: 2%;
    max-width: 300px;
    aspect-ratio: auto 640 / 360;
}
.dive-times h2 {
    font-size: 1.5rem;
}
.dive-times p {
    font-size: 1rem;
}
.dive-shop .ssi {
    width: 20%;
    border-radius: 50%;
    max-width: 50px;
}
.dive-shop p{
    font-size: 1rem;
}
.price h2 {
    font-size: 1.8rem;
}
.price p {
    font-size: 1rem;
}
.left{
    margin-left: 10%;
    width: 30%;
}
.frame1, .frame2{
    transition: 0.3s ease-in-out;
    opacity: 0;
    transform: translateX(50%);
    transition: all .8s ease-out;
}
.frame1.visible, .frame2.visible {
    opacity: 1;
    transform: translateX(0);
}

.article{ 
    margin-top: 2%;
}
.faq{
     justify-items: center;
}
.faq h2, h3{
    font-size: 1.9rem;
} 
.faq p{
  font-family: Helvetica, Arial, sans-serif;
    font-size: 1.125em; /* 1em equals the parent element's font size */
    font-weight: normal; /* Use 'bold' where needed */
    line-height: 1.2em; /* 1.5 times the font size for readability */
    letter-spacing: 0.03em; /
}
.faq p strong{
    font-size:1.2rem;
}
.dive{
   margin: 0;
}
}
@media(max-width:829.98px){
    .content{
        width: 94%;
        margin-left: 3%;
        margin-right: 3%;
        justify-items: center;
    }
.divenation, .dn3dives {
    justify-items: center;
    width: 100%;
    padding: 3%;
}
.image-container {
    overflow-y: hidden;
    display: block;
    width: 100%;
    position: relative; 
    justify-items: center;
    height: auto;
}
.mySlides {
    justify-items: center;
    display: block;
    border-radius: 10px;
    margin-bottom: 2%;
    max-height:125px;
    aspect-ratio: auto 640 / 360;
}
.dive-times h2 {
    font-size: 1.125rem;
    
}
.dive-times p {
    font-size: .9rem;
}
.dive-shop .ssi {
    width: 30%;
    max-width: 50px;
    border-radius: 50%;
}
.dive-shop p{
    width: 70%;
    font-size: .9rem;
}
.price h2 {
    font-size: 1.5rem;
}
.price p {
    font-size: .9rem;
}
.left{
    justify-items: center;
    margin-top: 2%;
    padding: 3%;
    width: 94%;
}

.article{ 
    width: 100%;
    margin-top: 1%;
    font-family: Helvetica, Arial, sans-serif;
    justify-items: center;
     overflow-wrap: break-word;
    hyphens: auto;
}
.faq{
    justify-items: center;
}
.faq h2{
    font-size: 1.125rem;
} 
.faq p{
      word-spacing:0;
    font-size: 1rem; /* 1em equals the parent element's font size */
    font-weight: normal; 
}
.faq p strong{
    font-size:1rem;
}
.dive{
    height: auto;
}
}


