:root {
                --header-image: url('../img/Fachada-1-1.png');
                --body-bg-image: url('https://sadhost.neocities.org/images/tiles/purplesky.gif');

                --content: #3D3E3E;
            }

    @font-face {
    font-family: SulphurPoint;
    src: url('SulphurPoint-Regular.ttf');
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
::selection {
  background:#B85435;
color:#CFCBC0;

}
            body {
                font-family: SulphurPoint;
                margin: 0;
                background-color: #08031A;
                /* you can delete the line below if you'd prefer to not use an image */
                background-size: 65px;

                text-align: center;
                font-size: 18px;
              
            }

            * {
                box-sizing: border-box;
            }

        img {

            margin:3px;
            max-width: 100%;
            height: auto;
            }


            /* pa encoger */
            .shrink {
            display: inline-block;
            vertical-align: middle;
            -webkit-transform: perspective(1px) translateZ(0);
            transform: perspective(1px) translateZ(0);
            box-shadow: 0 0 1px rgba(0, 0, 0, 0);
            -webkit-transition-duration: 0.3s;
            transition-duration: 0.3s;
            -webkit-transition-property: transform;
            transition-property: transform;
            }
            .shrink:hover, .shrink:focus, .shrink:active {
            -webkit-transform: scale(0.97);
            transform: scale(0.97);
            }

            /* the "container" is what wraps your entire website */
            /* if you want something (like the header) to be Wider than
    the other elements, you will need to move that div outside
    of the container */ 
            #container {
                max-width: 100%;

                margin: 0 auto;
                /* this centers the entire page */
            }

            /* the area below is for all links on your page
    EXCEPT for the navigation */
                body a:hover {
                        color: #692404;
                        text-decoration: none;
                
                    }

            
                body a {
                position: relative;
                text-decoration: none;
                color: #B85435;
                
                }

            #header {
                width: 100%;
                background-color: #000000;
                height: 900px;
                padding: 30px;
                /* this is only for a background image! */
                /* if you want to put images IN the header, 
      you can add them directly to the <div id="header"></div> element! */
                background-image: var(--header-image);
                background-size: cover;
                
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: justify;
                
                
            }


            .textoheader {
                
                padding-left: 80px;
                text-align: left;
                color: #CFCBC0;
                max-width:500px;
                 text-shadow: 1px 2px #000000;
            }
            /* navigation section!! */
            #navbar {
                height: 160px;
                background-color: #000000;
                /* navbar color */
                width: 100%;
                border-bottom: 3px solid #B85435;
            }


                    .textoizq {
                flex: 1;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: left;
                text-align: left;
                padding:50px;

                max-width:550px; 
            }
            .imgder{
                flex: 1;
                background-size: cover;
                background-repeat: no-repeat;
                background-position: center;
            }

            #flex {
                display: flex;
            }

            .negro2 {
                background-color: #000000;
                padding:20px;
                color: #CFCBC0;
                 max-height: 250px;
                overflow-x: auto;
                 overflow-y: hidden;

                 display: flex;
                flex-wrap: wrap;
                flex-direction: column;
                justify-content:center;
                 align-items: center;
                 gap: 10px;
                 
                 

            }

            

                .negro {
                background-color: #000000;
                padding-left: 10px;
                padding-right: 10px;
                padding-top:20px;
                padding-bottom:20px;
                color: #CFCBC0;

                 display: flex;
                flex-wrap: wrap;
                flex-direction: row;
                justify-content: center;
                 align-items: center;
                 gap: 1px;
                 

            }
            .negro a {
   
                text-decoration: none;
                color: #CFCBC0;
                
                }
                .negro a:hover {
                        color: #CFCBC0;
                        text-decoration: none;
                
                    }

            .negro a::after {
                content: "";
                position: absolute;
                bottom: -2px;
                left: 0;
                width: 100%;
                height: 2px;
                background: currentColor;
                background-repeat: no-repeat;
                transform: scaleX(0);
                transform-origin: right;
                transition: transform 0.3s ease;
                }

                .negro a:hover::after {
                transform: scaleX(1);
                transform-origin: left;
                
                }



            .negro figure
            {
                display: flex;
                flex-wrap: wrap;
                flex-direction: row;
                align-items: center;
                gap: 8px;
                
               

            }

           .negro figcaption {
                text-align: left;
                font-style:italic;
                font-size: smaller;
                max-width:200px;
                    }

        figcaption {
                text-align: center;
                font-weight: bold;
                font-size: smaller;
                    }


            .cafe {
                background-color: #262727;
                height:80%;

                color: #C7B291;
  
                justify-content: center;
                 display:flex;


            }


            .blanco {
                background-color: #CFCBC0;
                padding: 50px;
                color: #3D3E3E;
                justify-content: center;



            }
            .blanco iframe  {
          height: 100%;
            }

                       .blanco a::after {
                content: "";
                position: absolute;
                bottom: -2px;
                left: 0;
                width: 100%;
                height: 2px;
                background: currentColor;
                background-repeat: no-repeat;
                transform: scaleX(0);
                transform-origin: right;
                transition: transform 0.3s ease;
                }

                .blanco a:hover::after {
                transform: scaleX(1);
                transform-origin: left;
                
                }


            

            /* this resizes the image on hover. note that objects in 'portrait'  */

            footer {
                height: 350px;
                background-color: #000000;
                /* navbar color */
                width: 100%;
                border-top: 3px solid #B85435;
            }


            h1{
                color: #B85435;
            }

            h1 {
                font-size: 25px;
            }


            .blanco hr {
                 border: 1px solid #B85435;

            }
            /* this is just a cool box, it's the darker colored one */


        iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

      
        .thumbnail {
            width: 150px;
            height: auto;
            object-fit: cover;
            border-radius: 6px;
            cursor: pointer;
            border: 3px solid transparent;
            transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
        }

        /* Style for the currently active thumbnail */
        .thumbnail.active {
            border-color: #B85435;
        }

            .boton {
            background-color: #B85435;
            border: none;
            color: #CFCBC0;
            padding: 10px;
            text-align: center;
            text-decoration: none;
            cursor: pointer;
            border-radius: 20px;
             display: inline-block;
            -webkit-transform: perspective(1px) translateZ(0);
            transform: perspective(1px) translateZ(0);
            box-shadow: 0 0 1px rgba(0, 0, 0, 0);
            position: relative;
        
                }
                
          .boton a {
            background-color: #CFCBC0;
        text-decoration: none;
                }
        
            .boton:before {
            content: '';
            position: absolute;
            border: #B85435 solid 2px;
            border-radius: 20px;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            -webkit-transition-duration: 0.3s;
            transition-duration: 0.3s;
            -webkit-transition-property: top, right, bottom, left;
            transition-property: top, right, bottom, left;
            }
            .boton:hover:before, .boton:focus:before, .boton:active:before {
            top: -8px;
            right: -8px;
            bottom: -8px;
            left: -8px;
            }
                        iframe {
                display: block;
                border-style:none;
            }


