html, body{
    font-family: "Verdana";
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Container for logo + menu */
.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    position: sticky;
    top: -93px;
    z-index: 1;
  }

.credit-display {
    color: #30343f;
    background-color: white;
    border-radius: 50px;
    padding: 10px;
    height: 20px;
    display: inline-block;
    font-weight: 600;
    vertical-align: middle;
}

.credit-wrapper {
    color: white;
    text-align: center;
    vertical-align: middle;
    margin-bottom: 10px;
}

.search-result {
    color: #30343f;
    font-weight: 600;
}

.result-wrapper {
    text-align: center;
    margin-bottom: 10px;
    color: #30343f;
    background-color: white;
    border-radius: 50px;
    padding: 10px;
    font-weight: 600;
    align-content: center;
}

.separator {
    height: 1px;
    background-color: #ffffff;
}

.separator.green{
    background-color:#498467;
}

.footer-link {
    text-decoration: none;
    font-size: small;
    color: #ffffff;
}

.footer-text {
    color:#498467;
}

.footer {
    margin-top: 0;
    background-color:#30343f;
    padding: 40px;margin-top: 0;
    color: #fff;
    margin-top: 50px;
}

.page-description{
    margin: 50px;
    margin-bottom: 100px;
    justify-self: center;
}

.white-description{
    color: #ffffff;
    text-align: center;
}

.btn-wrapper-inner {
    background-color: #30343F;
    border-radius: 17px;
    border-style: solid;
    border-color: white;
    border-width: 1px;
}

.tiers-inner-wrapper {
    display: flex;
    justify-content: center;
}

@media only screen and (max-width: 1100px) {
    .tiers-inner-wrapper {
        display: grid;
    }
}

.tier-box .tier-inner-wrapper {
    width: auto;
    height: 80%;
    display: grid;
    margin: 30px;
    margin-top: 0px;
    margin-bottom: auto;
    position: relative;
    text-align: center;
}

.tier-inner-wrapper * {
    align-content: center;
}

p.tier-description.main-description {
    font-style: italic;
    font-size: small;
    text-align: center;
    opacity: 0.7;
}

a.buy-btn {
    text-decoration: none;
}

.tier-box a {
    background-color: #e38d27;
    border-radius: 10px;
    margin: 20px;
}

.tier-box h3 {
}

a.h3 {
    background-color: revert-layer;
}

.tiers-wrapper {
    margin: 0;
    display: block;
    justify-content: center;
}

.price-btn {
    display: inline-flex;
    width: 100px;
    padding: 10px;
    border-radius: 15px;
    color: white;
    justify-content: center;
    font-weight: 900;
    margin: 2px;
    cursor: pointer;
}

.price-main, .per-main, .cur-main{
    display: block;
    margin: 3px;
}

.price-second, .per-second, .cur-second{
    display: block;
    font-weight: 100;
    font-size: small;
    opacity: 0.5;
}

.per-second{
    justify-self: left;
}

.price-second{
    justify-self: right;
}

.selected {
    background-color: #498467;
    border-radius: 15px;
}

.price-btn-wrapper {display: flex;justify-content: center;}

.bg {
    position: fixed;
    width: 100vw;    /* full viewport width */
    height: 100vh;   /* full viewport height */
    background-image: url("../images/bg_4kx2k_green.png");
    background-size: cover;       /* cover entire area */
    background-position: center;  /* center the image */
    background-repeat: no-repeat; /* prevent tiling */
    padding-left: 0;              /* remove left padding */
    opacity: 1;                   /* full opacity */
    z-index: -1;
}

.slide-in {
    animation: slide-in 1.5s forwards;
}
  
@keyframes slide-in {
    100% {
        padding-left: 50%;
    }
}

.slide-in-left {
    animation: slide-in-left 1.5s forwards;
}
  
@keyframes slide-in-left {
    100% {
        margin-left: 0%;
    }
}

