* {
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;
}
.courseheader{
width: 100%;
height: 50vh;
background-image: linear-gradient(rgba(4,9,30,0.6),rgba(4,9,30,0.6)),url("annie-spratt-QckxruozjRg-unsplash.jpg");
background-position: center;
background-size: cover;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.courseheader h1{
color:#edecec;
font-size: 48px;
font-weight: 700;
}
.courseheader h1{
animation: 1.5s show ease forwards;
transition: 1.5s;
opacity: 0;
}
@keyframes show {
100%{
opacity: 1;
}
}
.courseheader p{
color: #b3b2b2;
font-size: 20px;
animation: 1.5s moveup ease forwards;
transform: translateY(25px);
transition: 1s;
}
@keyframes moveup {
100%{
transform: translateY(0px);
}
}
.container{
width: 100%;
height: 100vh;
padding: 10px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
}
.container h1{
color: #11099d;
font-size: 24px;
}
.cardbox{
width: 90%;
padding: 5px 20px;
height: 80%;
display: flex;
justify-content: space-around;
align-items: center;
gap: 10px;
}
.cards{
background-color: #ffffff;
border: none;
width: 300px;
height: 400px;
border-radius: 10px;
justify-content: space-between;
text-align: center;
padding-bottom: 20px;
border: 1px solid lightgrey;
display: flex;
flex-direction: column;
box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
cursor: pointer;
}
.cards:hover{
box-shadow: 0 0 60px rgba(0, 0, 0, 0.4);
}
.cards{
animation: slide 1s linear forwards;
transform: translateX(50px);
transition: 1s;
}
@keyframes slide {
100%{
transform: translateX(0px);
}
}
.cards img{
width:100%;
height: 50%;
object-fit: cover;
object-position: center;
border-radius: 10px;
}
.cards a{
text-decoration: none;
color:#022d55;
cursor: pointer;
}
.cards p{
color: #424242;
font-size: 16px;
padding: 0px 8px;
line-height: 24px;
}
.cards button{
padding: 12px 20px;
background-color:#42c954;
border-radius: 8px;
border: none;
color: white;
font-weight: 700;
font-size: 16px;
cursor: pointer;
box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}
.quizContainer{
width: 100%;
height: 80vh;
display: flex;flex-direction: column;
justify-content: center;
align-items: center;
}
.quizContainer h1{
margin-top: 30px;
text-align: center;
color: #260484;
}
.quizcard{
width:90%;
height:100%;
display: flex;
}
.quizimg{
width: 40%;;
height: 100%;
margin-top: 50px;
padding: 50px;
}
.quizimg img{
width:100%;
height: 80%;
object-fit: cover;
object-position: center;
border-radius: 8px;
animation: slide 1s linear forwards;
transform: translateX(-50px);
transition: 1s;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
@keyframes slide {
100%{
transform: translateX(0px);
}
}
.quiztheory{
width: 60%;
height: 100%;
display: flex;
flex-direction: column;
padding: 50px 30px 30px 30px;
animation: slide 1s linear forwards;
transform: translateX(50px);
transition: 1s;
}
@keyframes slide {
100%{
transform: translateX(0px);
}
}
.quiztheory h1{
font-size: 30px;
color: #064277;
}
.quiztheory p{
margin: 20px 20px;
}
.quiztheory button{
padding: 12px 20px;
width: 150px;
background-color:#061f7a;
border-radius: 8px;
border: none;
color: white;
font-weight: 700;
font-size: 16px;
cursor: pointer;
margin-bottom: 8px;
margin-left: 20px;
box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
}
.certificate{
width: 100%;
height: 100vh;
padding: 20px 60px;
background-color: #F9F9F9;
}
.heading{
text-align: center;
}
.heading h3{
font-size: 28px;
color: #061d82;
font-weight: 700;
}
.heading p{
font-size: 16px;
color: #414249;
margin-top: 15px;
}
.certificate .box{
background-image:url("13338.jpg"), linear-gradient(rgb(217, 218, 239,0.9)) ;
background-position: center;
background-size: cover;
width: 100%;
height: 80%;
display: flex;
margin-top: 10px;
}
.certificate .imge{
width: 50%;
height: 100%;
}
.certificate .imge img{
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
/* box-shadow: 0 0 30px rgba(0, 0, 0, 0.3); */
}
.box .txt{
width: 50%;
height: 100%;
display: flex;
flex-direction: column;
padding: 30px 30px 30px 50px;
}
.txt h3{
text-align: center;
font-size: 28px;
color: #260484;
margin-left: 0px;
margin-bottom: 30px;
}
.txt p{
font-size: 18px;
}
.txt button{
padding: 10px 20px;
background-color: #260484;
border: none;
border-radius: 8px;
color: white;
width: 130px;
margin-top: 8px;
cursor: pointer;
box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}
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:hover{
margin-left: 8px;
transition: all 0.3s ease;
color: whitesmoke;
}
.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 {
height: 80vh;
padding: 20px 20px;
font-size: 18px;
}
.container button {
padding: 13px 13px;
font-size: 16px;
}
.cardbox{
width: 100%;
}
.quizimg{
width: 55%;
}
.certificate {
height: 120vh;
}
.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;
}
.courseheader h1{
font-size: 35px;
}
.courseheader p{
font-size: 16px;
}
.container {
height: 200vh;
}
.container h1{
font-size: 20px;
}
.cardbox{
flex-direction: column;
height: 100%;
gap: 0px;
}
.cardbox .cards{
width: 80%;
}
.cards img{
height: 55%;
}
.cards h1{
font-size: 32px;
}
.cards p{
font-size: 18px;
}
.quizContainer{
width: 100%;
height: 120vh;
}
.quizContainer h1{
padding: 5px 8px;
}
.quizcard{
flex-direction: column;
}
.quizimg{
padding: 15px;
margin-top: 15px;
width: 100%;
height: 100%;
}
.quizimg img{
height: 100%;
}
.quiztheory{
width:100%;
padding: 5px 5px;
margin-top: 5px;
}
.quiztheory h1{
margin-top: 5px;
}
.quiztheory p{
font-size: 20px;
}
.quiztheory button{
font-size: 18px;
}
.certificate{
width: 100%;
height: 170vh;
padding: 5px 0px;
}
.heading h3{
font-size: 35px;
}
.heading p{
margin-top: 0px;
font-size: 20px;
}
.box{
flex-direction: column;
}
.box .imge{
width: 100%;
height: 50%;
}
.box .txt{
width: 100%;
height: 80%;
}
.txt h3{
margin-right: 30px;
font-size: 32px;
}
.txt p{
font-size: 20px;
}
.txt button{
padding-top: 12px 20px;
margin-top: 15px;
font-size: 18px;
width: 180px;
}
.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 {
height: 200vh;
}
.cardbox{
width: 100%;
padding: 5px 0px;
}
.cardbox .cards{
width: 100%;
}
.cards h1{
font-size: 22px;
}
.cards p{
font-size: 18px;
}
.cards button{
padding: 12px 20px;
font-size: 15px;
}
.quizContainer{
width: 100%;
height: 150vh;
}
.quizContainer h1{
font-size: 24px;
margin-top: 0px;
}
.quizcard{
height: 100%;
}
.quizimg{
width: 100%;
height: 50%;
padding: 0px;
}
.quizimg img{
height: 100%;
width: 100%;
}
.quiztheory{
height: 55%;
}
.quiztheory h1{
font-size: 28px;
}
.quiztheory p{
margin: 0px 10px;
}
.quiztheory button{
margin-top: 20px;
}
.certificate{
height: 190vh;
text-align: center;
}
.heading h3{
font-size: 25px;
text-align: center;
}
.heading p{
font-size: 18px;
text-align: start;
padding: 5px 28px;
}
.imge{
width: 80%;
height: 80%;
}
.imge img{
width: 80%;
height: 80%;
}
.box .txt{
text-align: start;
width: 100%;
margin: 5px;
padding: 10px;
}
.txt p{
align-items: start;
}
.txt button{
margin-top: 30px;
}
.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;
}
.footer-content {
padding: 10px;
}
.footer-content div {
margin: 5px;
}
.footer-content h4 {
font-size: 0.8em;
}
}