.body-main-page{ font-family: arial; text-align: center; position: absolute; font-size: 20px; top: 90%; left: 5%; right: 5%; background-color: rgb(185,179,175); Bashshar Atif's Home Page } .topnav { background-color: black; overflow: hidden; } /* Style the links inside the navigation bar */ .topnav a { float: left; color: rosybrown; text-align: center; padding: 14px 16px; text-decoration: none; font-size: 17px; } /* Change the color of links on hover */ .topnav a:hover { background-color: lightbrown; color: whitesmoke; } /* Add a color to the active/current link */ .topnav a.active { background-color: saddlebrown; color: white; } body, html { height: 100%; } /* The hero image */ .hero-image { /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */ background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("https://batif1.github.io/MyWesbite/BashsharPic.JPG"); /* Set a specific height */ height: 100%; width: auto; /* Position and center the image to scale nicely on all screens */ background-position: center; background-repeat: no-repeat; background-size: cover; position: relative; background-color: rgb(185,179,175); } /* Place text in the middle of the image */ .hero-text { text-align: center; position: absolute; font-size: 20px; top: 25%; left: 70%; transform: translate(-50%, -50%); color: white; } .footer { text-align: center; font-size: 10px; position: fixed; left: 0; bottom: 0; width: 100%; background-color: slategrey; color: white; } /*INTERESTS: */ body { font-family: Arial, Helvetica, sans-serif; margin: 0; } html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; } .column { float: left; width: 33.3%; margin-bottom: 16px; padding: 0 8px; } .card { box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); margin: 8px; } .about-section { padding: 50px; text-align: center; background-color: #474e5d; color: white; } .container { padding: 0 16px; } .container::after, .row::after { content: ""; clear: both; display: table; } .title { color: grey; } .button { border: none; outline: 0; display: inline-block; padding: 8px; color: white; background-color: #000; text-align: center; cursor: pointer; width: 100%; } .button:hover { background-color: #555; } @media screen and (max-width: 650px) { .column { width: 100%; display: block; } } /*INTERESTS: */ body { font-family: Arial, Helvetica, sans-serif; margin: 0; } html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; } .column { float: left; width: 33.3%; margin-bottom: 16px; padding: 0 8px; } .card { box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); margin: 8px; } .about-section { padding: 50px; text-align: center; background-color: #474e5d; color: white; } .container { padding: 0 16px; } .container::after, .row::after { content: ""; clear: both; display: table; } .title { color: grey; } .button { border: none; outline: 0; display: inline-block; padding: 8px; color: white; background-color: #000; text-align: center; cursor: pointer; width: 100%; } .button:hover { background-color: #555; } @media screen and (max-width: 650px) { .column { width: 100%; display: block; } } body { font-family: Arial, Helvetica, sans-serif; margin: 0; } html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; } .column { float: left; width: 33.3%; margin-bottom: 16px; padding: 0 8px; } .card { box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); margin: 8px; } .about-section { padding: 50px; text-align: center; background-color: #474e5d; color: white; } .container { padding: 0 16px; } .container::after, .row::after { content: ""; clear: both; display: table; } .title { color: grey; } .button { border: none; outline: 0; display: inline-block; padding: 8px; color: white; background-color: #000; text-align: center; cursor: pointer; width: 100%; } .button:hover { background-color: #555; } @media screen and (max-width: 650px) { .column { width: 100%; display: block; } } .contact-image { /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */ background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("contact.jpg"); /* Set a specific height */ height: 150%; /* Position and center the image to scale nicely on all screens */ background-position: center; background-repeat: no-repeat; background-size: cover; position: relative; } /* Place text in the middle of the image */ .contact-text { text-align: center; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; }