* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
height: 100%;
width: 100%;
}
body {
font-family: "Roboto", sans-serif;
line-height: 1.6;
}
/* Global styles for header, buttons, etc. */
.header a,
.header button {
font-family: "Roboto", sans-serif;
}
.main {
height: 100%;
width: 100%;
}
.header {
width: 100%;
height: 55px;
padding: 10px 20px;
background-color: white;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 0.5px solid rgb(167, 163, 163);
}
.header h1 {
margin: 0;
color: #003566;
font-size: 1.8em;
}
.header a {
color: black;
text-decoration: none;
margin: 0 30px;
font-size: 16px;
cursor: pointer;
border-radius: 5px;
padding: 5px 5px;
}
.header a:hover {
text-decoration: none;
color: #022d55;
background-color: lightgrey;
}
.header button {
background-image: linear-gradient(to right, #022d55, #0081a7);
border: none;
border-radius: 10px;
padding: 10px 20px;
cursor: pointer;
font-size: 16px;
color: white;
}
.header button:hover {
background-image: linear-gradient(to right, #73b2ee, #1f588d);
}
.header i {
display: none;
font-size: 16px;
padding: 0 5px;
border: 2px solid lightgray;
border-radius: 5px;
cursor: pointer;
}
.header i:hover {
background-color: lightgray;
}
.sidenav {
width: 250px;
height: 100vh;
position: fixed;
right: 0;
top: 0;
z-index: 999;
background-color: white;
box-shadow: -10px 0 10px rgb(0, 0, 0, 0.2);
display: none;
flex-direction: column;
align-items: flex-start;
justify-content: flex-start;
padding: 0 8px;
animation: slideIn 0.5s forwards;
}
@keyframes slideIn {
from {
transform: translateX(100%);
}
to {
transform: translateX(0);
}
}
.sidenav i {
margin: 12px 0 12px 8px;
cursor: pointer;
border: 2px solid lightgray;
padding: 0 5px;
border-radius: 5px;
}
.sidenav i:hover {
background-color: lightgray;
}
.sidenav button {
background-image: linear-gradient(to right, #022d55, #0081a7);
margin: 8px 5px;
padding: 8px 12px;
border-radius: 16px;
border: none;
cursor: pointer;
color: white;
box-shadow: 0px 5px 3px rgb(0, 0, 0, 0.2);
}
.sidenav button:hover {
background-image: linear-gradient(to right, #064277, #12395d);
}
.sidenav a {
margin: 5px 0px;
padding: 5px 8px;
cursor: pointer;
border-radius: 5px;
}
.sidenav a:hover {
background-color: lightgray;
color: #022d55;
}
.quary {
display: flex;
justify-content: center;
align-items: center;
padding-top: 80px;
gap: 5px;
width: 100%;
height: calc(100vh - 55px);
color: black;
font-family: "Roboto", sans-serif;
}
.theory {
width: 60%;
height: 70%;
font-size: 20px;
padding-top: 50px;
padding-left: 40px;
line-height: 2;
}
.quary img {
width: 30%;
height: 70%;
}
.gettouch {
width: 100%;
height: 50vh;
text-align: center;
padding: 30px 50px;
font-size: 20px;
}
.gettouch ul {
display: flex;
justify-content: center;
align-items: center;
list-style-type: none;
padding-top: 40px;
font-size: 20px;
gap: 90px;
}
.gettouch li {
border: none;
background-color: #003566;
width: 60px;
border-radius: 10px;
}
.gettouch a {
color: white;
text-decoration: none;
}
.gettouch li:hover {
background-color: white;
}
.gettouch a:hover {
color: #003566;
}
.message {
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
height: 100vh;
}
.box {
display: flex;
background-color: #f9f9f9;
padding: 20px;
border: 1px solid #ccc;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
max-width: 700px;
width: 100%;
height: 80%;
}
.box img {
max-width: 40%;
height: 100%;
display: block;
margin: 0 auto 20px;
}
form {
display: flex;
flex-direction: column;
width: 70%;
margin-left: 30px;
}
form h1 {
margin-top: 40px;
margin-bottom: 20px;
font-size: 24px;
text-align: center;
}
form input,
form textarea {
width: 100%;
padding: 10px;
margin-bottom: 20px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 16px;
}
form button {
width: 40%;
background-color: #007bff;
color: white;
border: none;
padding: 10px;
border-radius: 4px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s ease;
}
form button:hover {
background-color: #0056b3;
}
footer {
background-color: rgb(26, 23, 23);
color: white;
padding: 15px 0px;
text-align: center;
font-family: "Roboto", sans-serif;
}
.footer-content {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
padding: 15px;
}
.list li {
position: relative;
text-align: center;
}
.list li::before {
content: '';
position: absolute;
transform: translate(-50%, -50%);
left: 50%;
top: 100%;
width: 0;
height: 2px;
background: #003566;
transition-duration: 0.5s;
}
.list li:hover::before {
width: 80px;
}
.social-media li {
display: inline-block;
margin: 0px 15px;
}
.social-media i:hover {
color: #033869;
}
.footer-content div {
flex: 1;
margin: 8px;
min-width: 200px;
}
.footer-content h4 {
margin-bottom: 10px;
text-transform: uppercase;
font-family: "Roboto", sans-serif;
}
.footer-content p,
.footer-content ul,
.footer-content a {
margin: 5px 0;
}
.footer-content ul {
list-style-type: none;
padding: 0;
}
.footer-content a {
color: white;
text-decoration: none;
}
.footer-bottom {
padding: 5px 0;
font-size: 17px;
}
.footer-bottom p {
margin: 0;
}
/* Media Queries for Responsive Design */
/* Large devices (desktops, 1024px and up) */
@media (max-width: 1024px) {
.header h1 {
font-size: 1.6em;
}
.header a {
font-size: 14px;
}
.quary img {
width: 35%;
}
.theory {
width: 65%;
}
}
/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
.header {
flex-direction: column;
height: auto;
padding: 10px;
}
.header h1 {
font-size: 1.4em;
}
.header a {
margin: 10px 15px;
font-size: 14px;
}
.quary {
flex-direction: column;
}
.quary img {
width: 50%;
}
.theory {
width: 80%;
padding-left: 20px;
}
}
/* Small devices (phones, 480px and up) */
@media (max-width: 480px) {
.header h1 {
font-size: 1.2em;
}
.header a {
margin: 5px 10px;
font-size: 12px;
}
.quary {
padding-top: 60px;
}
.quary img {
width: 70%;
}
.theory {
width: 90%;
padding-left: 10px;
font-size: 18px;
}
}
/* Extra small devices (phones, 320px and up) */
@media (max-width: 320px) {
.header h1 {
font-size: 1em;
}
.header a {
margin: 5px 5px;
font-size: 10px;
}
.quary {
padding-top: 40px;
}
.quary img {
width: 90%;
}
.theory {
width: 95%;
padding-left: 5px;
font-size: 16px;
}
}