::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background: transparent;
    }

    ::-webkit-scrollbar-thumb {
    background-color: #B85435;
    
    }
    ::-webkit-scrollbar-thumb:hover {
    background: #a7421a;
    }
    ::-webkit-scrollbar-thumb:active {
    background: #692404;
    }
    ::-webkit-scrollbar-track {
    background:#000000;
    border:none;border-radius:0;
    }

    ::-webkit-scrollbar-corner {
    background:#1f140f;;
    }



        #pagetop {/* 位置はscroll.jsで設定 */
            background:#B85435;/* 背景 */
            color:#CFCBC0;/* 色 */
            border-radius:10px;
            display:block;
            padding:10px;
            position:fixed;
            text-align:center;
            text-decoration:none;
            z-index:10
            }
            #pagetop:hover {
            background:#692404
            }
            #fl a{
            display:inline-block;
            margin:10px 0
            }


            /* BELOW THIS POINT IS MEDIA QUERY */

            /* so you wanna change the width of your page? 
    by default, the container width is 900px.
    in order to keep things responsive, take your new height,
    and then subtrack it by 100. use this new number as the 
    "max-width" value below
    */

            @media only screen and (max-width: 900px) {
                #flex {
                    flex-wrap: wrap;
                }

                #container {
       
                    width: 100%;
                      }

                #navbar {
                height: 240px;

                     }
                     
                #footer {
                height: 650px;

                     }
   
            .blanco {
                padding: 20px;

            }

            .blanco iframe{
               height: 100%;

            }
            .textoheader {
                
                padding-left: 20px;
            }

                        .cafe {
                flex-direction: column;
                height: 150%;
                gap: 8px;
    
            }

               .imgder{
                height: 60vh;
                background-size: cover;
                background-repeat: no-repeat;
                background-position: center;
            }
                    .textoizq {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                text-align: left;
                padding:50px;
            }

            #header {
                width: 100%;
                background-color: #000000;
                height: 500px;
                padding: 30px;
                /* this is only for a background image! */
                /* if you want to put images IN the header, 
      you can add them directly to the <div id="header"></div> element! */
                background-image: var(--header-image);
                background-size: cover;
                
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: justify;
                
                
            }


}