/* Logo aligned to the left inside the flex container */
.logo {
    justify-self: left;
    z-index: 3;
  }

.title-small {
    color: #498467;
}

span {
    width: auto;
}

form {
    display: grid;
}

.section-title {
    background-color: #ffffff;
    /* width: 500px; */
    margin-left: -20px;
    padding: 20px;
    /* padding-left: 100px; */
    /* position: absolute; */
    /* margin-top: -100px; */
    text-align: center;
    margin-right: -20px;
    margin-top: -0px;
}

input{
    height: 50px;
    margin: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 10px;
    border-style: none;
}

.btn-submit {
    height: 50px;
    /* width: 100%; */
    margin: 10px;
    margin-top: 25px;
    border-radius: 10px;
    background-color: #e38d27;
    color: #ffffff;
    font-weight: bold;
    border-style: none;
}

.package-btn{
    margin-bottom: 50px;
    border-radius: 10px;
    background-color: #e38d27;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    border-style: none;
    padding: 20px;
    display: block;
    width: fit-content;
    text-align: center;
}

.form-wrapper {
    margin-top: 30px;
    background-color: #30343f;
    padding: 20px;
    width: 300px;
    border-radius: 15px;
    display: inline-block;
    vertical-align: bottom;
}

.form-tip{
    display: inline-block;
    margin-left: 50px;
    width: 300px; 
    vertical-align: middle;
}

.nav-item{
    padding: 20px;
    margin: 2px;
    text-align: center;
}

.nav-item.small{
    font-size: small;
    padding: 20px;
    color: #498467;
}

.nav-item.selected{
    background-color: #4984677a;
    border-radius: 15px;
}

.menu{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    gap: 20px;

    width: 100%;
    height: 200px;
    position: relative;
    left: -100px;
    z-index: 3;
}

.menu-toggle {
    display: none;
}

.is-sticky .btn-wrapper-inner{
    align-items: center;
    justify-content: center;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.title1 {
    width: 100%;
    /*height: 200px;
    /*display: flex;
    align-items: center;
    justify-content: center;*/
    font-size: 20px;
    color: #498467;
}

.title1 h1{
    margin-bottom: 10px;
}

.main-content {
    width: 80%;
    margin: auto;
    padding: 40px;
    padding-top: 0;
    padding-bottom: 0;
}

.main-content-wrapper {
    flex: 1;
    width: 100%;
    background-color: #ffffff00;
}

.data-submission-form{
    width: 100%;
}

.rating-form{
    /*width: 100%;*/
}

.tier-list{
    width: 100%;
}

.tier-box{
    display: inline-block;
    width: 20%;
    min-width: 310px;
    background-color: #30343F;
    /* outline: solid; */
    /* outline-width: 1px; */
    /* outline-color: #ffffff;*/
    margin: 20px;
    border-radius: 20px;
}

button{
    background: none;
    border: none;
}

@media only screen and (max-width: 1100px) {
    .tier-box{
        display: inline-block;
        width: auto;
        min-width: 310px;
        max-width: 500px;
        background-color: #30343F;
        outline: solid;
        outline-width: 1px;
        outline-color: #ffffff;
        margin: 20px;
        border-radius: 20px;
    }
}

.tier-box *{
    align-items: center;
    justify-content: center;
    color: white;
}

h3.tier-title {
    color: #498467;
    background-color: white;
    font-size: x-large;
    padding: 20px;
    text-align: center;
}

a.buy-button h3 {
    background-color: #ffffff00;
    text-decoration: none;
}

.tier-box h4 {
    display: flex;
}

.tier-box p {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border-top: solid;
    border-width: 1px;
    border-color: #498467;
    padding-top: 30px;
}

.menu a{
    text-decoration: none;
    color: #ffffff;
    display: inline-block;
}

#login_buttons{
    display: block;
    width: fit-content;
    justify-self: center;
}

.price-tag.hidden {
    display: none;
}

