@import url('https://fonts.googleapis.com/css?family=Oswald'); #textButt{ border: none; outline: none; padding: 12px 16px; background-color: #f1f1f1; cursor: pointer; } #imgBor { border-color: rgba(255, 173, 141, 0.61); } .container { overflow: hidden; } .filterDiv { display: none; /* Hidden by default */ } .article { font-size: 20px; text-align: center; } /* The "show" class is added to the filtered elements */ .show { display: block; } /* Style the buttons */ .btn { border: none; outline: none; padding: 12px 16px; background-color: #f1f1f1; cursor: pointer; } /* Add a light grey background on mouse-over */ .btn:hover { background-color: #ddd; } /* Add a dark background to the active button */ .btn.active { background-color: #666; color: white; } .card { /* Add shadows to create the "card" effect */ box-color: solid white; box-shadow: 0 4px 8px 0 rgba(0,0,0,0.5); transition: 0.3s; z-index: 10; width: 45%; margin: 10px; margin-top: 50px; } /* On mouse-over, add a deeper shadow */ .card:hover { box-shadow: 0 8px 16px 0 rgba(1,1,1,1); transition: transform .1s; /* Animation */ } /* Add some padding inside the card container */ .cardcontainer { padding: 2px 16px; } .flex-container { display: flex; justify-content:center; flex-wrap: wrap; } h1 { font-family:'Oswald', sans-serif; font-size:24px; font-weight:400; text-align: center; text-transform: uppercase; color:black; padding:0; margin:0; } h2 { font-family:'Oswald', sans-serif; font-size:70px; letter-spacing:10px; text-align:center; color:white; font-weight:400; text-transform:uppercase; z-index:10; opacity:.8; } h3 { font-family:'Oswald', sans-serif; font-size:14px; line-height:0; font-weight:400; letter-spacing:8px; text-transform: uppercase; color:black; } h4 { font-family:'Oswald', sans-serif; font-size:14px; line-height:0; font-weight:400; letter-spacing:8px; text-transform: uppercase; color:black; } p { font-family:'Source Sans Pro', sans-serif; font-weight:400; font-size:14px; line-height:24px; } .title { background: white; padding: 60px; margin:0 auto; text-align:center; } .title h1 { font-size:35px; letter-spacing:8px; } /* Section - Block */ /**************************/ #parallax-scroll .text-blocks { background: white; padding: 60px; width:820px; margin:0 auto; text-align:justify; } #parallax-scroll .block-gray { background: #f2f2f2; padding: 60px; } #parallax-scroll .section-overlay-mask { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: black; opacity: 0.70; } /* Section - Parallax */ /**************************/ #parallax-scroll .parallax-one { padding-top: 200px; padding-bottom: 200px; overflow: hidden; position: relative; width: 100%; background-image: url("https://www.hks.harvard.edu/sites/default/files/Topic%20Pages/Poverty%2C%20Inequality/1_poverty_hands_istock614211908.jpg"); background-attachment: fixed; background-size: cover; -moz-background-size: cover; -webkit-background-size: cover; background-repeat: no-repeat; background-position: top center; } #parallax-scroll .parallax-two { padding-top: 200px; padding-bottom: 200px; overflow: hidden; position: relative; width: 100%; background-image: url("https://i.ytimg.com/vi/162VzSzzoPs/maxresdefault.jpg"); background-attachment: fixed; background-size: cover; -moz-background-size: cover; -webkit-background-size: cover; background-repeat: no-repeat; background-position: center center; } #parallax-scroll .parallax-three { padding-top: 200px; padding-bottom: 200px; overflow: hidden; position: relative; width: 100%; background-image: url("http://www.jotscroll.com/images/forums-posts-images/1511469526-Global-warming--causes--effects-and--solutions-1.jpg"); background-attachment: fixed; background-size: cover; -moz-background-size: cover; -webkit-background-size: cover; background-repeat: no-repeat; background-position: center center; } /* Extras */ #parallax-scroll .line-break { border-bottom:1px solid black; width: 150px; margin:0 auto; } #myBtn { display: none; /* Hidden by default */ position: fixed; /* Fixed/sticky position */ bottom: 20px; /* Place the button at the bottom of the page */ right: 30px; /* Place the button 30px from the right */ z-index: 99; /* Make sure it does not overlap */ border: none; /* Remove borders */ outline: none; /* Remove outline */ background-color: rgb(228, 226, 226)228, 226, 226); /* Set a background color */ color: black; /* Text color */ cursor: pointer; /* Add a mouse pointer on hover */ padding: 15px; /* Some padding */ border-radius: 10px; /* Rounded corners */ font-size: 18px; /* Increase font size */ } #myBtn:hover { background-color: #555; /* Add a dark-grey background on hover */ } /* Media Queries */ @media screen and (max-width: 959px) and (min-width: 768px) { #parallax-scroll .block {padding: 40px; width:620px;} } @media screen and (max-width: 767px) { #parallax-scroll .block {padding: 30px; width:420px;} #parallax-scroll h2 {font-size:30px;} #parallax-scroll .block {padding: 30px;} #parallax-scroll .parallax-one, #parallax-scroll .parallax-two, #parallax-scroll .parallax-three {padding-top:100px; padding-bottom:100px;} } @media screen and (max-width: 479px) { #parallax-scroll .block { padding: 30px 15px; width:290px; } } ul { list-style-type: none; margin: 0; padding: 0; overflow: hidden; background-color: #333; } li { font-family: 'Oswald'; float: left; } li a, .dropbtn { display: inline-block; color: white; text-align: center; padding: 14px 16px; text-decoration: none; } li a:hover, .dropdown:hover .dropbtn { background-color: rgb(65,65,65); } li.dropdown { display: inline-block; } .dropdown-content { font-family: 'Oswald'; display: none; position: absolute; background-color: #f9f9f9; min-width: 160px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index: 1; } .dropdown-content a { color: black; padding: 12px 16px; text-decoration: none; display: block; text-align: left; } .dropdown-content a:hover {background-color: #f1f1f1} .dropdown:hover .dropdown-content { display: block; }