* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'TheFloristaSerif';
    src: url('/fonts/TheFloristaSerif.ttf') format('truetype');
}

@font-face {
    font-family: 'Gotham';
    src: url('/fonts/Gotham-Medium.otf') format('opentype');
}

@font-face {
    font-family: 'GothamLight';
    src: url('/fonts/Gotham-Light.otf') format('opentype');
}

@font-face {
    font-family: 'GothamBook';
    src: url('/fonts/Gotham-Book.otf') format('opentype');
}


@font-face {
    font-family: 'Avenir';
    src: url('/fonts/Avenir-Black-03.ttf') format('truetype');
}

body {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    background-color: #f4f4f4;
    background-image: url('/images/background.webp'); /* Replace with your image */
    background-size: cover; /* Ensures the image covers the entire screen */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents tiling */
    background-attachment: fixed; /* Keeps the image from scrolling */
    padding: 0px;
}

.header-container {
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.header {
    display: grid;
    grid-template-columns: 3fr 5fr;
    max-width: 1280px;
    width: 100%
}
.logoContainer {
    width: 75%;
    padding: 10px;
}

.logoImage {
    width: 100%;
    max-height: 120px;
    max-width: 251px;
}

.main-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    padding: 20px;
    margin: 0;
}

.main-content {
    display: grid;
    grid-template-columns: 3fr 5fr;
    max-width: 1280px;
    width: 100%;
}

#phone1 {
    display: flex;
}
#phone2 {
    display: none;
}
.phone-container {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 10px;
    min-width: 300px;
}

.image-container {
    position: relative;
    display: inline-block; /* Keeps the container sized to the image */
}

.background {
    width: 90%; /* Adjust as needed */
    margin: 5%;
}

.overlay {
    position: absolute;
    top: 50%; /* Centers vertically */
    left: 50%; /* Centers horizontally */
    transform: translate(-50%, -50%); /* Fine-tune centering */
    width: 100%; /* Adjust overlay size */
}

.app-description-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 20%;
    padding-left: 10px;
    padding-right: 10px;
} 

.features-container {
    display:none;
}

.botany-card {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;
    margin-bottom: 4rem;
}
.botany-card-header {
    width: 75%;
    min-width: 300px;
    align-self: center;
    text-align: center;
    padding: 7px;
    background-color: #1b4234;
    font-family: "TheFloristaSerif";
    font-size: 1.75rem;
    color: white;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.botany-card-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.65);
    padding: 25px;
    justify-content: center;
    text-align: center;
    border-radius: 3px;
}

.botany-card-body-text {
    font-family: 'GothamBook';
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.continue-button {
    font-family: 'Avenir';
    font-size: 1.5rem;
    color: white;
    background-color: #afb5ac;
    border: 0px;
    padding: 5px 25px 5px 25px;
    border-radius: .5rem;
}
.continue-button:hover {
    transition: background-color 0.3s ease; /* Smooth transition for color */
    cursor: pointer;
    background-color: #1b4234;
}

.phone-frame {
    width: 250px;
    height: 500px;
    border: 15px solid black;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

#phone-screen-1, #phone-screen-2 {
    transition: opacity 1s ease-in-out;
}

.carousel {
    display: flex;
    width: 400%; /* 5 images, each taking 100% */
    height: 100%;
    animation: slide 10s infinite linear;
}

.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-links-container {
    margin-top: -10px;
    column-gap: 15px;
    display: flex;
    justify-content: center;
}

.download-links-container {
    margin-top: 10px;
    column-gap: 15px;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}
.link a, .link a:visited{
    color:#1b4234;
    font-family: 'Gotham';
    text-decoration: none;
}
.copyright p{
    color: #555;
    font-family: 'Gotham-Light';
    font-size: .9rem;
}

.privacy {
    max-width: 800px;
    background-color: rgba(255, 255, 255, 0.65);
    padding: 15px 30px 15px 30px;
    border: 1px solid #aaa;
}
ul {
    margin-bottom: .5rem;
}
ul li {
    margin-left: 30px;
}
h3 {
    margin-bottom: .5rem;
}
p {
    margin-bottom: .25rem;
}
a, a:visited {
    color: #1b4234;
}
a:hover {
    color: #aaa;
}

/* .slider-container {
    width: 405px;
    height: 815px;
    overflow: hidden;
    position: relative;
    border: 2px solid #333;
}

.slider {
    display: flex;
    width: 1200px; 
    position: absolute;
    left: 0;
    transition: transform 0.5s ease-in-out;
}

.slider img {
    width: 405px;
    height: 815px;
} */

@media (max-width: 768px) {

    .main-content {
        display: grid;
        grid-template-columns: 1fr;
    }

    /* .phone-container {
        display: none;
    } */
    .phone-container {
        margin-top: -40px;
        margin-bottom: 20px; 
        align-items: center;
    }

    #phone1 {
        display: none;
    }
    #phone2 {
        display: flex;
    }


    .app-description-container {
        padding-top: 10px;
    }

    /* .features-container {
        display: flex;
        flex-direction: column;
    } */
    
    .feature-card {
        width: 100%;
        display: flex;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.65);
        padding: 25px;
        justify-content: center;
        text-align: center;
        border-radius: 3px;
        margin-bottom: 30px;
        text-align: left;
    }

    .feature-header-line1 {
        font-family: 'GothamLight';
        font-size: 1.25rem;
    }
    .feature-header-line2 {
        font-family: 'TheFloristaSerif';
        font-size: 1.75rem;
    }
    .feature-text p{
        font-family: 'GothamBook';
        font-size: .9rem;
        margin-top: 1rem;
    }

    .botany-card-header {
        width: 85%;
        min-width: 100px;
        font-size: 1.25rem;
    }
}

@media (max-width: 560px) {
    .botany-card-header {
        width: 90%;
        min-width: 0px;
        font-size: 1.25rem;
    }
    .download-links-container {
        flex-wrap: wrap;
    }

    .botany-card-body-text {
        font-family: 'GothamBook';
        font-size: .9rem;
    }
    
    .header {
        display: grid;
        grid-template-columns: 1fr;
        width: 90%;
    }
    .logoImage {
        height: 60px;
        width: 125px;
    }
    .continue-button {
        font-size: 1rem;
    }
}