* {
    padding: 0;
    margin: 0;
}

@font-face {
    font-family: 'Cinzel Decorative';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/cinzel-decorative-v19-latin-regular.woff2') format('woff2');
}



@font-face {
    font-display: swap;
    font-family: 'Fleur De Leah';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/fleur-de-leah-v11-latin-regular.woff2') format('woff2');
}


#bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

#background {

    margin-top: 75px;
    margin-bottom: 0px;
    margin-left: 20px;
    margin-right: 20px;
    background-color: #ffffffcc;
    min-height: calc(100vh - 75px);
    padding-top: 0px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 20px;
}

#contactbackground {

    margin-top: 75px;
    margin-bottom: 0px;
    margin-left: 20px;
    margin-right: 20px;
    background-color: #ffffffcc;
    min-height: calc(100vh - 75px - 45px);
    padding-top: 0px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 20px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    height: 75px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffffea;
    z-index: 1000;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#logo {
    padding-left: 10px;
    font-family: "Cinzel Decorative", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 40px;
}

.humberger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    padding-right: 10px;
    padding: 14px 10px;
    cursor: pointer;
}

.humberger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #000000;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.humberger.active span:nth-child(1) {
    transform: translateY(9px) rotate(405deg);
}

.humberger.active span:nth-child(2) {
    opacity: 0;
}

.humberger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(315deg);
}

.nav {
    position: fixed;
    top: 75px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 75px);
    background-color: #ffffff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding-top: 75px;


    transition: right 0.4s ease;
}

.nav.active {
    right: 0;
}

.nav ul {
    list-style: none;
    padding: 0 30px;
}

.nav li {
    margin-bottom: 10px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: bold;
}


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff00;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 998;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
    overflow: hidden;
}

.error-message {
    padding: 10px 0;
}

#contactbutton {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: fit-content;
    min-width: 50px;
    min-height: 20px;

    padding: 15px 15px;
    border: 1px #000000 solid;
    border-radius: 5px;
    cursor: pointer;
    background-color: #a7a7a788;
    text-decoration: none;
    color: black;
}

#contactmessage {
    padding-top: 20px;
    padding-bottom: 20px;
}

#contactmessage h2 {
    text-align: center;
}

main {
    padding-top: 10px;
    display: flex;

    flex-direction: column;
}

.priceMenu {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;

}

.priceitem {
    width: 90%;
    height: 200px;
    padding: 20px 10px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    background-color: #ffffffbb;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.priceitem:hover {
    transform: scale(1.1);
    box-shadow: 0 0 7px rgba(0, 0, 0, 0);

}

.priceitem strong {
    font-family: 'Fleur De Leah';
    font-size: 20px;
}



.priceitem h2 {
    padding-bottom: 20px;
}

.pricep {
    margin-top: auto;

}

.p-item {
    color: #ff0000;
    font-weight: bold;
}

#p-name {
    display: none;
}

#p-gender {
    display: none;
}

#p-birth {
    display: none;
}
#p-birthtf{
    display: none;
}

#p-mail {
    display: none;
}

#p-phone {
    display: none;
}

#p-plan {
    display: none;
}

#labelname {
    width: 8em;
    text-align: justify;
}

#name {
    font-size: 16px;
    padding: 2px 5px;
}

#fname {
    font-size: 16px;
    padding: 2px 5px;
}

.namediv{
    padding-bottom: 5px;
}

.gender {
    padding-top: 5px;
    font-size: 20px;
    font-weight: bold;
}

#mail {
    margin-top: 5px;
    font-size: 16px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 2px;
    width: 90%;
}

.birth-selects{
    padding-top: 5px;
    
}

#birth_year{
    
    width: 75px;
    height: 30px;
}
#birth_month{
    width: 50px;
    height: 30px;
}
#birth_day{
    width: 50px;
    height: 30px;
}

#phone {
    margin-top: 5px;
    font-size: 16px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 2px;
    width: 90%;
}
#plan{
    width: 150px;
    height: 30px;
    
}

.brVisi {

    margin-bottom: 100px;
}


#contactsubmit {
    -webkit-appearance: none;
    appearance: none;

    background-color: #acacac99;
    padding: 10px 10px;
    border: #000000 1px solid;
    color: #000000;
}


.contactitem {
    font-size: 20px;
    font-weight: bold;

}

.contactbox {
    height: 20px;
}

footer {
    width: 100%;
    height: 40px;
    background-color: #ffffffea;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 5px;
}




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

    .priceitem h2 {
        font-size: 25px;
        font-weight: 900
    }

    .priceitem p {
        font-weight: bold;
    }
}

@media screen and (min-width: 745px) {
    .sp-only {
        display: none;
    }

    .humberger {
        display: none !important;
    }


    .overlay {
        display: none !important;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 20px;
        width: auto;
        height: 75px;
        background-color: transparent;
        box-shadow: none;
        padding-top: 0;
        z-index: 1001;
        display: flex;
        align-items: center;
    }

    .nav ul {
        display: flex;
        gap: 25px;
        padding: 0;
    }

    .nav li {
        margin-bottom: 0;
    }

    .nav a {

        font-size: 15px;
        font-weight: bold;
        transition: color 0.3s ease;
    }

    .priceitem strong {
        font-weight: 200;
    }

    .brVisi {
        display: none;
    }

    #mail {
        width: 150px;

    }

    #phone {
        width: 150px;
    }

    


}



@media screen and (min-width: 1025px) {

    #logo {
        font-size: 46px;
    }

    .priceMenu {
        padding: 20px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 10%;

    }

    .priceitem {
        width: 300px;
        height: 200px;

    }

}