@charset utf-8;
/*
Theme Name: MABF
Author: Code by Ricardo Juárez	
Author URI: http://rjvv.com/
Version: 1.0
License: GNU/GPL Version 2 or later. http://www.gnu.org/licenses/gpl.html
Copyright: (c) 2024 Ricardo Juárez
*/

  *{
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
     -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;

}
.tcenter{
	text-align: center;
}

::selection {
	background: var(--accent2);
	color:var(--primary);
}
::-moz-selection {
	background: var(--accent2);
	color:var(--primary);	}


     :root{
	     --placeholder: var(--primary);
	     --form: 10vw;
	     --body:4vw;
	     --serif: 'Times New Roman MT Std', "Times", serif;
	     --dis: 'Formula Condensed', "Impact", sans-serif;
/* --accent: #025ABC; */
--accent: #D37082;
/* --primary:#F0F0F3; */
--primary:rgba(174, 174, 192, 0.5);
--accent2:#F0F0F3;

--red: #fb0359;
--white:#F0F0F3;
--black:#1E1E1E;

--yellow:#FAFF3B;
--blue:#6BD3FF;
--purple:#EC80FF;

--shadow: -3px -3px 10px rgba(0, 0, 0, 0.1), 
    5px 5px 15px rgba(0, 0, 0, 0.1);
    
    
    --lsform: 0;
    --lineform: 100%;  
  --ls: -0.03em;
 --line: 96%;
     }
     
     .chinese {
    font-family: "Songti SC", "SimSun", "PMingLiU", "Microsoft YaHei", STSong, serif;
}
     
     iframe{
	     width: 70%;
	     border-radius: 20px;
	     overflow: hidden;
	     margin: 10px auto 20px !important;
	     display: block;
     }
     
     
     .big{
	     font-family: var(--dis);
	     font-size: var(--form);
	     font-weight: bold;
	     line-height: 95%;
     }
     
     
     h1, h2, h3, h4, h5{
         font-size: var(--body);
     }
  
.section a {
    background: linear-gradient(var(--txt), var(--txt)) no-repeat 0 100%;
    background-size: 100% 1px;
    box-decoration-break: clone;
    padding-bottom: 2px; /* Adjust for spacing */
background-position-y: 85%;
}
     
        body {
      background: var(--white);   
      color: var(--black);
         font-family: var(--serif);
         font-size: var(--body);
         line-height: var(--line);
         letter-spacing: var(--ls);
               }

     .input-wrapper{
line-height: inherit;
	     
     }
     .button-wrapper{
	     opacity: 0;
margin: 0 10px 17px 0;
line-height: inherit;
	     cursor: pointer;
     }
     




     
     .button-wrapper, .auto-width-input {
    padding: 30px 0; /* Same padding */
    font-size: var(--form); /* Same font size */
    font-family: var(--dis); /* Same font */
    font-weight: bold;
    line-height: inherit; /* Consistent line-height */
    height: auto; /* Ensure height is defined by content */
    display: inline-block; /* Ensure consistency */
    border-radius: 20px; /* Matching rounded corners */
    max-width: calc(100vw - 20px);
}

.section{
	padding-bottom: 10px;
}


