  /* INTRO */

  html {
    scroll-behavior: smooth;
  }
  
  #ancorscroll{
    position:relative;
    height: 50px;
    width: 50px;
  }
  #section1 {
    height: 600px;
    background-color: pink;
  }
  
  #section2 {
    height: 600px;
    background-color: yellow;
  }
  #scrollsection{
    
    background-image: url('../images/icon_to_hide.png');
    background-size: cover;
    transform: rotate(-90deg);
    background-color: #000000;            
    opacity: 0.5;
    height: 50px;
    width: 50px;

    bottom: 50px;
    left: 46.5vw;
    position:absolute;
    flex-wrap: nowrap;
    display: flex;
    padding: 0;
  }

  #scrollsection:hover{
    background-size: cover;
    opacity: 1;
    color: #000000 ;
    cursor: pointer;
    height: 50px;
    width: 50px;
    padding: 0;
  }
/* Fim Scroll down */

  header {
    position: relative;
    width: 0%;
    height: 0%;
    left: 0;
    top: 0;
}

header h4 {
    position: absolute;
    left: 10%;
    bottom: 1rem;
    font-size: 1.6rem;
}

/* splash screen */

.intro {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: #000000;
    transition: 1s;
}

.logo-header {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #D9DCD6;
}

.logo {
    position: relative;
    display: inline-block;
    bottom: -20px;
    opacity: 0;
    font-size: 2rem;
}

.logo.active{
    bottom: 0;
    opacity: 1;
    transition: ease-in-out 0.5s;
}

.logo.fade{
    bottom: 150px;
    opacity: 0;
    transition: ease-in-out 0.5s;
}


html, body {
    overflow: visible;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

#renderCanvas {
    width: 100%;
    height: 100%;
    touch-action: none;

    outline: none;

   
}

#canvasZone {
    position: relative;
    width: 100%;            
    height: 100vh;
    z-index: 0;
    margin: 0 auto;
}

  
#boxmenu{
    position:absolute;
    flex-wrap: nowrap;
    display: flex;
    top: 0;     
    bottom: 0;           
    transform: translate(0, 25%);
    margin-left: 0;
    overflow: auto;
}
#caixa {
    
    background-color:rgba(0, 0, 0, 0.329);                
    height: 50vh;
    width: 35vh;
    z-index: 2;
    justify-content: center;
    text-align: center;
    
    color: rgb(255, 255, 255);
    word-wrap: break-word;

    text-decoration: none;
    
    overflow: auto;

    border-radius: 0 5% 5% 0;
    padding: 10px;

     
}


#hone{
    flex-wrap: nowrap;
    height: auto;
    margin: 10px;
    
    text-align: center;
    font-size: 24px;
}

#pone{
    height: auto;
    margin: 10px;
    
    text-align: center;
    font-size: 16px;
}

#buthidden{
    background-image: url('../images/icon_to_hide.png');
    background-size: cover;
    background-color: #000000;            
    opacity: 0.5;
    height: 50px;
    width: 50px;
    justify-content: left;
    text-align: left;
    overflow: left;

    margin-left: 80%;
    
}
#buthidden:hover{
    background-size: cover;
    opacity: 1;
    color: #000000 ;
    cursor: pointer;
    height: 50px;
    width: 50px;
    left: 0;
    margin-left: 80%;
}




p{
    margin: 10px;
    
  
}

/* scrollbar */
/* width */
::-webkit-scrollbar {
  width: 20px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgb(95, 95, 95); 
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1; 
}




@media only screen and (max-height: 900px) {

#canvasZone {
    position: relative;
    width: 100%;            
    height: 900px;
    z-index: 0;
    margin: 0 auto;
}

#boxmenu{
    position:absolute;
    flex-wrap: nowrap;
    display: flex;
    top: 10%;     
    bottom: 10%;           
    transform: translate(0, 0);
    margin-left: 0;
    overflow: auto;
}

#caixa {
    
    background-color:rgba(0, 0, 0, 0.329);                
    height: 100%;
    width: 25vw;
    z-index: 2;
    justify-content: center;
    text-align: center;            
    color: rgb(255, 255, 255);
    word-wrap: break-word;
    text-decoration: none;            
    overflow: auto;
    border-radius: 0 5% 5% 0;
    padding: 10px;             
}




}



@media only screen and (max-width: 1200px) {
    
    
#boxmenu{
    position:absolute;
    flex-wrap: nowrap;
    display: flex;
    top: 10%;     
    bottom: 10%;           
    transform: translate(0, 0);
    margin-left: 0;
    overflow: auto;
}





#caixa {
    
    background-color:rgba(0, 0, 0, 0.329);                
    height: 100%;
    width: 40vw;
    z-index: 2;
    justify-content: center;
    text-align: center;            
    color: rgb(255, 255, 255);
    word-wrap: break-word;
    text-decoration: none;            
    overflow: auto;
    border-radius: 0 5% 5% 0;
    padding: 10px;             
}


}





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

   html{
    overflow-x: hidden;
   }
        .logo {
        position: relative;
        display: inline-block;
        bottom: -20px;
        opacity: 0;            
        font-size: 1.5rem;
    }

    #canvasZone {
        position: absolute;
        width: 100%;
        min-height: 400px;
        max-height: 100vh;
        z-index: 0;
        margin: 0 auto;
    }



    #boxmenu{
        position:absolute;
        flex-wrap: nowrap;
        display: flex;
        top: 0;     
        bottom: 0;           
        transform: translate(0, 0);
        margin-left: 0;
        overflow: auto;

    }

    #caixa {
        display: inline-block;
        background-color:rgba(0, 0, 0, 0.329);                
        height: 100%;
        width: 100vw;
        z-index: 2;
        justify-content: center;
        text-align: center;            
        color: rgb(255, 255, 255);
        word-wrap: break-word;
        text-decoration: none;            
        overflow: auto;
        border-radius: 0 5% 5% 0;
        padding: 10px;             
    }



    


    
}