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; } @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%; 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: 14px 16px;/*In pixels as is a function of the font size*/ text-decoration: none;/*To remove any underlining of the text*/ } .topnav a:hover{ background-color: limegreen; } .video_container { width: 100%; } .slideshow-container { display: flex; /*As just inline causes stacking*/ position: relative; } .product_images { width:100%; } /* 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 } } .markup_image{ position: relative; } .mark_dot { position: absolute; height: 15px; width: 15px; text-align:center; margin: 0 2px; background-color: orangered; border-radius: 50%; } .feature_click_span{ cursor:pointer; display:flex; justify-content:center; border:thin; } .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; }