@font-face { font-family: Arial; src: url(arial.ttf); } @font-face { font-family: 'Brush Script MT'; src: url(BRUSHSCI.ttf); } @font-face { font-family: Vogue; src: url(Vogue.ttf); } body { font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; font-size: 16px; width: min(100%, 1100px); margin: auto; /*To have it in the center*/ } .closer { line-height: 2px; text-decoration: underline; text-decoration-color: limegreen; } hr { color: limegreen; height: 2px; border-width: 0; background-color: limegreen } @keyframes ShowAndHideAnimation { 0% { top: 0px; } 100% { top: 15%; } } @keyframes ShowAndHideAnimation800px { 0% { left: 0px; } 100% { left: 50%; } } /*Add this before as overridden by @media later when needed*/ .overlay_text { position: absolute; width: 100%; font-size: xx-large; font-family: 'Brush Script MT'; /*'Vladimir Script'*/ text-align: center; animation: none; /*ShowAndHideAnimation 5s*/ top: 100%; /*Needed to specify so the text stays in that position 15% animation value*/ } @media screen and (max-width: 800px) { body { font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; font-size: 16px; width: 100%; margin: auto; /*To have it in the center*/ } /*div { padding-left: 5px; padding-right: 5px; }*/ } /* Header/Blog Title */ .header { background-color: limegreen; color: white; border: hidden; width: 100%; padding-top: 1%; padding-bottom: 1%; font-size: inherit; /*Needed to put this although already in body.why?*/ } .topnav { overflow: hidden; /*to prevent any extra text to show*/ background-color: black; display: flex; flex-flow: row wrap; } .topnav a { color: #f2f2f2; padding: 5px 5px; /*In pixels as is a function of the font size. top and bottom, and right and left*/ text-decoration: none; /*To remove any underlining of the text*/ } .topnav a:hover { background-color: limegreen; } .video_container { width: 100%; } .slideshow-static-container { display: flex; /*As just inline causes stacking*/ position: relative; } .product_images { width: 100%; /*In its absence fills entire screen to actual size.*/ } /* Next & previous buttons */ .prev, .next { cursor: pointer; position: absolute; /*As relative to container*/ top: 50%; padding: 12px; color: limegreen; font-weight: bold; font-size: 30px; transition: 0.6s ease; border-radius: 0 3px 3px 0; user-select: none; } /* Position the "next button" to the right */ .next { right: 0; border-radius: 3px 0 0 3px; } /* On hover, add a black background color with a little bit see-through */ .prev:hover, .next:hover { background-color: rgba(0,0,0,0.8); } /* Caption text */ .caption_text { color: black; font-size: inherit; width: 70%; margin: auto; } /* Fading animation */ /*.fade { -webkit-animation-name: fade; -webkit-animation-duration: 1.5s; animation-name: fade; animation-duration: 1.5s; }*/ @-webkit-keyframes fade { from { opacity: .4 } to { opacity: 1 } } @keyframes fade { from { opacity: .4 } to { opacity: 1 } } .buy_now_button { background-color: darkorange; border: none; border-radius: 10px; color: white; padding-left: 60px; padding-right: 60px; padding-top: 10px; padding-bottom: 10px; display: inline-block; font-size: 16px; margin: 4px 2px; cursor: pointer; } .instructions_button { background-color: limegreen; border: none; border-radius: 10px; color: white; padding-left: 10px; padding-right: 10px; padding-top: 10px; padding-bottom: 10px; display: inline-block; font-size: 16px; margin: 4px 2px; cursor: pointer; }