body { font-family: 'Lato', sans-serif; padding: 0px; margin: 0px; --primary-color: #007936; --accent-color: #eee; --light-text-color: rgb(107, 107, 107); } /* Describes the styling of the one and only element with id="mainheader", note the # in front of mainheader */ @media only screen and (max-width: 480px) { #mainheader { background-color: var(--primary-color); font-size: 1.5rem; color: white; height: 45px; } #center-articles { position: absolute; width: 100%; } /* Describes the styling of all
elements */ article { border-radius: 25px; border: 1px solid var(--primary-color); color: var(--light-text-color); width: 96%; margin: 2% 0 10px 2%; } #logo-header { display: none; } #logo-header img { margin-left: 30px; } nav { line-height: 2rem; background-color: darkgrey; text-align: center; min-height: 32px; display: inline-flex; width: 100%; justify-content: center; } } @media only screen and (min-width: 480px) { #mainheader { background-color: var(--primary-color); font-size: 2rem; color: white; height: 60px; } #center-articles { position: absolute; display: inline-block; transform: translate(0, 0); width: 100%; } /* Describes the styling of all
elements */ article { border-radius: 25px; border: 1px solid var(--primary-color); color: var(--light-text-color); margin: 10px 0 3% 3% ; display: inline-block; width: 45%; position: relative; } #logo-header { height: 200px; display: flex; justify-content: flex-start; align-items: center; } #logo-header img { margin-left: 30px; } nav { line-height: 2rem; background-color: darkgrey; text-align: center; height: 32px; display: inline-flex; width: 100%; justify-content: center; } } @media only screen and (min-width: 780px) { #mainheader { background-color: var(--primary-color); height: 80px; font-size: 3rem; color: white; } #center-articles { position: absolute; display: inline-block; width: 100%; } /* Describes the styling of all
elements */ article { border-radius: 25px; border: 1px solid var(--primary-color); color: var(--light-text-color); margin: 10px 0 10px 2.3%; display: inline-block; width: 30%; position: relative; } #logo-header { height: 200px; display: flex; justify-content: flex-start; align-items: center; } #logo-header img { margin-left: 30px; } nav { line-height: 2rem; background-color: darkgrey; text-align: center; height: 32px; display: inline-flex; width: 100%; justify-content: center; } } #sticky-header { display: block; z-index: +1; } /* The sticky class is added to the header with JS when it reaches its scroll position */ .sticky { position: fixed; top: 0; width: 100% } /* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */ .sticky + .content { padding-top: 102px; } a:link, a:visited { color: white; } a:hover { color: brown; } a:link:active, a:visited:active { color: green; } main { position: relative; } /* Describes the styling of all elements with class="parkname", note the . in front of parkname */ .parkname { border-radius: 23px 23px 0 0; background-color: var(--primary-color); color: white; font-size: 2rem; font-weight: bold; text-transform: uppercase; display: flex; justify-content: center; align-items: center; height: 80px; } /* Describes the styling of all elements with class="parkname", note the . in front of parkname */ .parkdescription { font-size: 1rem; text-align: center; height: 30px; margin: 15px 15px 0 15px; } .order { padding-top: 25px; text-align:center; } .prices { margin-bottom: 15px; margin-left: 15px; margin-right: 15px; } .total { margin: 10px; } .badge { background-color: red; display: inline-block; color: white; font-weight: bold; width: 25px; border-radius: 25px; } .adultinput { width:100%; } .kidsinput { width:100%; } .orderbutton { background: hsl(170deg 0% 64%); border-radius: 12px; border: none; padding: 0; cursor: pointer; outline-offset: 4px; margin: 20px; } .front { font-size: 1rem; padding: 6px 15px; padding: 10px 9px; font-size: 1.2rem; display: block; border-radius: 12px; background: var(--primary-color); color: white; transform: translateY(-4px); transition: transform 600ms cubic-bezier(.3, .7, .4, 1); } .disabled { display: block; border-radius: 12px; background: grey; color: white; transform: translateY(-2px); padding: 10px 9px; font-size: 1.2rem; } .orderbutton:hover .front { transform: translateY(-6px); transition: transform 250ms cubic-bezier(.3, .7, .4, 1.5); } .orderbutton:active .front { transform: translateY(-2px); } .orderbutton:active .disabled { transform: translateY(-2px); } .orderbutton:hover .disabled { transform: translateY(-2px); } .cancel .front { font-size: 1rem; padding: 6px 15px; } .orderdescription { display: block; text-align: center; margin: 5px; } #sortmenu { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; margin: 15px 2.3% 15px 2.3%; border: 1px solid var(--primary-color); } #sortmenu .sorter { width: 50%; display: flex; justify-content: center; align-items: center; flex-direction: row; flex-wrap: wrap; }