@font-face{
    font-family: "SuisseWorks";
    src: url(fonts/SuisseWorks-Regular.woff) format("woff"),
         url(fonts/SuisseWorks-Regular.woff2) format("woff2");
    font-weight: normal;
    font-style: normal;
}

body{
    margin: 0;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'SuisseWorks';
    transition: background-color 0.3s, color 0.3s;
}

header{
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

header img{ 
    padding: 20px;
    width: 91.13px;
    height: 63.3px;
    
}

/* Logo Modo noche */
body.modo-noche .logo {
  content: url("logos/R-Bamboleo-02-Looped.GIF");
}

@media(max-width: 768px) {
    img{
         margin-top: 66px;
         display: flex;
         align-items: center;
         
         
    }
}

.hero{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    flex-wrap: wrap;
    text-align: center;
}

@media(max-width: 768px) {
    .hero {
        
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 353px;
        height: 58px;
        padding-left: 20px;
        padding-right: 20px;
        
    }
}

h1{
    font-weight: 400;
    font-size: 42px;
}

@media(max-width: 768px) {
    h1 {
        text-align: center;
        height: auto;
        font-size: 24px;   
    }
}

.modo-dia{
    background-color: #ffffff;
    color: #000000;
}

.modo-noche {
  background-color: #000000;
  color: #ffffff;
}

.grey-text{
    color: #777777;
}

.hover-container {
    display: inline-grid;
    position: relative;
    vertical-align: baseline;
    cursor: pointer;
    width: var(--w-collapsed, 3ch);
    transition: width 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
    overflow: hidden;
    text-align: center;
}
 
.hover-container:hover {
    width: var(--w-expanded, 10ch);
    overflow: visible; 
}
 
.hover-text,
.hovered-text {
    display: inline-grid;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    white-space: nowrap;
    pointer-events: none;
    color: #A1A1A1;
}
 
.hover-text {
    opacity: 1;
    transition: opacity 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}
 
.hover-container:hover .hover-text {
    opacity: 0;
}
 
.hovered-text {
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}
 
.hover-container:hover .hovered-text {
    opacity: 1;
    pointer-events: auto;
}
 
.hover-spacer {
    visibility: hidden;
    display: block;
    white-space: nowrap;
    pointer-events: none;
}
 
@media (hover: none) {
    .hover-text {
        opacity: 0 !important;
    }
 
    .hovered-text {
        opacity: 1 !important;
        pointer-events: auto !important;
    }
 
    .hover-container {
        width: var(--w-expanded, auto) !important;
        overflow: visible !important;
        cursor: default;
    }
}
 
.phone-link {
  text-decoration: none;
  color: inherit; 
} 

.phone-link:visited,
.phone-link:active {
  color: inherit;
  text-decoration: none;
}
 
footer {
    top: 0;
    left: 0;
    text-align: center;
    flex-shrink: 0;
}

.info{
    font-weight: 400;
    font-size: 14px;
    text-align: center;
}

@media(max-width:768px){
    .info{
        font-size: 12px;
        width: 100%;
        max-width: 290px;
        padding: 0 20px;
        line-height: 1.5;
        text-align: center;
    }

    .info p{
        margin: 8px 0;
        white-space: normal;
        word-break: break-word;
    }
}

a{
    text-decoration: none;
    color: #A1A1A1;
}

.mobile-break{
    display: none;
}

@media (max-width: 768px){
    .mobile-break {
        display: block;
    }
}

.icono-sol,
.icono-luna {
    width: 14px;
    height: 14px;
    display: block;
    
}

body.modo-dia .icono-sol {
    color: black;
}

body.modo-dia .icono-luna, body.modo-noche .icono-sol  {
    color: gray;
}

body.modo-noche .icono-luna {
    color: white;
}

.theme-buttons{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

@media(max-width:768px){
    .theme-buttons{
     margin-bottom: 20px;
      
    } 
}

#modo-dia,#modo-noche{
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
    margin-bottom: 24px;
}
