HTMLify

new.css
Views: 22 | Author: itintern
* {
    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: 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: 1;
    /* 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;
  }

  .sidenav a:visited{
    color: #0000EE;
  }
  .containers {
    background-image: url("bg.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;
  }
  .containers h1{
    margin: 10px 0px 8px 0px;
    animation-delay: 0.5s;
  }
  .containers h3{
    animation-delay: 1s;
  }
  .containers p {
    margin: 10px 0px;
    padding: 0px 30px;
    animation-delay: 1.5s;
  }
  
  .containers 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;
  }
  
  .containers button:hover {
    background: linear-gradient(150deg, #022c51, #6fb6f9);
    color: white;
  }
  
  .anim{
    opacity: 0;
    transform: translateY(30px);
    animation: moveup 0.6s linear forwards;
  }
  .btnAnim{
    opacity: 0;
    transform: translateY(20px);
    animation: move 0.5s linear forwards;
    /* color: black; */
    background: linear-gradient(150deg, #4692d4, #12395d);
  }
  @keyframes move {
    
     100%{
      opacity: 1;
      transform: translateY(0px);
     }
  }
  @keyframes moveup {
      100%{
        opacity: 1;
        transform: translateY(0px);
      }  
  }
  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 {
    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-content a:hover {
    text-decoration: none;
    color: rgb(105, 179, 45);
  }
  
  .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;
    }
    .containers {
      padding: 70px 20px;
      font-size: 18px;
    }
    .containers 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;
    }
    .containers {
      padding: 50px 20px;
      font-size: 17px;
    }
    .containers button {
      padding: 12px 12px;
      font-size: 15px;
    }
    .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;
    }
    .containers {
      padding: 40px 15px;
      font-size: 16px;
    }
    .containers button {
      padding: 10px 10px;
      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;
    }
    .containers {
      padding: 30px 10px;
      font-size: 15px;
    }
    .containers button {
      padding: 8px 8px;
      font-size: 13px;
    }
    .footer-content {
      padding: 10px;
    }
    .footer-content div {
      margin: 5px;
    }
    .footer-content h4 {
      font-size: 0.8em;
    }
  }
  
ul.social {
  display: flex;
  justify-content: center;
  list-style: none;
}

footer ul.social a:hover{
    color: #0081a7;
}

.social li a{
    margin: 0 10px 0 10px;
}
  
.section h4 {
  border-bottom: 3px solid rgb(3, 198, 3); 
  width:100px;
  border-radius:5px 0 15px 0;
  display: inline-block;
  padding-bottom: 5px; 
  background: linear-gradient(to right, rgb(2, 67, 2), transparent);
}

.modal-content{
  /* top:-50%; */
  position: fixed;
  width: 420px;
  /* margin-top:100px; */
  /* margin-left:100; */
  /* transition: 10s; */
  /* transform: translate(25%, 25%); */
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: .3rem;
  outline: 0;
  box-shadow: 0px 0px 10px 3px #ccc;
} 
.modal-dialog {
  /* top:0%; */
  /* position: relative; */
  /* width: auto; */
  /* display:none; */
  margin: .5rem;
  pointer-events: none;
}

.modal{
  background-color:#88868669;
    position: fixed;
     /* top: -50%; */
    /* left: 0;  */
    z-index: 1050;
    /* display: none; */
     /* width: 420px; */
    /* height: 100%;  */
    /* transition: 200s; */
    overflow: hidden;
    outline: 0;
}

/* div {
  display: block;
  unicode-bidi: isolate;
} */

@media (max-width:1020px) {
  .modal-content{
    max-width:90%;
  }
}

@media (max-width:7px) {
  .modal-content{
    max-width:90%;
  }
}

@media (max-width:320px) {
  .modal-content{
    max-width:90%;
  }
}

@media (max-width:480px) {
  .modal-content{
    max-width:95%;
  }
}

.modal-header{
  display: -ms-flexbox;
    display: flex;
    /* -ms-flex-align: start; */
    align-items: flex-start;
    /* -ms-flex-pack: justify; */
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(.3rem - 1px);
    border-top-right-radius: calc(.3rem - 1px);
}

.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
}

.h5, h5 {
  font-size: 1.25rem;
}

.close {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
}

button.close {
  padding: 0;
  background-color: transparent;
  border: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.modal-header .close {
  padding: 1rem 1rem;
  margin: -1rem -1rem -1rem auto;
}

form {
  display: block;
  margin-top: 0em;
  unicode-bidi: isolate;
}

.modal-body {
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.modal-footer{
  display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: .75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(.3rem - 1px);
    border-bottom-left-radius: calc(.3rem - 1px);
}

.modal-footer>* {
  margin: .25rem;
}

.btn {
  display: inline-block;
  font-weight: 400;
  color: #212529;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: .25rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-primary {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.btn-secondary {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

label {
  display: inline-block;
  margin-bottom: .5rem;
}

.form-control {
  display: block;
  width: 100%;
  height: calc(1.5em + .75rem + 2px);
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

Comments