/* Copyright Disclaimer: This Source Code is Copyright (c) 2022 Nancy Pannikkat. All Rights Reserved. */ html { scroll-behavior: smooth; } body { padding-top: 100px; } * { margin: 0; padding: 0; box-sizing: border-box; } /* Nav */ .nav-wrapper { height: auto; width: 100%; top: 0; left: 0; position: fixed; flex-wrap: nowrap; background-color: rgba(229, 229, 229, 0.856); box-shadow: 0 1px 6px 0 rgb(0 0 0 / 20%); z-index: 100; } nav { max-width: 1000px; min-width: 600px; margin: 5px auto; padding: 17px; display: flex; justify-content: space-between; } nav * { padding: 0; margin: 0px 5px; list-style: none; box-sizing: border-box; z-index: 100; text-decoration: none; } .nav-left { display: inline-flex; align-items: center; } #nav-logo { 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 { margin-right: 20px; } nav ul li { display: inline-flex; line-height: 30px; margin: 10px 7px; padding: 3px 5px; cursor: pointer; } .navlink { color:rgb(160, 160, 160); font-size: 20px; text-decoration: none; position: relative; } .navlink.active { font-weight: bold; color: rgba(54, 54, 54, 0.774); } a:hover { color: rgba(54, 54, 54, 0.774); transition: .5s; } .navlink::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 0.1em; background-color: rgb(97, 97, 97); opacity: 1; transition: opacity 300ms, transform 300ms; transform: scale(0); transform-origin: center; } .navlink:hover::after { transform: scale(1); } .navlink.current::after { transform: scale(1); } #nav-links-container { display: inline-flex; } .boxed { border: 1px solid rgb(118, 118, 118); padding: 0 8px; } main { width: 100%; justify-content: center; align-items: center; position: relative; margin: auto; padding-top: 30px; } header { margin: auto; width: 100%; height: auto; padding: 30px 0; } .splide__slide { padding: 0 10px 30px; } .slide-content { max-width: fit-content; } .slide-img { max-height: 700px; } .slide-desc { position: relative; font-size: 18px; padding: 5px 0; text-align: center; } li .splide__pagination__page.is-active { background: #2c2c2c; } .about-parent { display: flex; width: auto; height: auto; margin: 20px auto; max-width: 1000px; min-width: 200px; justify-content: center; padding: 0 20px; } .about-img { width: 400px; height: 400px; background: linear-gradient(rgba(10, 14, 18, 0.2) 50%, rgba(104, 104, 104, 0.37) 60%, rgb(188, 188, 188) 100%); } .about-desc { padding: 0 20px; font-size: 20px; width: 500px; } /* Contact */ .contact { text-align: center; max-width: 1500px; margin: 50px 0; } .topic { font-size: 30px; } .line { margin: 10px 0 0; } .contact-form { margin-top: 30px; min-width: 300px; width: 100%; padding-bottom: 20px; margin: 30px auto; } 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; } .contact-form div label { color: black; font-weight: 500; } .input-block { background-color: #dddddd; border-radius: 2px; width: 100%; height: 60px; padding: 25px; position: relative; margin-bottom: 20px; transition: all 0.3s ease-out; color: black; } .input-block.focus { filter: brightness(1.05); 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: rgb(30, 29, 29); } option { background-color: #d8d8d8; } .input-block .form-control:focus label { top: 0; } .square-button { background-color: #dddddd; color: #2c2c2c; font-size: 26px; text-transform: uppercase; font-weight: 700; text-align: center; border-radius: 3px; transition: all 0.3s ease; height: 60px; border: none; width: 30%; } .square-button:hover, .square-button:focus { filter: brightness(0.9); cursor: pointer; } @media (min-width: 768px) { .contact-wrap { width: 60%; margin: auto; } } /* Footer */ footer { width: 100%; background-color: #e1e1e1; } .footer-container { display: flex; justify-content: space-between; max-width: 800px; min-width: 200px; margin: auto; padding: 0 20px; } .footer-copyright { font-size: 18px; padding: 5px 0; } .socials { padding-top: 6px; align-items: center; float: right; display: flex; } .socials-icon { padding: 0 5px; }