/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html{
    overflow-x:hidden;
    scroll-behavior: smooth;
}

body {
    -webkit-background-clip: border-box;
}

body, html {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    
}


.fade-slide {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    transition-delay: 0.2s;
  }
  
.fade-slide.visible {
    opacity: 1;
    transform: translateY(0);
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    width: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1999;
    transition: opacity 0.3s ease;
  }
  
  #loader .spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #233544;
    border-top: 5px solid transparent;
    border-radius: 50%;
    margin-top: 2rem;
    animation: spin 1s linear infinite;
  }

  #loader img {
    width: 6rem;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
  body.loaded #loader {
    display: none;
  }

.welcome-container, .getStarted2 {
    background-color: black;
    margin-bottom: 0.25vw;
    height: auto;
}

.getStarted2{
    position: relative;
}

.backgroundImage {
    top: 0;
    opacity: 50%;
    width: 100%;
    object-fit: cover;
}

/* Cropping the image to fit the correct layout */
.background-container {
    /*Using vw because we don't want to height and width to change when zooming in and zooming out*/
    height: 100vh;
    overflow: hidden;
}

.backgroundOverlay {
    z-index: 1;
    position: absolute;

}

#overlayCaption {
    top: 40%;
    left: 10vw;
}

.children {
    margin-top: .8rem; 
 }


.backgroundOverlay h1  {
    font-weight: 500;
    line-height: 1.1;
    font-size: 4rem;

}

.backgroundOverlay h2 {
    font-size: 2.5rem;
    line-height: 1.1;
    font-weight: 500;
}


.background-container .buttonContainer {
    bottom: 10vh;
    justify-content: center;
    padding: 0 4vw;
}

#down-arrow{
    text-align: center;
    bottom: 0;
    width: 100%;
    color:black;
    transition-duration: .4s;
}

#down-arrow a p{
    transform: scaleX(2);
    font-size: 3rem;
}

#down-arrow:hover {
    background-color: rgb(0, 0, 0, 0.3);
    background: linear-gradient(to bottom, transparent 0%, transparent 5%, black 100%);

}  


nav {
    position:fixed;
    z-index:2;
    display:flex;
    justify-content: space-between;
    width: 100vw;
    padding-inline:10vw;
    padding-top:2rem;
    align-items: center;
    transition-duration: .5s;
}

.hamburger {
    border: none;
    background-color: transparent;
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    transition: all 0.3s ease-in-out;
    width: min-content;
    flex: none;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
}

.hamburger.active div {
    background: #233544;
}

.hamburger.active .h1{
    transform: rotate(45deg) translateY(6px);
}
.hamburger.active .h2{
    display: none;
}
.hamburger.active .h3{
    transform: rotate(-45deg) translateY(-6px);
}

.hamburger:hover{
    opacity: 1;
    scale: 1.05;
    div {
        background-color: #4b4944;
    }
}

footer {
    background-color: black;
    display:flex;
    width:100%;
    padding: .5rem 10vw;
    justify-content:center;
    align-items: center;
}
footer a {
    text-decoration: underline;
}

nav.light-navbar{
    background-color: white;
    color:#233544;
    padding-top: 1rem;
}

.logo img{
    width: 6rem;
    margin: 10px;
}

#dark-logo{
    display:none;
}

nav.light-navbar #dark-logo{
    display: inline;
}

nav.light-navbar #light-logo{
    display:none;
}

.menus{
    display:flex;
}

.menu{
    text-decoration: none;
    color:white;
    padding: .8rem 2rem;
    font-size: 1rem;
    align-self: center;

}

nav.light-navbar .menu{
    color:#233544;
}

.menu.download{
    color:#233544;
    background:white;
    border-radius: 20px;
    padding: 1.5rem 2rem;
}

nav.light-navbar .download{
    color:white;
    background-color: #233544;
}

.download:hover{
    opacity: .8;
    transform: scale(1.02);
}

a {
    text-decoration: none;
    color: white;
}

.description a {
    color: #326287;
}

.getStarted{
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    color:black;
    gap:2rem;
    position: relative;
    padding:  2vw 10vw;
}

.sub-header{
    font-size: 3em;
    font-weight: 600;
}

.description, label {
    font-size:1.5rem;
    font-weight: 500;
}

.content ul li{
    font-size: 1rem;
    margin-bottom:1rem;
}

.content ul{
    padding-left:2rem;
}

#getStartedImage {
    border-radius: 20px;
}

.image-container{
    flex: 1;
    min-width: 260px;
}

.image-container img{
    width:100%;
}

.content{
    flex: 1;
    padding: 20px;
    justify-content: center;
}

.triangle{
    border-top:30px solid black;
    border-left:30px solid black;
    position: absolute;
    top:0;
    left:0;
}

button, label.outlineWhite{
    padding: 1rem 1.5rem;
    flex: 1;
    width: 100%;
    font-weight: 500;
    border-radius: 20px;
    font-size: 1rem;
    margin: 0.5rem;
    transition-duration: .5s;
    cursor: pointer;
}

.buttonContainer {
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
}

button.outline {
    border: 3px solid #233544;
    background-color: rgba(255, 255, 255, 0);
    color: #233544;
}

button.outline:hover{
    background-color: #233544;
    color:white;
}

button.outlineWhite, label.outlineWhite{
    border: 3px solid white;
    background-color: rgba(255, 255, 255, 0);
    color: white;
}

button.outlineWhite:hover, label.outlineWhite:hover {
    background-color: white;
    color:#233544;
}

button.solid{
    border:3px solid #233544;
    background-color: #233544;
    color:white;
}

button.solid:hover {
    background-color: white;
    color: #233544;
}

button.solidWhite{
    border:3px solid white;
    background-color: white;
    color:#233544;
}

button.solidWhite:hover{
    background: #23354400;
    color:white;
}

@media (max-width: 768px) {
    .backgroundOverlay h1  {
        font-size: 4rem;
    }

    .menus {
        display: none;
    }

    .quote {
        padding: 3rem 4rem !important;
    }

    .features {
        padding: 3rem 6rem !important;
    }

    .hamburger{
        display:flex;
        z-index: 1000;
    }

    nav {        
        padding: 1rem 2rem;
        padding-top: 2rem;
    }

    .menus {
        display: flex;
        flex-direction: column;
        position:absolute;
        padding: 10rem 3rem;
        width:400px;
        top:0;
        right: 0;
        background-color: white;
        height: 100vh;
        gap: 3rem;
        font-size: 2rem;
        z-index: 999;
        align-items: center;
        transform: translateX(450px);
        transition-duration: 0.6s;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
        a {
            padding: 0;
            color:#233544;

        }
        .button {
            padding: 1rem 2rem;
        }
        .download{
            color:white;
            background-color: #233544;
        }
    }

    .menus.active{
        transform:translateX(0);
    }

}