.home-section .title-small {
    display: inline-block;
    vertical-align: middle;
    margin: 100px;
    width: 100px;
}
.home-section .p-group {
    display: inline-block;
    vertical-align: middle;
    max-width: 600px;
}

.home-section{
}

select {
    height: 50px;
    margin: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 10px;
    border-style: none;
}

.sign-up-prompt{
    text-align: center;
    color: grey;
}

.sign-up-prompt a{
    text-decoration: none;
    color: white;
}

/* Your original CSS above... */

/* Responsive adjustments */
@media only screen and (max-width: 1439px) and (min-width: 769px){
    .menu{
        margin-right: -15%;
        font-size: x-small;
        height: auto;
        left: initial;
        display: block;
    }

    .logo{
        margin: -30%;
        position: relative;
        left: -90px;
    }

    .header-wrapper{
        justify-content: flex-end;
        padding-top: 20px;
        margin-bottom: 20px;
        padding-bottom: 0;
        top: -20px;
        background-color: white;
    }

    .btn-wrapper-inner{
        float: right;
    }

    .form-wrapper{
        width: 45%;
        padding: 2%;
    }

    .main-content{
        padding: 0;
    }

    .nav-item{
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .home-section .title-small{
        display: block;
        margin: 10px;
    }
}

@media only screen and (max-width: 1100px) {

    .home-section .title-small{
        display: block;
        margin: 10px;
    }
    .tiers-inner-wrapper {
        display: grid;
    }
    .tier-box {
        display: inline-block;
        width: auto;
        min-width: 310px;
        max-width: 500px;
        background-color: #30343F;
        outline: solid;
        outline-width: 1px;
        outline-color: #ffffff;
        margin: 20px auto; /* center horizontally */
        border-radius: 20px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px; /* slightly smaller font */
    }

    .footer {
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
    }

    .credit-wrapper {
        margin-bottom: 15px;
    }

    .form-wrapper, .form-tip {
        display: block;
        width: 90%;
        margin: 10px auto;
    }

    .header-wrapper {
        flex-direction: row;
        align-items: center;
        padding: 0;
        padding-top: 10%;
        padding-bottom: 5%;
        position: sticky;
        top: 0px;
        background-color: white;
    }
    
    .logo {
        margin-right: 0;
        margin-bottom: -30%;
        margin-top: -30%;
        height: 200px;
    }
    
    .menu {
        justify-content: flex-end;
        padding-right: 20px;
        height: 100%;
        position: static;
    }

    .menu-toggle {
        display: block;
    }

    .btn-wrapper-inner {
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        background-color: #30343f;
        flex-direction: column;
        display: none;
    }

    .btn-wrapper-inner.active {
        display: flex;
        height: 1000%;
    }

    .nav-item {
        padding: 10px;
        margin: 5px 0;
        font-size: 14px;
    }

    .title1 {
        font-size: 18px;
        margin: 10px 0;
    }

    .main-content {
        width: 85%;
    }

    .tier-box {
        width: 90%;
        min-width: unset;
        margin: 10px auto;
    }

    input, select {
        box-sizing: border-box;
    }

    .btn-submit, .package-btn {
        padding: 15px 0;
        font-size: 16px;
    }

    .price-btn {
        width: 80px;
        padding: 8px;
        font-size: 14px;
    }

    .price-btn-wrapper {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .bg {
        padding-left: 0;
        background-position: center;
        background-size: cover;
        opacity: 0.3;
    }
    @keyframes slide-in {
        100% {
            padding-left: 0%;
        }
    }
}

@media (max-width: 480px) {
    .title1 {
        font-size: 16px;
    }

    .footer {
        padding: 20px 10px;
    }

    .form-wrapper {
        margin-top: 15px;
    }

    .form-tip {
        margin-left: 0;
        width: 100%;
        margin-top: 10px;
    }

    .tier-box {
        width: 100%;
        margin: 10px 0;
    }

    .price-btn {
        width: 70px;
        font-size: 12px;
        padding: 6px;
    }
}

