@import url('https://fonts.googleapis.com/css?family=Montserrat:100,300,400,700,900'); * { box-sizing: border-box; } body { font: 1.2em Montserrat, arial, sans-serif; margin: 0px; } .wrapper { max-width: 1024px; margin: auto; } .wrapper>* { border-radius: 5px; padding: 10px; } h1, h2 { font-stretch: normal; font-style: normal; line-height: 1.2; letter-spacing: normal; } h1 { font-size: 36px; font-weight: bold; font-stretch: normal; font-style: normal; line-height: normal; letter-spacing: normal; color: #f9a826; } a { text-decoration: none; transition: background-color 0.3s ease; } p { font-size: 20px; font-weight: 300; font-stretch: normal; font-style: normal; line-height: 1.36; letter-spacing: normal; text-align: center; color: #000000; } /* Header Section */ nav { height: 90px; position: sticky; top: -16px; z-index: 1; -webkit-backface-visibility: hidden; } nav::before, nav::after { content: ''; display: block; height: 16px; position: sticky; } nav::before { top: 58px; box-shadow: 0 4px 10px 0 rgba(202, 34, 34, 0.05), 0 5px 30px 0 rgba(0, 0, 0, 0.05); } nav::after { background: linear-gradient(white, rgba(255, 255, 255, 0.3)); top: 0; z-index: 2; } nav>div { background: white; height: 74px; padding: 10px; position: sticky; top: 0px; margin-top: -16px; z-index: 3; } nav a { text-decoration: none; border-radius: 9px; padding: 10px 15px 10px 15px; background-color: white; color: #000000; } .header { display: grid; white-space: nowrap; grid-template-columns: 150px 1fr 130px 160px 50px; } .header-logo { grid-column-start: 1; margin-left: 50px; margin-top: 5px; } .header-logo img { height: 50px; } .header-logo a { padding: 0px; } .header-middle { grid-column-start: 2; } .header-area-right1 { grid-column-start: 3; } .header-area-right2 { grid-column-start: 4; } /* Footer */ .footer { height: 250px; margin-top: 80px; padding: 60px 40px 10px 50px; background-color: #f9a826; display: grid; } .footer a { font-size: 14px; color: white; word-wrap: nowrap; } .footer h4 { font-size: 14px; color: white; word-wrap: nowrap; font-weight: 500px; margin: 0px; } .footer>svg { grid-column: 1; } .footer div:nth-child(2) { grid-column: 2; } .footer div:nth-child(3) { grid-column: 3; } .footer { grid-template-columns: 200px 1fr 1fr 3fr; } .footer>svg { display: inline-block; visibility: visible; } .footer div:nth-child(4) { grid-column: 4; text-align: right; display: inline-block; visibility: visible; } .header-area-right1 span, .header-area-right2 span { font-size: 15px; } .header-area-content-span { grid-column-start: 2; grid-column-end: 4; text-align: right; font-size: 14px; padding: 10px; } @media (max-width: 500px) { .footer { grid-template-columns: 0px 1fr 1fr 5px; } .footer div:nth-child(1), .footer div:nth-child(4), .header-area-content-span { display: none; visibility: hidden; } .header { display: grid; white-space: nowrap; grid-template-columns: 100px 1fr 130px 130px; } } /* Form Styles Section */ input[type=email], input[type=password], input[type=text] { width: 258px; height: 53px; padding: 0px 20px; margin: 10px 20px; border-radius: 9px; font-size: 16px; border: solid 1px #f9a826; display: block; margin: 10px auto; } input[type=checkbox] { border: solid 1px #f9a826; background-color: #f9a826; } input[type=submit], input[type=button] { width: 258px; height: 53px; padding: 0px 20px; margin: 10px 20px; font-size: 20px; font-weight: 600; border-radius: 9px; border: 0px; background-color: rgba(255, 168, 0, 0.6); color: white; } input[type=submit]:hover { background-color: #f9a826; } input:placeholder { color: grey; } .form-error-dialog { margin: 10px auto; width: 260px; font-size: 15px; border: 2px solid #e97450; padding: 10px 10px; border-radius: 9px; color: white; background-color: #e78b72; } /* Buttons */ .button-style1, .button-style2, .button-style3 { font-size: 16px; font-weight: 500; font-stretch: normal; font-style: normal; letter-spacing: normal; white-space: nowrap; padding-top: 10px; } .button-style1 a, .button-style2 a, .button-style3 a { padding: 10px 30px 10px 30px; transition: background-color 0.3s ease; border-radius: 9px; } .button-style1 a { color: #f9a826; background-color: white; border: solid 1px #f9a826; } .button-style1 a:hover { color: white; background-color: rgba(255, 168, 0, 0.6); border: 0px; } .button-style2 a { color: #ffa800; background-color: white; border: solid 1px rgba(255, 168, 0, 0.6); } .button-style2 a:hover { color: white; border: solid 1px white; background-color: rgba(243, 220, 174, 0.6); } .button-style3 a { color: white; background-color: #ffa800; font-weight: 600; } .button-style3 a:hover { color: #ffa800; background-color: white; border: solid 1px #ffa800; font-weight: 600; }