@import url('https://fonts.googleapis.com/css?family=Roboto Slab:wght@200;300;400;500;600;700;900');
*{
    font-family: 'Roboto Slab';
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a{
    color: white;
}

html{
    background-color: #F7F7F7;
}

.navbar{
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), var(--accent, #204782);
    height: 5.938rem;
    width: 100%;
    padding-left: 8%;
    padding-right: 8%;
    display: flex;    
    align-items: center;
    justify-content: space-between;
    position: fixed;
    z-index: 2;
    transition: top 0.3s;
}

.navbar img{
    width: 21.25rem;
    height: 2.5rem;
    object-fit: contain;
}

.text{
    color: white;
    font-weight: 500;
    font-size: 1.15rem;
    display: flex;
    justify-content: space-between;
    gap: 3.375vw;
}

.text a:hover{
    text-decoration: underline;
}

.text a:active{
    color: white;
}

.text a:visited{
    color: white;
}

.hamburger{
    display: none;
}

.bar {
    display: block;
    border-radius: 0.1rem;
    width: 1.2rem;
    height: 2.7px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: white;
}

.desc{
    display: flex;
    flex-direction: column;
    gap: 1.5vw;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), var(--accent, #204782);
}

.hero-desc{
    display: flex;
    gap: 1rem;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    /* margin-bottom: 5rem; */
}
    
.desc-container{
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding-left: 8%;
    padding-right: 8%;
}
    
.desc-title{
    color: var(--accent, #204782);
    font-size: 1.4rem;
    text-align: center;
    font-weight: 400;
}
    
.desc-title2{
    font-size: 2.3rem;
    text-align: center;
    font-weight: 700;
    margin-top: 1rem;
}
    
.desc-text{
    text-align: center;
    font-weight: 400;
    font-size: 1.25rem;
}
    
.line{
    width: 60%;
    height: 0.3rem;
    background-color:#204782;
    align-items: center;
    border-radius: 2px;
}

.floating-button{
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 0.5rem;
    background-color: #0D2954;
    color: white;
    font-size: 1rem;
    padding: 1.5rem;
    z-index: 5;
    border-radius: 100%;
    border-style: none;
}

.footer-desc{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: first baseline;
    justify-content: space-between;
    color: white;
    font-weight: 400;
    font-size: 0.7rem;
    gap: 1vw;
    width: 33vw;
    margin-top: 0.7rem;
}

.footer-desc span{
    font-weight: 700;
}

.before-copyright{
    display: flex;
    justify-content: space-between;
}

.copyright{
    text-align: center;
    color: white;
    font-weight: 500;
    font-size: 0.5rem;
    margin-bottom: 2%;
    margin-top: 4%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), var(--accent, #204782);
}

.directory{
    color: white;
    font-weight: 300;
    font-size: 0.9rem;
    margin-top: 2%;
    margin-right:10%;
    display: flex;
    flex-direction: column;
    gap: 1.7vh;
}

.directory a:hover{
    text-decoration: underline;
}

.directory a:active{
    color: white;
}

.directory a:visited{
    color: white;
}

.directory span{
    font-weight: 900;
    font-size: 1.1rem;
}

.landing-page{
    position: relative;
}

.landing-page img{
    width: 100%;
    height: 100vh;
    object-fit: cover;
    filter: brightness(75%);
}

.landing-tool{
    position: absolute;
    padding-left: 8%;
    width: 100%;
    top: 40%;
}

.landing-text{
    color: white;
    font-weight: 500;
    font-size: 1.3rem;
}

.landing-text span{
    font-weight: 800;
    font-size: 4rem;
}

.landing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    opacity: 0;
    background-color: #F7F7F7;
    pointer-events: none; /* This ensures that overlay won't interfere with any interactions */
    z-index: 1; /* To ensure it sits on top of the text and other content */
}

.contact-us{
    margin-top: 2.5%;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), var(--accent, #204782);
    border-radius: 0.4rem;
    width: 10rem;
    height: 3rem;
}

.boat-gallery{
    margin-left: 8%;
    margin-right: 8%;
    margin-top: 7rem;
    margin-bottom: 4rem;
}

.boat-intro{
    padding-left: 8%;
    padding-right: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    width: 55%;
    background-color: #B7C2D4;
    /* color: white; */
}

.boat-intro .line{
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: 85%;
}

.boat-title{
    font-weight: 600;
    font-size: 2.4rem;
}

.boat-desc{
    font-weight: 400;
    font-size: 1.1rem;
}

.boat-type{
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 3rem;
    margin-left: 8%;
    margin-right: 8%;
    margin-top: 9rem;
}

.boat-text{
    display: flex;
    align-items: end;
    flex-direction: column;
    justify-content: space-between;
    background-color: #CCD4E0;
    padding-top: 3rem;
    padding-bottom: 3rem;
    padding-left: 3rem;
    padding-right: 3rem;
}

.boat-text button{
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 1.4rem;
    color: white;
}

.boat-text button:hover {
    text-decoration: underline;
}

.boat-text button.focused { /* Remember, by default, divs aren't focusable. See the note below. */
    color: var(--accent, #204782);
}

.image-desc{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.showcase-title{
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.title{
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    text-align: end;
}

.title .line{
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: 100%;
}

.title p span{
    font-weight: 600;
    font-size: 3rem;
}

.title p{
    font-weight: 400;
    font-size: 1.1rem;
}

.boat-double-image{
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

#boat1{
    width: 45%;
    height: 50vh;
}

#boat2{
    width: 60%;
}

#boat3{
    width: 35%;
}

#boat4{
    margin-top: 1rem;
    width: 100%;
    height: 70vh;
    /* height: 100%; */
}

footer{
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), var(--accent, #204782);
    /* height: 20vh; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left: 8%;
    padding-right: 8%;
    padding-top: 4%;
}

footer img{
    width: 27.5rem;
    height: 3.438rem;
    object-fit: contain;
}



@media only screen and (max-width: 980px) {
    .text {
        position: fixed;
        left: -100%;
        /* margin-top: 3.5rem; */
        top: 5rem;
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), var(--accent, #204782);;
        /* padding-top: 1rem; */
        padding-bottom: 1rem;
    }


    .text.active {
        left: 0;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7.8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7.8px) rotate(-45deg);
    }

    .boat-type{
        flex-direction: column;
        align-items: center;
        gap: 3.5rem;
    }

    .boat-image{
        width: 80%;
    }

    .boat-text{
        align-items: center;
        width: 55vw;
    }

}

@media only screen and (max-width: 780px){
    .directory{
        display: none;
    }

    .landing-text{
        font-size: 1rem;
    }

    .landing-text span{
        font-size: 3rem;
    }

    .contact-us{
        margin-top: 4%;
    }

    .showcase-title{
        display: none;
    }

    .image-desc{
        align-items: center;
    }

    .boat-double-image{
        flex-direction: column;
        gap: 2rem;
    }

    #boat1{
        width: 100%;
    }

    #boat2{
        width: 100%;
    }

    #boat3{
        width: 100%;
    }

    #boat4{
        width: 100%;
    }
}

@media only screen and (max-width: 500px){
    .navbar img{
        width: 55vw;
        height: 7vh;
    }

    footer img{
        width: 70vw;
        height: 9vh;
    }

    .desc{
        font-size: 0.5rem;
    }

    .copyright{
        font-size: 0.3rem;
    }

    .title p span{
        font-size: 2.5rem;
    }

    .boat-title{
        font-size: 1.5rem;
    }

    #boat1, #boat4{
        height: 30vh;
    }
}