.section img{
	            border-radius: 20px;
	            overflow: hidden;
height: 70vh;
margin: 0px auto 10px;
width: auto;
max-width: 80vw;
}

         .input-wrapper {
            display: inline-block;
            position: relative;
            padding: 0px;
            overflow: hidden;

            border-radius: 20px;
background: var(--primary);
/* box-shadow: -5px -5px 30px 5px #FFF, 5px 5px 30px 5px rgba(174, 174, 192, 0.40); */
box-shadow:  var(--shadow);
        }

        .auto-width-input {
      	        color: var(--black);
      border: none;
            padding: 30px 0;
            width: auto;
            min-width: 1ch;
            background: var(--white);
            outline: none;
            margin-left: -5px;
            transition: all 0.3s ease;
        }
        


        .input-mirror 
        {
        font-family: var(--dis);
        font-weight: bold;
    position: absolute;
            top: 0;
            left: 0;
            visibility: hidden;
            white-space: pre;
  font-size:  var(--form);
            padding: 0px;
            letter-spacing: var(--lsform);
            line-height: var(--lineform);
        }

        .button-wrapper {
	        margin: 0px auto;
	        box-shadow:   var(--shadow);
            position: relative;
            width: fit-content;
            padding: 0px; /* Adds padding to hide text partially */
            border-radius: 20px;
            background-color: var(--white);
            overflow: hidden;
            vertical-align: bottom;
            color: var(--white);
            appearance: none;
            border: none;
            outline: none;
            display: inline-block;
            transition: width 0.3s ease;
        }

 
	        
        .button-text {
white-space: nowrap;
transition: all 0.3s ease;
font-family: var(--dis);
font-weight: bold;
  font-size:  var(--form);
            letter-spacing: var(--lsform);
            line-height: var(--lineform);
  font-weight: bold;
            color: var(--black);
  padding: 30px 0px;
  display: inline-block;
  margin-left: -5px;
        }
       
        input:focus, input:active{
	        margin-left: 0;
	        padding: 30px 10px;
        }
        
        input{
	          font-size: var(--form);
font-family: var(--dis);
font-weight: bold;

        }
        .hover-cont {
    position: relative;
}

header .button-wrapper{
	margin: 0px;
}
header{
	gap:10px;
	position: fixed;
	display: flex;
	bottom: 10px;
	z-index: 99999;
	width: 100vw;
	justify-content: center;
}
     
        .input-block{
	        margin: 0 10px 10px 0;
	        display: inline-block;
	        position: relative;
        }
        
        .error-field{
	        background: var(--accent);
	        color: var(--white) !important;
        }
        
.label {
		font-family: var(--serif);

    background: var(--accent2);
    color: var(--black);
    box-shadow:  var(--shadow);
    color: var(--black);
    position: relative;
    max-width: 100%;
    top: -5px;
    left: -5px;
    font-size: 2vw;
    letter-spacing: -0.03em;
    z-index: 999;
    padding: 2px 6px;
    line-height: 1.2;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone; /* Ensure support on Safari */
}

h1, .section *{
	opacity: 0;
}

.section-content p{
	width: 100vw;
	}
.section-content{
	width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center; 
}
.section{
	overflow: hidden;
	background: var(--bg);
	color: var(--txt);
}

sup{
	position: absolute;
}

h2, h3{
	text-align: center;
	margin: 0px auto !important;
}
      
      .logos{
	      display: flex;
	      flex-wrap:wrap;
	      gap:20px;
	      justify-content: center;
	      align-items: center;
      }
      .logo img{
	      max-width: 160px;
	      max-height: 60px;
	      height: auto;
	      width: auto;
      }
      
      
      .logo:nth-of-type(1) img, .logo:nth-of-type(2) img{
	      max-width: 250px;
      }
 .logo:nth-of-type(5) img{
	      max-height: 45px;
      }
      
     .small, .section h5{
	     	width: 100vw;
	      font-size: 2.5vw;
	      letter-spacing: -0.03em;
	      line-height: 96%;
      }
      
      .hover-media {
    user-select: none;
    pointer-events: none;
    opacity: 0;
    z-index: 9999;
    height: auto;
    position: fixed;
    transition: opacity 0.4s ease, transform 0.1s ease;
}   
  
        ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: var(--placeholder);
}
::-moz-placeholder { /* Firefox 19+ */
  color: var(--placeholder);
}
:-ms-input-placeholder { /* IE 10+ */
  color: var(--placeholder);
}
:-moz-placeholder { /* Firefox 18- */
  color: var(--placeholder);
}

.error-field::placeholder { 
  color: var(--black);
  opacity: 1; /* Ensure the color is fully visible */
}

/* Browser-specific placeholder fixes */
.error-field::-webkit-input-placeholder { 
  color: var(--white);
}
.error-field::-moz-placeholder { 
  color: var(--white);
}
.error-field:-ms-input-placeholder { /* IE 10+ */
  color: var(--white);
}
.error-field::-ms-input-placeholder { /* Edge */
  color: var(--white);
}


