/*
 Theme Name:   The Moon Apartments
 Theme URI:    http://childtheme-generator.com/
 Description:  The Moon Apartments Theme
 Author:       Brindle Digital
 Author URI:   https://brindledigital.com/
 GitHub Theme URI: https://github.com/BrindleDigital/brindle-azure
 GitHub Branch:    master
 Version:      1.0
 Template:       generatepress
 Date:            01-06-2026
 Requires at least: 5.0
 Tested up to: 5.7
 Requires PHP: 7.0
 License: GPL-2.0-or-later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:     the-moon
*/




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



/* Scroll area */
.hero{
    position:relative;
    height:400vh;
    /* Static background */   
}

/* Sticky scene */
.scene{
    position:sticky;
    top:0;
    height:100vh;
    overflow:hidden;
}
.scene::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 180px;

    background: linear-gradient(
        0deg,
        #09090B 0%,
        rgba(9, 9, 11, 0.8) 50%,
        rgba(9, 9, 11, 0) 100%
    );

    pointer-events: none;
    z-index: 25;
}
/* Logo */
.logo{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    z-index:10;
}
/* Moon */
.moon{
    height:auto;
    max-width:none;
    position:absolute;
    bottom:-30%;
    left:50%;
    transform:translateX(-50%);
    z-index:9;
}
/* Building */
.building{
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    opacity:0;
    z-index:10;
    height:auto;
    max-width:none;    
    width: 100%;
}
/* Form */
.form-box{
    position:absolute;
    right:80px;      /* fixed on right side */
    bottom:120px;     /* final position */
    max-width:496px;
    padding:25px;    
    opacity:0;
    z-index:20;
    border-radius: 16px;
    border: 3px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.70);
    box-shadow: 0 24px 50px 0 rgba(0, 0, 0, 0.80), 0 1px 1px 1px rgba(255, 255, 255, 0.10) inset;
    backdrop-filter: blur(12px);
    color: #fff;
}
.form-info-outer{
    text-align: center;
    padding-bottom: 15px;
}
.form-box h2{
    margin-bottom:0px;
    color: #FFF;
    text-align: center;
    font-family: Lato;
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: 40px; /* 133.333% */
    letter-spacing: 0.6px;
}
.form-box .head-italic{
    margin-bottom:10px;
    color: #FFF;
    font-family: "Playfair Display";
    font-size: 36px;
    font-style: italic;
    font-weight: 600;
    line-height: 40px;
    letter-spacing: 0.6px;
}
.form-info-outer p{
    margin-bottom: 1.2em;
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 19.5px; /* 139.286% */
}
.gform-theme--foundation .gform_fields {
  gap: 12px !important;
}
.gform_wrapper .ginput_container input,
.gform_wrapper .ginput_container textarea, .gform_wrapper .ginput_container select {       
        height:40px !important;
        font-size:12px !important;
        padding: 10px !important;
        border-radius: 8px !important;
        border: 1px solid rgba(127, 127, 127, 0.80) !important;
        background: rgba(9, 9, 11, 0.60) !important;
		text-align:left;
		color:white !important;
}
.gform_wrapper .gform-field-label {  

        color: #FFF !important;
        font-family: Inter;
        font-size: 12px !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: 18px !important; /* 150% */
        letter-spacing: 1px !important;
        text-transform: uppercase !important;
}
.gform-theme--framework .field_sublabel_above .gform-field-label--type-sub{
    text-align: left !important;
}
.gfield_required{
        display:none !important;
}
.gform_wrapper .gform_footer{
        justify-content:flex-start;
}
.gform_wrapper .gform_footer input[type=submit] {
        cursor: pointer!important;
        border-radius: 8px !important;
        border: 1px solid #FFF !important;
        background: #FFF !important;
        box-shadow: 0 4px 24px 0 rgba(255, 255, 255, 0.15) !important;
        color: #09090B !important;
        text-align: center !important;
        font-family: Inter !important;
        font-size: 12px !important;
        font-style: normal !important;
        font-weight: 700 !important;
        line-height: 16px !important; /* 133.333% */
        letter-spacing: 2.4px !important;
        text-transform: uppercase !important;
        width: 100% !important;
        height: 80px;
}

.gform_wrapper .gform_footer input[type=submit]:hover {

}
.gform_confirmation_message{
	padding-bottom:40px;
}
.footer-left,
.footer-right{
    position:absolute;
    bottom:20px;    
    z-index:30;
    opacity:0;
    color: #BABABA;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 133.333% */
}
.footer-left{
    left:30px;
}
.footer-right{
    right: 30px;
    display:flex;
    align-items:center;
}
.footer-right ul{
    list-style:none;
    display:flex;
    gap:20px;
    margin:0;
    padding:0;
}
.footer-right li{
    display:inline-block;
}
.footer-right a{
    color:#BABABA;
    text-decoration:none;
    opacity:0.9;
    transition:0.3s ease;
}
.footer-right a:hover{
    opacity:1;
    text-decoration:underline;
}
.site-footer p, .site-footer ul{
    margin-bottom: 0px;
}
.site-footer ul{
    list-style: none;
}
@media (max-width: 768px){
    .hero{
        background-position:center center;
        background-size:cover;
    }
    /* Logo */
    .logo{
        width:320px;
        max-width:80vw;
    }
    .logo img{
        width:100%;
        height:auto;
    }
    /* Moon */
    .moon{
        width:90vw;
        max-width:500px;
        bottom:-15%;
    }
    /* Building */
    .building{
        width:280%;
        bottom:0px; /* move building upward */
        z-index: 10;
    }
    /* Form */
    .form-box{
        left:15px;
        right:15px;
        bottom:100px;
        z-index:20;
        max-width:none;
        width:auto;

        padding:20px;
    }    
    .form-box h2{
        font-size:18px;
        line-height: 15px;
    }
    .form-box .head-italic{
        font-size:22px;
        line-height: 30px;
    }
    .form-info-outer p {
       font-size: 12px;
    }
    .gform_wrapper .ginput_container input,.gform_wrapper .ginput_container textarea, .gform_wrapper .ginput_container select {       
        height:30px !important;
    }
    .gform-theme--foundation .gfield textarea.small {
      min-block-size: 4rem !important;
    }
    /* Footer */
    .footer-left,
    .footer-right{
        font-size:12px;
    }
    .footer-left{
        left:0;
        width:100%;
        text-align:center;
        bottom:20px;
    }
    .footer-right{
        left:0;
        right:0;
        width:100%;
        justify-content:center;
        bottom:15px;
    }
    .footer-right ul{
        gap:15px;
    }
}