* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body {
height: 100%;
width: 100%;
}
body {
font-family: "Roboto", sans-serif;
line-height: 1.6;
}
.header a {
font-family: "Roboto", sans-serif;
}
.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: rgb(255,255,255,0.2);
backdrop-filter: blur(10px); */
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;
text-decoration: none;
}
.sidenav a:hover{
background-color: lightgray;
color: #022d55;
text-decoration: none;
}
.sidenav a:visited{
color:#0000EE;
}
.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{
/* margin-top:120px; */
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: 850px;
width: 100%;
height: 80%;
}
.box img {
max-width: 420px;
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;
/* text-align: center; */
}
.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 (max-width: 1024px) {
.header h1 {
font-size: 1.5em;
}
.header a {
font-size: 15px;
}
.header button {
font-size: 15px;
padding: 9px 18px;
}
.quary {
flex-direction: column;
padding-top: 40px;
gap: 10px;
}
.theory {
width: 80%;
height: auto;
font-size: 18px;
padding-top: 30px;
padding-left: 20px;
}
.quary img {
width: 50%;
height: auto;
}
.gettouch {
padding: 20px 30px;
font-size: 18px;
}
.gettouch ul {
gap: 60px;
}
.gettouch li {
width: 50px;
}
.box {
flex-direction: column;
align-items: center;
padding: 15px;
height: auto;
}
.box img {
max-width: 100%;
height: auto;
margin: 0 0 20px 0;
}
form {
width: 100%;
margin-left: 0;
}
form h1 {
font-size: 22px;
}
form button {
width: 100%;
font-size: 15px;
}
.footer-content h4 {
font-size: 1em;
}
}
@media (max-width: 768px) {
.header h1 {
font-size: 1.5em;
}
.header button {
display: none;
}
.headerLinks{
display: flex;
align-items: center;
justify-content: center;
}
.headerLinks a{
display: none;
}
.headerLinks i{
display: block;
}
.sidenav{
display: none;
}
.quary {
padding-top: 30px;
}
.theory {
width: 90%;
font-size: 16px;
padding-top: 100px;
padding-left: 15px;
}
.quary img {
width: 70%;
}
.gettouch {
padding: 15px 20px;
font-size: 16px;
}
.gettouch ul {
/* flex-direction: column; */
gap: 20px;
padding-top: 20px;
}
.gettouch li {
width: 50px;
}
.box {
padding: 10px;
}
form h1 {
font-size: 20px;
}
form input,
form textarea {
font-size: 14px;
}
form button {
font-size: 14px;
}
.footer-content {
flex-direction: column;
align-items: center;
}
.footer-content h4 {
font-size: 1em;
}
}
@media (max-width: 480px) {
.header {
padding: 10px;
}
.header h1 {
font-size: 1.5em;
}
.header a {
font-size: 13px;
margin: 5px 0;
}
.header button {
font-size: 13px;
padding: 7px 14px;
}
.header i{
display: block;
}
.quary {
padding-top: 20px;
}
.theory {
width: 95%;
font-size: 14px;
padding-top: 10px;
padding-left: 10px;
}
.quary img {
width: 80%;
}
.gettouch {
padding: 10px 15px;
font-size: 14px;
}
.gettouch ul {
gap: 15px;
padding-top: 15px;
}
.gettouch li {
width: 45px;
}
.box {
padding: 8px;
}
form h1 {
font-size: 18px;
}
form input,
form textarea {
font-size: 13px;
}
form button {
font-size: 13px;
}
.footer-content {
padding: 15px;
}
.footer-content h4 {
font-size: 0.9em;
}
}
@media (max-width: 320px) {
.header {
padding: 5px;
}
.header h1 {
font-size: 1em;
}
.header a {
font-size: 12px;
}
.header button {
font-size: 12px;
padding: 5px 10px;
}
.header i{
display: block;
}
.quary {
padding-top: 10px;
}
.theory {
width: 100%;
font-size: 12px;
padding-top: 5px;
padding-left: 5px;
}
.quary img {
width: 90%;
}
.gettouch {
padding: 5px 10px;
font-size: 12px;
}
.gettouch ul {
gap: 10px;
padding-top: 10px;
}
.gettouch li {
width: 40px;
}
.box {
padding: 5px;
}
form h1 {
font-size: 16px;
}
form input,
form textarea {
font-size: 12px;
}
form button {
font-size: 12px;
}
.footer-content {
padding: 10px;
}
.footer-content div {
margin: 5px;
}
.footer-content h4 {
font-size: 0.8em;
}
}
footer {
background-color: black;
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;
}
.footer-content div {
flex: 1;
margin: 8px;
min-width: 200px;
}
.footer-content h4 {
border-bottom: 3px solid rgb(3, 198, 3);
margin-bottom: 10px;
border-radius: 10px 0 15px 0;
text-transform: uppercase;
font-family: "Roboto", sans-serif;
background: linear-gradient(to right, rgb(2, 67, 2), transparent);
display: inline-block;
padding-bottom: 5px;
padding-top:5px;
width:120px;
font-size:1.2em;
}
.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-content a:hover {
text-decoration: none;
color: rgb(105, 179, 45);
}
.footer-bottom {
padding: 5px 0;
font-size: 17px;
}
.footer-bottom p {
margin: 0;
}