* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body {
height: 100%;
width: 100%;
}
body {
font-family: "Roboto", sans-serif;
line-height: 1.6;
}
/* h1,
h2,
h3,
h4,
h5,
h6 {
font-family: "Merriweather", serif;
} */
.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: 20px;
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: 1px 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: 1px 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: 10px 16px;
border-radius: 20px;
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;
color: black;
border-radius: 5px;
text-decoration: none;
}
.sidenav a:hover {
background-color: lightgray;
color: #022d55;
}
.container {
background-image: url("bgimg.jpg");
background-repeat: no-repeat;
background-size: cover;
background-position: center;
width: 100%;
height: calc(100vh - 55px);
text-align: center;
padding: 90px 20px;
font-size: 20px;
color: white;
font-family: "Roboto", sans-serif;
}
.container h1 {
margin: 10px 0px 8px 0px;
animation-delay: 0.5s;
}
.container h3 {
animation-delay: 1s;
}
.container p {
margin: 10px 0px;
padding: 0px 30px;
animation-delay: 1.5s;
}
.container button {
padding: 15px 15px;
border-radius: 30px;
margin: 20px 30px;
font-size: 17px;
border: none;
background-color: #6a994e;
color: white;
cursor: pointer;
animation-delay: 1.5s;
}
.container button:hover {
background-color: #3686d2;
color: black;
}
.anim {
opacity: 0;
transform: translateY(30px);
animation: moveup 0.6s linear forwards;
}
.btnAnim {
opacity: 0;
transform: translateY(20px);
animation: move 0.5s linear forwards;
}
@keyframes move {
100% {
opacity: 1;
transform: translateY(0px);
}
}
@keyframes moveup {
100% {
opacity: 1;
transform: translateY(0px);
}
}
.content {
height: 80vh;
text-align: center;
max-width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 20px 10px;
background-color: white;
border-radius: 8px;
}
.content h1 {
color: #022d55;
margin-bottom: 15px;
}
.content-Container {
width: 90%;
/* height: 100%; */
display: flex;
align-items: center;
justify-content: space-around;
/* justify-content: space-between; */
/* grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); */
position: relative;
gap: 40px;
}
.course {
position: relative;
width: 350px;
height: 350px;
overflow: hidden;
font-weight: 600;
padding: 10px;
border-radius: 12px;
display: flex;
flex-direction: column;
box-shadow: 0 0 60px rgba(0, 0, 0, 0.2);
border: 1px solid lightgrey;
cursor: pointer;
color: white;
}
.course:hover {
box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}
.course {
animation: slide 1s linear forwards;
opacity: 0;
scale: 0.8;
transform: translateX(50px);
}
@keyframes slide {
100% {
opacity: 1;
scale: 1;
transform: translateY(0px);
}
}
.course img {
width: 100%;
height: 80%;
object-fit: cover;
object-position: center;
border-radius: 12px;
padding: 5px 5px 0px 5px;
}
.course h1 {
font-size: 24px;
margin-top: 15px;
font-weight: 700;
color: #082a4a;
}
.about-us {
width: 100%;
height: 90vh;
padding: 50px 70px 0px 72px;
/* background-color: #60acf3; */
display: flex;
}
.aboutimg {
width: 40%;
height: 100%;
/* background-color: #064277; */
display: flex;
position: relative;
padding: 18px 18px;
}
.aboutimg img {
width: 60%;
height: 55%;
border-radius: 15px;
box-shadow: 0 0 60px rgba(0, 0, 0, 0.1);
}
.aboutimg img:hover {
box-shadow: 0 0 60px rgba(0, 0, 0, 0.2);
}
.aboutimg .img2 {
position: absolute;
top: 25%;
left: 35%;
width: 55%;
height: 50%;
object-fit: cover;
}
.aboutimg .img2:hover {
box-shadow: 0 0 60px rgba(0, 0, 0, 0.3);
}
.aboutimg {
opacity: 0;
transform: translateX(-50px);
animation: slide 1s linear forwards;
}
.about-theory {
width: 60%;
height: 90%;
border-radius: 16px;
/* box-shadow: 0 0 60px rgba(0, 0, 0, 0.1); */
display: flex;
flex-direction: column;
color: white;
}
.about-theory h1 {
color: #022d55;
margin: 12px 0px 10px 30px;
font-weight: 700;
}
.about-theory p {
font-size: 20px;
margin: 30px;
color: black;
}
.about-theory button {
margin: 30px;
padding: 12px 16px;
background-color: #022d55;
color: white;
font-size: 15px;
font-weight: 600;
box-shadow: 0 0 60px rgba(0, 0, 0, 0.2);
cursor: pointer;
border: none;
border-radius: 25px;
width: 165px;
border: 2px solid #022d55;
}
.about-theory button:hover {
transition: 0.3s ease;
background-color: white;
color: #022d55;
font-weight: 700;
}
.about-theory h1,
p {
opacity: 0;
transform: translateX(50px);
animation: slide 1s linear forwards;
}
@keyframes slide {
100% {
opacity: 1;
transform: translateX(0px);
}
}
.about-theory button {
opacity: 0;
animation: show 1s linear forwards;
}
@keyframes show {
100% {
opacity: 1;
}
}
.about-theory button a{
text-decoration: none;
color: white;
}
.about-theory button a:hover{
color: #022d55;
}
.contact-us {
width: 100%;
height: 100vh;
display: flex;
flex-direction: column;
/* justify-content: center; */
align-items: center;
text-align: center;
padding: 10px 40px;
}
.contactbox h1 {
font-size: 24px;
color: #022d55;
font-weight: 600;
margin: 10px 0px 10px 0px;
}
.contactbox h4 {
color: black;
font-size: 32px;
}
.contact-container {
width: 100%;
height: 80%;
display: flex;
flex-direction: row-reverse;
}
.contact-container .contactimg {
width: 50%;
height: 100%;
display: flex;
flex-direction: row-reverse;
position: relative;
}
.contact-container .contactimg{
opacity: 0;
transform: translateX(50px);
animation: slide 1s linear forwards;
}
.contactimg img,
.blankdiv {
width: 65%;
height: 65%;
border-radius: 8px;
}
.contactimg .blankdiv {
border: 5px solid #022d55;
margin: 35px 55px;
}
.contactimg img {
position: absolute;
top: 20%;
right: 20%;
}
.contact-container .contact-form {
width: 50%;
height: 100%;
display: flex;
flex-direction: column;
text-align: center;
/* justify-content: center; */
align-items: center;
}
.contact-form form {
width: 80%;
height: 80%;
display: flex;
flex-direction: column;
margin-top: 20px;
padding: 20px 20px;
}
.contact-form form{
opacity: 0;
transform: translateX(-50px);
animation: slide 1s linear forwards;
}
form h1 {
font-size: 28px;
margin-bottom: 20px;
color: #022d55;
}
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: #022d55;
color: white;
border: none;
padding: 12px 10px;
border-radius: 22px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s ease;
}
form button:hover {
background-color: white;
box-shadow: 0 0 60px rgba(0, 0, 0, 0.2);
color: #022d55;
border: 2px solid #022d55;
font-weight: 700;
}
form ul {
display: flex;
list-style: none;
margin-top: 20px;
justify-content: center;
}
form ul li {
padding: 10px 10px;
}
form ul li a {
text-decoration: none;
color: white;
padding: 10px 12px;
background-color: #022d55;
border-radius: 50px;
}
form ul li a:hover {
background-color: white;
color: #022d55;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
transition: 0.3s;
}
footer {
background-color: #111111;
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 .address p {
color: #777777;
}
.footer-content .address i {
margin-right: 10px;
}
.list li a {
color: #777777;
position: relative;
text-align: center;
}
.list li a::before {
content: "";
position: absolute;
transform: translate(-50%, -50%);
left: 50%;
top: 100%;
width: 0;
height: 2px;
background: whitesmoke;
transition-duration: 0.5s;
}
.list li a:hover::before {
width: 70px;
}
.social-media li {
display: inline-block;
margin: 10px 15px;
/* text-align: center; */
}
.social-media li a {
text-decoration: none;
padding: 10px 12px;
border-radius: 60px;
border: 1px solid #777777;
color: #777777;
}
.social-media li a:hover {
color: #022d55;
border: none;
background-color: whitesmoke;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
transition: 0.3s;
}
.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;
color: #777777;
}
@media (max-width: 1024px) {
.header h1 {
font-size: 1.5em;
}
.header a {
font-size: 15px;
}
.header button {
font-size: 15px;
padding: 9px 18px;
}
.container {
padding: 70px 20px;
font-size: 18px;
}
.container button {
padding: 13px 13px;
font-size: 16px;
}
.footer-content h4 {
font-size: 1.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;
}
.container {
padding: 50px 20px;
font-size: 17px;
}
.container button {
padding: 12px 12px;
font-size: 15px;
}
.content {
width: 100%;
height: 200vh;
padding-bottom: 0px;
justify-content: start;
}
.content-Container {
display: flex;
flex-direction: column;
width: 100%;
height: 90%;
gap: 0px;
}
.course {
position: relative;
width: 80%;
height: 100%;
}
.course h1 {
font-size: 32px;
}
.about-us {
width: 100%;
height: 100vh;
padding: 20px 5px 30px 5px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: start;
/* justify-content: center; */
}
.aboutimg {
width: 75%;
height: 40%;
display: flex;
position: relative;
padding: 18px 8px;
}
.aboutimg img {
width: 60%;
height: 90%;
}
.aboutimg .img1 {
margin-left: 10px;
}
.aboutimg .img2 {
height: 80%;
}
.about-theory {
width: 90%;
height: 45%;
border-radius: 16px;
/* box-shadow: 0 0 60px rgba(0, 0, 0, 0.1); */
display: flex;
flex-direction: column;
color: white;
}
.about-theory h1 {
margin: 0px 0px 10px 0px;
}
.about-theory p {
font-size: 16px;
margin: 10px 0px;
}
.about-theory button {
margin: 20px 0px;
padding: 12px 16px;
font-size: 15px;
font-weight: 600;
}
.contact-us {
width: 100%;
height: 150vh;
justify-content: start;
}
.contact-container {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
padding: 0px 5px;
}
.contact-container .contactimg {
width: 70%;
height: 60%;
position: relative;
}
.contactimg img {
width: 80%;
height: 60%;
position: absolute;
top: 20%;
border-radius: 10px;
}
.contactimg .blankdiv {
width: 80%;
height: 60%;
margin: 30px 0px 20px 30px;
border: 6px solid #022d55;
border-radius: 10px;
}
.contact-container .contact-form {
width: 100%;
height: 80%;
}
.contact-form form {
width: 100%;
height: 100%;
}
.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;
}
.container {
padding: 30px 15px;
}
.container h1 {
font-size: 20px;
}
.container h3 {
font-size: 16px;
}
.container button {
margin: 10px 10px;
padding: 10px 10px;
font-size: 14px;
}
.content {
width: 100%;
height: 200vh;
}
.content h1 {
font-size: 28px;
}
.content-Container {
display: flex;
flex-direction: column;
width: 100%;
height: 90%;
gap: 0px;
}
.course {
position: relative;
width: 90%;
height: 100%;
}
.course h1 {
font-size: 32px;
}
.content-Container {
height: 100%;
}
.about-us {
height: 130vh;
}
.aboutimg {
width: 85%;
height: 30%;
padding: 0px 8px;
position: relative;
}
.aboutimg .img2 {
position: absolute;
top: 20%;
}
.about-theory {
width: 90%;
height: 70%;
}
.contact-us {
width: 100%;
padding: 0px 10px;
}
.contactbox h1 {
font-size: 24px;
}
.contactbox h4 {
font-size: 30px;
}
.contact-container .contactimg {
width: 100%;
height: 100%;
}
.contactimg .blankdiv {
border: 5px solid #022d55;
}
.contact-container .contact-form {
width: 100%;
height: 60%;
}
.contact-form form {
padding-top: 0px;
margin-top: 0px;
align-items: center;
}
form h1 {
font-size: 20px;
}
form button {
width: 100%;
font-size: 12px;
padding: 10px 0px;
}
.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;
}
.container {
padding: 30px 10px;
font-size: 15px;
}
.container button {
padding: 8px 8px;
font-size: 13px;
}
.about-us {
height: 150vh;
}
.aboutimg {
height: 25%;
}
.contact-us .contactbox h1 {
font-size: 18px;
}
.contact-us .contactbox h4 {
font-size: 24px;
}
.footer-content {
padding: 10px;
}
.footer-content div {
margin: 5px;
}
.footer-content h4 {
font-size: 0.8em;
}
}