HTMLify

about.css
Views: 22 | Author: tanishkak
* {
  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;
}
.sidenav a:hover{
  background-color: lightgray;
  color: #022d55;
}
.about{
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 80px;
  gap: 30px;
  width: 100%;
  height: calc(100vh - 55px);
  font-size: 25px;
  color: black;
  font-family: "Roboto", sans-serif;
}
.about img{
  width: 20%;
  height: 40%;
}
.theory{
  width:60%;
  height: 70%;
  font-size: 20px;
  padding-top: 50px;
}
.us{
  width: 100%;
  height: 100vh;
  color: white;
}
.join{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  height: 40%;
}
.join img{
  width: 25%;
  height: 40%;
}
.right{
  width:60%;
  height: 70%;
  font-size: 18px;
}
.wca{
  width: 100%;
  height: 60%;
  text-align: center;
}
.wca p{
  font-size: 20px;
  text-align: center;
  padding: 0px 30px;
  
}
.wca ul {
  list-style-type: none;
  padding: 10px 0px;
  margin: 0;
  font-size: 20px;
}

.wca ul li::before {
  content: '✓'; 
  color: #003566;
  font-weight: bold;
  width: 10px; 
}

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;
  }
  .about {
    padding-top: 40px;
    font-size: 30px;
flex-direction: column;
height: auto;

}

.about img {
    width: 30%;
    height: 30%;
}

.theory {
    width: 70%;
    font-size: 25px;
}
.join {
  gap: 5px;
  height: auto;
flex-direction: column-reverse;
}

.join img {
  width: 38%;
  height: 35%;
}

.right {
  width: 70%;
  font-size: 30px;
}

.wca h1{
font-size: 30px;
padding-top: 20px;
}

.wca p {
  font-size: 30px;
  padding: 100px 40px;
}

.wca ul {
  font-size: 30px;
}
  .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;
  }
  .about {
    padding-top: 40px;
    font-size: 20px;
   flex-direction: column;
}

.about img {
    width: 30%;
    height: 30%;
}

.theory {
    width: 80%;
    font-size: 16px;
    padding-top: 30px;
}
.join {

  gap: 5px;
  flex-direction: column-reverse;
  height: auto;
}

.join img {
  width: 40%;
  height: auto;
}

.right {
  width: 80%;
  font-size: 14px;
}
.wca{
height: auto;
}
.wca p {
font-size: 13px;
padding: 0px 15px;
}

.wca ul {
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;
  }
  .about {
    padding-top: 20px;
    font-size: 18px;
}

.about img {
    width: 40%;
    height: 25%;
}

.theory {
    width: 90%;
    font-size: 14px;
    padding-top: 20px;
}
.join {
  gap: 5px;
  height: auto;
}

.join img {
  width: 50%;
  height: 25%;
}

.right {
  width: 90%;
  font-size: 12px;
}
.wca{
height: auto;
}
.wca p {
font-size: 14px;
padding: 0px 10px;
}

.wca ul {
font-size: 14px;
}
  .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;
  }
  .about {
    padding-top: 10px;
    font-size: 16px;
}

.about img {
    width: 50%;
    height: 20%;
}

.theory {
    width: 100%;
    font-size: 12px;
    padding-top: 10px;
}
.join {
  gap: 5px;
  height: auto;
}

.join img {
  width: 60%;
  height: 20%;
}

.right {
  width: 100%;
  font-size: 10px;
}

.wca p {
  font-size: 12px;
  padding: 0px 5px;
}
.wca ul {
font-size: 12px;
}

  .footer-content {
    padding: 10px;
  }
  .footer-content div {
    margin: 5px;
  }
  .footer-content h4 {
    font-size: 0.8em;
  }
}

Comments