#Matcap {
    display: none;
    width: 100%;
    height: 100%;
    z-index: 10020;
    position: fixed;
    align-items: center;
    justify-content: center;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #DAE7DA;
}

.container {
    width: 90%;
    max-width: 1200px;
    height: 90%;
    margin: auto;
    padding: 10px;
}
#title {
    font-size: 3vw;
    position: relative;
    display: grid;
    align-items: center;
    justify-content: center;
    z-index: 10010;
    text-align: center;
    color: #444;

}
#title p{

    font-size: 15px;
    margin:auto;
}
#title2 {
    display: flex;
    width: auto;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    font-size: clamp(1.5rem, 3vw, 3rem);
    color: #444;
    margin-top: 10px;
    text-align: center;
}

.image {
    width: 30vw;
    height: auto;
    z-index: 10030;
    display: block;
    max-width: 100%;
    align-content: center;
    margin: auto;
    position: relative;
    padding: 0;

}

#load {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background-color: #DAE7DA;
    color: #444;
    text-align: center;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

h1 {
    color: rgb(82, 82, 82);
    font-size:  10vh;
    margin: auto;
}

.loading {
    width: 24px;
    height: 24px;
    animation: blink 1s infinite linear;
    color: blue;
}


@media (max-width: 768px) {
    #title2 {
        width: 100%;
        max-width: 100%;
    }
    h1{
        font-size: 5vh;
    }

    .image {
        width: 30vw;
        min-width: 300px;
    }

    .container {
        width: 95%;
    }

    #title {

        margin-bottom: 20px;
        width: 100%;
        max-width: 100%;
    }
    #title p{
        font-size: 2vh;

    }

    #load {
        padding: 20px;
    }

}


@media (max-height: 512px) {
    #title2 {
        width: 100%;
        max-width: 100%;
    }
    h1{
        font-size: 10vh;
    }

    .image {
        width: 20vw;
        min-width: 150px;
        
    }

    .container {
        width: 95%;
    }

    #title {
      margin-bottom: 5px;
      width: 100%;
      max-width: 100%;
    }
    #title p{
        font-size: 3vh;

    }

    #load {
        padding: 20px;
    }

}


#Mtoggle{
  display: none;

}
.toggle {
    font-size: 30px;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 11000;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    
}


#menu {
    position: relative;
    width: 100%;
    bottom: 20px;
    top: -150%; 
    z-index: 10000;
    display: none;
    flex-direction: column;
    align-items: center;
    padding-top: 0px;
    transition: top 0.3s ease-in-out;background-color:#DAE7DA;
   
    
}

#menu ul {
    list-style: none;
    padding: 0;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10000;
    font-size: 2.5vh;
    }

#menu.active {
    right: 0;
    top: 0;
    display:grid;
    height:100%;

}
#menu.inactive {
    right: 0;
    top: -250px;
    display: none;

}

#menu2 {

    width: 100%;
    bottom: 20px;
    z-index: 10000;
    align-items: center;
    padding-top: 0px;
    transition: top 0.3s ease-in-out;background-color:#DAE7DA;
    position: relative;
    
}


#menu2 ul {
    list-style: none;
    padding: 0;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 2.5vh;

}


#menu2.active {
    right: 0;
    top: 0;
    display:flex;

}
#menu2.inactive {
    right: 0;
    top: -250px;

}
#start{
  color: #444;
  cursor: pointer;
  margin-right:10px;
  margin-left:10px;
}
#return{
  color: #444;
  cursor: pointer;
  margin-right:15px;
  margin-left:15px;
}
#interactive{
  color: #444;
  cursor: pointer;
  margin-right:10px;
  margin-left:10px;
}
#cine{
  color: #444;
  cursor: pointer;
  margin-right:10px;
  margin-left:10px;
}
#cine2{
  color: #444;
  cursor: pointer;
  margin-right:10px;
  margin-left:10px;
}
#fButton{
  color: #444;
  cursor: pointer;
  margin-right:10px;
  margin-left:10px;
}
