@charset "utf-8";
/* CSS Document */
    @font-face {
      font-family: 'bubbles'; /* Choose a descriptive name for your font */
      src: url('https://limites.mx/fonts/BubbleLetters-2rD8.ttf') format('truetype'); /* Adjust the path to your .ttf file */
    }
* {box-sizing: border-box; outline: none;}
img { border: 0; }

a {
  transition: color .4s;
  color: #fff;
  text-decoration: none;
  font-size: 1.3em;
}
a:link,
a:visited { color: #fff; }
a:hover   { color: #D2C1B6; }

html {
    font-family: 'Open Sans Condensed', sans-serif;
}

#container {
	background-color:#000;
	height: 100%;
	width: 100%;
	position: fixed;
	left: 0px;
	top: 0px;
	overflow: hidden;
	background:  url(/images/main1.jpg) no-repeat;
  /* Ensure full coverage and centering by default for all screen sizes */
  background-size: cover;
  background-position: center center;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:  10px 50px 30px 3%;
    width:100%;
    position:fixed;
    top:0;
    left:0;
}
#logo {
    font-family: logo;
    font-size: 4em;
    color: #fff;
    font-family: 'bubbles', serif!important;
}
#main-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

#main-menu ul li {
    margin-left: 20px;
}

#main-menu ul li:first-child {
    margin-left: 0;
}


footer {
	width:100%;
	position:fixed;
	bottom:0;
	left:0;
	padding: 15px 2%;
    color: #FFFFFF;
    text-align: right;
}

footer p {
    display: inline-block;
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    font-size: .8em;
}

footer a {
    font-size: .8em;
}

/* For mobile phones: */
[class*="col-"] {
    width: 100%;
}

@media only screen and (min-width: 600px) {
    /* For tablets: */
    .col-m-1 {width: 8.33%;}
    .col-m-2 {width: 16.66%;}
    .col-m-3 {width: 25%;}
    .col-m-4 {width: 33.33%;}
    .col-m-5 {width: 41.66%;}
    .col-m-6 {width: 50%;}
    .col-m-7 {width: 58.33%;}
    .col-m-8 {width: 66.66%;}
    .col-m-9 {width: 75%;}
    .col-m-10 {width: 83.33%;}
    .col-m-11 {width: 91.66%;}
    .col-m-12 {width: 100%;}
	
	#logo {
	font-family: logo;
	font-size: 3.5em;
	color: #fff;
}
}
@media only screen and (min-width: 768px) {
    /* For desktop: */
    .col-1 {width: 8.33%;}
    .col-2 {width: 16.66%;}
    .col-3 {width: 25%;}
    .col-4 {width: 33.33%;}
    .col-5 {width: 41.66%;}
    .col-6 {width: 50%;}
    .col-7 {width: 58.33%;}
    .col-8 {width: 66.66%;}
    .col-9 {width: 75%;}
    .col-10 {width: 83.33%;}
    .col-11 {width: 91.66%;}
    .col-12 {width: 100%;}
	
		#logo {
	font-family: logo;
	font-size: 4em;
	color: #fff;}
}

/* Responsive background for mobile and tablets */
@media only screen and (max-width: 767px) {
    #container {
        /* background-size: 600% auto; */ /* Removed - now handled by base style 'cover' */
        /* background-position: 25% center; */ /* Removed - now handled by base style 'center center' and JS if pannable */
    }

    header {
        /* Revert to row and adjust padding for mobile, ensure it's at the top */
        flex-direction: row;
        justify-content: center; /* Center the logo horizontally */
        padding: 10px 15px;
        top: 0;
        transform: none; /* Override previous transform if any */
        /* width: 100%; */ /* Already set by default */
        /* position: fixed; */ /* Already set by default */
        /* left: 0; */ /* Already set by default */
    }

    #logo {
        margin-bottom: 0; /* Remove bottom margin from stacked layout */
    }

    #main-menu ul {
        /* Make menu a fixed, centered overlay */
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        flex-direction: column; /* Stack menu items vertically */
        align-items: center;    /* Center items horizontally */
        background-color: rgba(30, 30, 30, 0.5); /* Dark, semi-opaque background */
        padding: 30px;
        border-radius: 8px;
        z-index: 1000; /* Ensure it's on top */
        min-width: 200px; /* Give it some width */
    }

    #main-menu ul li {
        margin-left: 0;     /* Remove side margin */
        margin-top: 10px;   /* Add top margin for spacing */
        width: 100%; /* Make list items take full width of the menu block */
        text-align: center; /* Center text within list items */
    }

    #main-menu ul li:first-child {
        margin-top: 0; /* No top margin for the first stacked item */
    }

    #main-menu ul li a {
        display: block; /* Make the link fill the li for easier tapping */
        padding: 10px 0; /* Add some vertical padding to the link */
        width: 100%;
    }
}
