/* google font import */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&family=Tomorrow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* CSS Variable */
:root {
    --primary-font: "Tomorrow", sans-serif;
    --secondary-font: "Space Grotesk", sans-serif;
    --primary-color: #3a5a40;
    --secondary-color: #dad7cd;
    --tetiary-color: #a3b18a;
}

/* Global styles */
body {
    padding-top: 56px;
    background-color: var(--secondary-color);
}

h1,
h2,
h3 {
    font-family: var(--primary-font);
    text-align: center;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: bolder;
}

p {
    font-family: var(--secondary-font);
    font-weight: bold;
    text-align: center;
    /* Change to desired color */
    color: var(--primary-color);
    /* Adjust font size as needed */
    font-size: 16px;
    /* Adjust line height as needed */
    line-height: 1.5;    
}

.section {
    /* to provide padding above selected section */
    padding-top: 7rem;
}

label {
    color: var(--primary-color);
    font-weight: bold;
}

strong {
    font-size: larger;
}

.hide {
    display: none;
}

.links,
.tab {
    color: var(--primary-color);
    font-weight: bold;
    overflow-x: auto;
    white-space: nowrap;
    display: inline-block;
     /* Adjust the padding as needed */
    padding: 0 10px;
    font-size: large;
    font-family: var(--primary-font);
}

.links:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: underline;
    transition: color 0.3s ease-in-out;
    -webkit-transition: color 0.3s ease-in-out;
    -o-transition: color 0.3s ease-in-out;
}

.links.active,
.tab.active {
    color: var(--primary-color);
    /* Change this to your desired active color */
    background-color: var(--tetiary-color);
    /* Optional: Change background color for active link */
}

/* TABS */
.tab {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 17px;
    flex-wrap: nowrap;
    display: inline-block;
    /* Adjust the padding as needed */
    padding: 0 15px;
    
}

.tab:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* opaque back */
.bg-opacity {
    background-color: rgba(163, 177, 138, 0.5);
}

/* NAVBAR */
.navbar {
    min-height: 10vh;
}

/* HERO IMAGE */
img {
    display: block;
    margin: 0 auto;
}

/* Buttons */

.custom-button {
    border: 2px solid var(--primary-color);
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    font-family: var(--primary-font);
    font-weight: bold;
}

.custom-button:hover {
    border: 2px solid var(--tetiary-color);
    background-color: var(--tetiary-color);
    color: var(--primary-color);
    font-weight: bold;
}

/* OVERFLOW BOX connected to tabs*/

.overflow-box {
    height: 200px;
    border: 0.1px solid gray;
    /* enables scrolling */
    overflow: auto;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
}

/* CARDS */

.card {
    background-color: var(--tetiary-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    padding: 10px;
    margin: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.card-title,
.card-text {
    font-weight: bold;
    text-align: center;
}

/* back to top button */
#backToTop {
    position: fixed;
    bottom: 90px;
    right: 35px;
    display: none;
    color: var(--primary-color);
    background-color: transparent;
    border: none;
    padding: 0px 0px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 70px;
    transition: opacity 0.3s ease-in-out;
}

#backToTop:hover {
    color: var(--tetiary-color);
}

/* FOOTER */
footer {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-align: center;
    padding: 1rem;
}
.social-icon {
    font-size: 2rem;
}

/* CONFIRMATION ICON */
#confirmation i {
    font-size: 10rem;
    color: var(--primary-color);
}

/* MEDIA QUERY */

/* SMALL DEVICES (mobile phones) */
@media screen and (max-width: 576px) {
    img {
        width: 80vw;
    }

    #backToTop {
        bottom: 40px;
        right: 20px;
    }
}

/* MEDIUM DEVICES (tablets) */
@media screen and (min-width: 768px) {
    img {
        width: 43vw;
    }

    p {
        font-size: 17px;
    }

    .lead {
        font-size: 36px;
    }

    .card-text{
        min-height: 66px;
    }
}

/* LARGE DEVICES (small laptops) */
@media screen and (min-width: 992px) {
    img {
        width: 48vw;
    }
}

/* XL DEVICES (laptops) */
@media screen and (min-width: 1200px) {
    img {
        width: auto;
        max-height: 75vh;
    }

    h1 {
        font-size: 6.5rem;
    }

    h2 {
        font-size: 4.5rem;
    }

    .tab {
        font-size: 22px;
    }

    .lead {
        font-size: 40px;
    }

    p {
        font-size: 20px;
    }
}