*{ margin: 0; padding: 0;; font-family: 'Futura', sans-serif; box-sizing: border-box; } html{ scroll-behavior: smooth; } body{ background-color: #071e57; color: #fff; } #header{ width: 100%; height: 100vh; background-color: #071e57; } .logo { width: 140px; margin: 10px; } .container{ padding: 10px 10%; } nav{ display: flex; align-items: center; justify-content: center; flex-wrap: wrap; width: 100%; } nav ul li{ display: inline-block; list-style: none; margin: 10px 20px; } nav ul li a{ color: #fff; text-decoration: none; font-size: 18px; } nav ul li a:hover{ color: #f0cd55; } nav ul li a::after{ content: ''; width: 100%; height: 3px; position: absolute; left: 0; bottom: -6px; } nav ul li a:hover::after{ width: 100%; } nav .btn{ background: #c9900b; padding: 10px 20px; border-radius: 6px; text-decoration: none; color: #fff; font-size: 16px; margin-left: 20px; position: absolute; right: 1%; } .header-text{ margin-top: 5%; font-size: 30px; } /* --------------contact------------- */ #contact{ margin: 50px 0; } .contact-left{ flex-basis: 35%; } .contact-right{ flex-basis: 60%; } .contact-left p{ margin-top: 30px; transition: transform 0.5s; } .contact-left p i{ color: #c9900b; margin-right: 15px; font-size: 25px; transition: transform 0.5s; } .contact-left p:hover{ color: #f0cd55; transform: translateY(-5px); } .contact-left a{ text-decoration: none; color:#c9900b; } .social-icons{ margin-top: 30px; } .social-icons a{ text-decoration: none; margin-right: 15px; font-size: 30px; color: #c9900b; display: inline-block; transition: transform 0.5s; } .social-icons a:hover{ color: #f0cd55; transform: translateY(-5px); } .btn.btn2{ display: inline-block; background: #c9900b; cursor: pointer; } .btn{ display: block; margin: 50px; width: fit-content; border: 1px solid #f0cd55; padding: 14px 50px; border-radius: 6px; text-decoration: none; color: #fff; transition: background 0.5s; cursor: pointer; background-color: #c9900b; } .btn.btn2:hover{ background: #f0cd55; } .contact-right form{ width: 100%; } form input, form textarea{ width: 100%; padding: 15px; margin: 15px 0; background: #262626; border: 0; color: #fff; outline: none; font-size: 18px; border-radius: 6px; } /* --------------gradio------------- */ .form-input { background: #262626; color: white; border-radius: 6px; padding: 15px; } form .btn.btn2{ padding: 14px 60px; font-size: 18px; margin: 15px 0; cursor: pointer; background-color: #c9900b; } .copyright{ width: 100%; text-align: center; padding: 25px 0; background: #262626; font-weight: 300; margin-top: 20px; border: none; } .copyright i{ color: #f0cd55; } /* --------css for small screens-------- */ nav .fa-solid{ display: none; cursor: pointer; } @media only screen and (max-width: 600px) { nav ul { position: fixed; top: 0; right: -200px; background: #f0cd55; width: 200px; height: 100vh; padding-top: 50px; z-index: 2; transition: right 0.5s; } nav ul li{ display: block; margin: 25px; } nav ul .fa-solid{ position: absolute; top: 25px; left: 25px; cursor: pointer; } nav .fa-solid{ display: block; font-size: 25px; right: 20px; } .header-text{ margin-top: 100%; font-size: 16px; } .header-text h1{ font-size: 30px; } .sub-title{ font-size: 40px; } .about-col-1, .about-col-2{ flex-basis: 100%; } .about-col-1{ margin-bottom: 30px; } .about-col-2{ font-size: 14px; } .tab-links{ font-size: 16px; margin-right: 20px; } .tab-contents ul li{ font-size: 12px; } .tab-titles{ display: flex; flex-wrap: wrap; justify-content: center; margin: 20px 0 40px; row-gap: 10px; } .contact-left, .contact-right{ flex-basis: 100%; } .copyright{ font-size: 14px; } }