/* Gilroy Hacks Website Source Code -> CSS (https://gilroyhacks.com) File: contact.css Web-Designed by James Dinh ᓚᘏᗢ from scratch using pure HTML, CSS, and JS For more info, contact jamesdinh77 (at) protonmail (dot) com Copyright Disclaimer: This Source Code is Copyright (c) 2022 Gilroy Hacks All Rights Reserved. */ html { scroll-behavior: smooth; } /* Nav */ * { margin: 0; padding: 0; box-sizing: border-box; } nav { height: 59px; width: 100%; top: 0; left: 0; position: fixed; flex-wrap: nowrap; z-index: 100; } nav * { padding: 0; margin: 0px 5px; list-style: none; box-sizing: border-box; z-index: 100; text-decoration: none; } #nav-logo { height: 50px; width: 258px; margin: 5px 0 0; } #nav-logo:hover { transform: scale(1.01); transition: 0.5s; } #nav-logo-a { position: relative; margin: 0; margin-left: 10px; } nav ul { float: right; margin-right: 20px; } nav ul li { display: inline-block; line-height: 30px; margin: 10px 7px; padding: 3px 5px; cursor: pointer; } .navlink { color:rgb(233, 203, 104); font-size: 18px; text-decoration: none; position: relative; } .navlink.active,a:hover { color: rgba(233, 203, 104, 0.774); transition: .5s; } .navlink::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 0.1em; background-color: hotpink; opacity: 1; transition: opacity 300ms, transform 300ms; transform: scale(0); transform-origin: center; } .navlink:hover::after, .navlink:focus::after{ transform: scale(1); } .checkbtn { font-size: 23px; color: white; float: right; line-height: 59px; margin-right: 20px; cursor: pointer; display: none; } #check { display: none; } #nav-links-container { display: flex; width: auto; margin: 0; padding: 0; height: 59px; float: right; flex-wrap: nowrap; flex-direction: row-reverse; align-content: stretch; } #sign-up { padding: 6px 7px; margin: 14px 15px 14px 4px; border-radius: 5px; font-size: 16px; background-color: rgb(140, 42, 165); color: bisque; display: flex; place-items: center; } #sign-up:hover { transform: scale(1.05); background-color: blueviolet; cursor: pointer; transition: 0.5s; } #banner { width: 70%; position: absolute; justify-content: center; display: inline-flex; top: 16px; font-size: 20px; margin: auto; min-width: 310px; } #banner-text { text-align: center; } #timer { color: rgb(184, 184, 184); animation: blinking 3s infinite; background-color: rgb(57, 57, 57); border-radius: 5px; padding: 2px 5px; position: relative; } #timer::after { content: 'Aug 12, 4pm'; position: absolute; text-align: center; align-items: center; top: 30px; right: -23px; padding: 2px 7px; width: 110px; opacity: 1; background-color: #222429; border-radius: 10px; transition: opacity 300ms, transform 300ms; transform: scale(0); transform-origin: top; } #timer:hover::after, #timer:focus::after{ transform: scale(1); } .tooltip-nav { text-decoration: none; margin: 0; } #timer-link { color:rgb(252, 188, 93); text-decoration: none; cursor: pointer; background: unset; } .link:hover { color:rgba(252, 188, 93, 0.719); } @keyframes blinking { 0% { opacity: 1; } 50% { opacity: 0.8; } 100% { opacity: 1; } } @keyframes dropdown{ 0% { opacity: 0; transform: translateY(-30px); } 20% { transform: translateY(0px); opacity: 1; } 40% { transform: translateY(-7px); } 100% { transform: translateY(0px); } } /* Responsive Functions */ @media (max-width: 1600px) { #banner { width: 50%; } } @media (max-width: 1330px) { #banner { width: 30%; } } @media (max-width: 1200px) { #banner { display: none; } } @media (max-width: 900px) { .checkbtn { display: inline-block; } nav ul { position: fixed; width: 100%; height: 300px; margin-top: 58px; margin-right: 0; background: rgb(24, 24, 24); visibility: hidden; text-align: center; } nav ul li { display: block; margin: 20px 0; line-height: 30px; } #check:checked ~ul { visibility: visible; animation: dropdown 0.5s ease; } .checkbtn { display: inline-block; } #header-background { background-position: unset !important; background-size: unset !important; } #banner { display: inline-flex; width: 310px; } } @media (max-width: 750px) { #banner { display: none; } } @media (max-width: 500px) { section { padding-top: 0 !important; } } @media (max-width: 470px) { #nav-logo { content: url(/img/Gilroy-Hacks-Logo-icon-tp.ico); height: 50px; width: 50px; } #logo { height: 300px; width: 300px; } } .blob { background: black; border-radius: 50%; box-shadow: 0 0 0 0 rgba(0, 0, 0, 1); margin: 11px 4px; height: 10px; width: 10px; transform: scale(1); animation: pulse-black 2s infinite; position: relative; } .blob.green { background: rgba(51, 217, 178, 1); box-shadow: 0 0 0 0 rgba(51, 217, 178, 1); animation: pulse-green 2s infinite; } @keyframes pulse-green { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(51, 217, 178, 0.7); } 70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(51, 217, 178, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(51, 217, 178, 0); } } /* Header */ #header-background { background-image: url(/img/mountains-1.jpg); background-position: center; background-size: cover; background-repeat: no-repeat; background-attachment: fixed; height: 20%; } #header { width: 100%; height: 100%; padding: 70px 0 50px; display: flex; flex-flow: row nowrap; justify-content: center; text-align: center; position: relative; } #logo { height: 100px; width: 100px; } #header-info { display: flex; flex-flow: column nowrap; align-items: left; margin-top: 10px; } #header-subtitle-date { font-size: 18px; padding: 5px 7px; width: fit-content; margin-top: 5px; border-radius: 10px; display: flex; border: 1px solid rgb(73, 73, 73); background-color: rgb(22, 22, 22); animation: slidein ease 1.5s; } #spots-container { display: flex; border-radius: 10px; margin-top: 5px; padding: 0 7px; border: 1px solid rgb(73, 73, 73); background-color: rgb(22, 22, 22); animation: slidein-2 ease 3s; } #header-subtitle-spots { font-size: 18px; padding: 5px; } #spots-container:hover, #header-subtitle-date:hover { transform: translateY(-2px); transition: 0.5s; } #header-gradient { width: 100%; height: 100%; background-image: linear-gradient(#0d111733 50%, #0d11175e 60%, #0d1117 100%); } @keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-5px); } 60% { transform: translateY(-3px); } } /* Main Section */ main { width: 100%; align-items: center; justify-content: center; text-align: center; position: relative; margin: auto; display: grid; padding-bottom: 30px; } section { width: auto; padding-top: 50px; text-align: center; justify-content: center; align-items: center; max-width: 1500px; min-width: 200px; } .topic { width: auto; font-size: 35px; padding: 0 20px 0 20px; color:rgb(255, 243, 205); } .contact-form { margin-top: 30px; min-width: 300px; width: 40vw; } input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active { transition: background-color 5000s ease-in-out 0s; -webkit-text-fill-color: #fff !important; caret-color: #fff; } .input-block { background-color: #202329; border-radius: 10px; width: 100%; height: 60px; padding: 25px; position: relative; margin-bottom: 20px; transition: all 0.3s ease-out; } .input-block.focus { background-color: #282c33; transition: 0.5s; } .input-block.textarea { height: auto; font-size: 18px; } .form-control { height: auto; width: 100%; resize: vertical; font-family: "Glacial Indifference"; } .input-block label { position: absolute; left: 25px; top: 25px; display: block; margin: 0; font-weight: 300; z-index: 1; color: rgb(199, 199, 199); font-size: 18px; line-height: 10px; } .input-block .form-control { background-color: transparent; padding: 5px; border: none; border-radius: 0; box-shadow: none; height: auto; position: relative; z-index: 2; font-size: 18px; color: #fff; } option { background-color: #343942; } .input-block .form-control:focus label { top: 0; } .square-button { background-color: #383e49; color: #f3bc6a; font-size: 26px; text-transform: uppercase; font-weight: 700; text-align: center; border-radius: 6px; transition: all 0.3s ease; height: 60px; border: none; width: 30%; } .square-button:hover, .square-button:focus { filter: brightness(0.8); cursor: pointer; } @media (min-width: 768px) { .contact-wrap { width: 60%; margin: auto; } } /* Utilities */ .vertical-line { width: 2px; margin: 0 10px; background-color: rgb(255, 255, 255); } @keyframes grow-wide { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 1; } } .tooltip { position: relative; } .tooltip::after { content: ''; position: absolute; text-align: center; align-items: center; top: 22px; right: -35px; padding: 3px 7px; width: max-content; opacity: 1; z-index: 1; background-color: #222429; border-radius: 10px; transition: opacity 300ms, transform 300ms; transform: scale(0); transform-origin: top; } .tooltip:hover::after { transform: scale(1); } #facebook::after { content: 'Facebook'; right: -34px; color: rgb(255, 208, 137) } #instagram::after { content: 'Instagram'; right: -35px; color: rgb(255, 208, 137) } .emphasis-text { color:rgb(51, 235, 189); } .discord-text { color: rgb(110, 112, 247); } .discord-tag { color: rgb(150, 150, 150); } .line { width: 100px; margin: 10px auto; } #footer-line { width: 100px; margin: 10px auto; } #arrow-link { color:rgb(252, 188, 93); text-decoration: none; cursor: pointer; } .link { color:rgb(252, 188, 93); text-decoration: none; cursor: pointer; background: linear-gradient(to right, rgba(100, 200, 200, 1), rgba(100, 200, 200, 1)), linear-gradient(to right, rgba(255, 0, 0, 1), rgba(255, 0, 180, 1), rgba(0, 100, 200, 1)); background-size: 100% 0.1em, 0 0.1em; background-position: 100% 100%, 0 100%; background-repeat: no-repeat; transition: background-size 400ms; } .link:hover { color:rgba(252, 188, 93, 0.719); background-size: 0 0.1em, 100% 0.1em; } footer { width: auto; height: auto; background-color: rgb(24, 24, 24); justify-content: center; align-items: left; text-align: center; padding: 20px; flex-flow: row wrap; } #footer-container { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; align-content: stretch; } #footer-logo { height: 45px; width: 232px; margin-left: -5px; } #footer-desc { width: 350px; text-align: left; line-height: 25px; font-size: 18px; margin-right: 40px; } #socials { width: 100%; height: auto; display: flex; flex-wrap: wrap; margin-top: 10px; } .socials-icon { margin: 0 10px; } .new-tab-icon { fill: white; height: 10px; margin-left: 5px; } #footer-copyright { color: rgb(129, 129, 129); } #footer-line { width: 100%; margin: 10px auto; } #footer-links { width: 180px; margin-top: 7px; margin-right: 20px; text-align: left; } #footer-location { width: 220px; margin-top: 7px; margin-right: 20px; text-align: left; } footer li { line-height: 30px; list-style: none; }