p{
	margin-top: 0;
	margin-bottom: 20px;
}

#thankyou {
	display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 99999;
    background-color: var(--white);
    top: 0;
    left: 0;
    font-family: var(--dis);
    font-weight: bold;
    font-size: var(--form);
    padding: 10px;
}

#thankyou.show {
    opacity: 1;
}

.checkbox {
    display: none; /* Hide checkboxes initially */
    position: relative;
margin: 0 10px 10px 0;
}

.dynamic-label {
	font-family: var(--dis);
	    font-weight: bold;
cursor: pointer;
    padding: 30px 0px;
    background: rgba(174, 174, 192, 0.1);
    box-shadow:  var(--shadow);
                    color: var(--primary);
    overflow: hidden;
    border-radius: 200px;
    cursor: pointer;
    text-align: center;
    opacity: 0;
    visibility: hidden;
}

.dynamic-label.show {
    opacity: 1;
    display: inline-block;
    visibility: visible;
}
#closeButton{
width: calc(100% - 10px);background-color: var(--white);
position: sticky;
top:0;
text-align: center;
color: var(--black);
}
#closeButton .button-text{
color: var(--black);
	
}

input[type="checkbox"] {
    opacity: 0;
    position: absolute;}

/* Selected Checkbox Style */
input[type="checkbox"]:checked + label {
    color: var(--black);
    background: var(--white);

    }
.auto-width-input.open-children.has-selection {
    color: var(--black);
}

.auto-width-input.open-children{
	color: var(--primary);
}
/* Active Open-Children */
.open-children.active {
    background: var(--white);
    color: var(--black);
}

.open-children{
	cursor: pointer;
	    user-select: none;
	white-space: nowrap;
}
#error-messages{
	display: flex;
	flex-direction: column;
	padding: 10px;
	bottom: 0;
	width: calc(100% - 20px);
	left: 0;
	
}
.error-message{
	color: var(--accent);
	font-family: var(--dis);
	font-weight: bold;
	font-size: var(--form);
}

#info{
	position: fixed;
  top: 0;
  left: 0;
  padding: 0;
  box-shadow: var(--shadow);
  font-size: 36px;
  background: var(--white);
  width: 0;
  overflow: hidden;
  transition: all 0.6s ease;
  max-width: 700px;
  z-index: 99999999;
}
#info .cont{
  height: 100vh;
    padding: 10px;
	  overflow: auto;
}

#info.appear{
  width: 50vw;
	
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
    background-color: transparent !important;
    transition: background-color 5000s ease-in-out 0s;
}

/*
.button-wrapper, .input-block, .fader{
opacity: 0;
}
*/

footer a{
background: linear-gradient(black, black) no-repeat 0 100%;
  background-size: 100% 1px;
  box-decoration-break: clone;
  padding-bottom: 2px;
  background-position-y: 85%;}

footer{
	background-color: var(--white);
}

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

.button-text {
  padding: 20px 0px;
  }
.label {
    opacity: 0;
    position: absolute;
    display: inline-block;
    max-width: 100%;
    margin-bottom: 10px;
    white-space: nowrap;
        overflow: hidden;
position: fixed;
bottom: 0;
left: 0;
top: auto !important;
}

.inner-label {
    display: inline-block;
    white-space: nowrap;
    position: relative;
    max-width: 100%;
    will-change: transform;
}

.inner-label.marquee {
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

    
    #info.appear{
width: 100%;
}

}

.dancebut{
	background: #F25574 !important;
	}
.dancebut .button-text{
color: #EC80FF !important;}


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

.desktop-flex{
	display: flex;
}
}

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


	
#info .cont{
  padding-bottom: 100px;	
}
#info{
  font-size: 24px;
  }
     :root{
	     --form: 12vw !important;
	     --body:9vw !important;

}
 .small, .section h5{
	      font-size: 6vw !important;
      }
      
      

        
}

