@import url('https://fonts.googleapis.com/css2?family=Potta+One&display=swap');

*{
   box-sizing: border-box;
   padding: 0;
   margin: 0;
}

body {
  font-family: 'Potta One', sans-serif;
  color: #000000;
  line-height: 1.6;

}

ul {
  list-style-type: none;

}

a{
  text-decoration: none;
  color:#333;

}

h1,
h2 {
  font-weight: 300;
  line-height: 1.2;
  margin: 10px 0;
  
}

p {
  margin: 10px 0;

}

img {
  width: 100%;
}

.hidden {
  visibility: hidden;
  height: 0;
}
/* navbar */
.navbar{
   background-color: #44479c;
   color: #fff;
   height:70px;
}

.navbar ul {
  display: flex;
}

.navbar a {
  color: #fff;
  padding: 10px;
  margin: 0 5px;
}

.navbar a:hover {
  border-bottom: 2PX #fff solid;
}

.showcase {
  height: 400px;
  background-color:#44479c ;
  color: #fff;
  position: relative;
}

.showcase h1{
  font-size: 40px ;
}

.showcase p{
  margin: 20px 0;
}

.showcase .grid {
  overflow: visible;
  grid-template-columns: 55% 45%;
  gap: 30px;
}

.showcase-text {
  animation: slideInFromLeft 1s ease-in;
}

.showcase-form {
  position: relative;
  top: 60px;
  height: 350px;
  width: 400px;
  padding: 40px;
  z-index: 100;
  justify-self: flex-end;
  animation: slideInFromRight 1s ease-in;
}

.showcase-form .form-control {
  margin: 30px 0;
}

.showcase-form input[type= 'text'],
.showcase-form input[type='email'] {
  border: 0;
  border-bottom: 1px solid #b4becb;
  width: 100%;
  padding: 3px;
  font-size: 16px;
}

.showcase-form input:focus {
  outline: none;
}

.showcase::before,
.showcase::after {
  content: '';
  position: absolute;
  height: 100px;
  bottom: -70px;
  right: 0;
  left: 0;
  background-color: red;
  transform: skewY(-3deg);
  -webkit-transform: skewY(-3deg);
  -moz-transform: skewY(-3deg);
  -ms-transform: skewY(-3deg);
}

.stats {
padding-top: 100px;
animation: slideInFromBottom 1s ease-in;
}

.stats-heading {
  font-size: 19px;
  max-width: 500px;
  padding: 20px;
  margin: auto;
  
}

.stats .grid h3 {
  font-size: 20px;
}

.stats .grid p {
  font-size: 20px;
  font-weight: bold  ;
}

/* ulititiesz*/
.container {
  max-width: 1100px;
  margin: 0 auto;
  overflow: auto;
  padding: 0 40px;
}

.card {
  background-color: #fff;
  color: #333;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  padding: 20px;
  margin: 10px;
}

.btn {
  display: inline-block;
  padding: 10px 30px;
  cursor: pointer;
  background-color: red;
  color: #fff;
  border: none;
  border-radius: 5px;
}

.btn-outline {
  background-color: transparent;
  border: 1px #fff solid;
}

.btn:hover {
  transform: scale(0.98);
}

/* background colour button */
.bg-primary,
.btn-primary {
  background-color: #15f4ee;
  color: #fff;
}

.bg-secondary,
.btn-secondary {
  background-color: red;
  color: #fff;
}

.bg-dark,
.btn-dark {
  background-color: #002240;
  color: #fff;
} 

.bg-primary a ,
.btn-primary a,
.bg-secondary a,
.btn-secondary a,
.bg-dark a,
.btn-dark a {
  color: #fff;

}

.bg-light,
.btn-light {
  background-color: #f4f4f4;
  color: #333;
}
/* text colors */

 
.text-primary {
  color: red;
  
}


.text-secondary {
  color: darkgreen;
  
}


.text-dark {
  color: #002240;
  
} 

.text-light {
 color: #f4f4f4;
  
}
/* text size */
.lead {
  font-size: 20px;
}

.sm {
  font-size: 1rem;
}

.md {
  font-size: 2rem;
}

.lg {
  font-size: 3rem;
}

.xl {
  font-size: 4rem;
}

.text-centre {
  text-align: center;
  
}

/* alert */
.alert {
  background-color: red;
  color: #f4f4f4;
  padding: 10px 20px;
  font-weight: bold;
  margin: 15px 0;
 }

 .alert i {
   margin-right: 10px; 
 }

 .alert-success {
   background-color: red;
   color: white;
 }



.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);  
}

/*margin */
 .py-1 {
   margin: 1rem 0;
 }

 .py-2 {
  margin: 1.5rem 0;
}

.py-3 {
  margin: 2rem 0;
}

.py-4 {
  margin: 3rem 0;
}

.py-5 {
  margin: 4rem 0;
}

.m-1 {
  margin: 5 rem ;
}

.m-2 {
 margin: 1.5rem ;
}

.m-3 {
 margin: 2rem ;
}

.m-4 {
 margin: 3rem ;
}

.m-5 {
 margin: 4rem ;
}

/* padding */

.py-1 {
  padding: 1rem 0;
}

.py-2 {
 padding: 1.5rem 0;
}

.py-3 {
 padding: 2rem 0;
}

.py-4 {
 padding: 3rem 0;
}

.py-5 {
 padding: 4rem 0;
}

.p-1 {
 padding: 5 rem ;
}

.p-2 {
padding: 1.5rem ;
}

.p-3 {
padding: 2rem ;
}

.p-4 {
padding: 3rem ;
}

.p-5 {
padding: 4rem ;
}

/* cloud */
.cloud .grid {
  grid-template-columns: 4fr 3fr;
}

/*languages */

.languages .flex {
  flex-wrap: wrap;
}

.languages .card {
  text-align: center;
  margin: 18px 10px 40px;
  transition: transform 0.2s ease-in;
}

.languages .card h4 {
  font-size: 20px;
  margin-bottom: 10px;

}

.languages .card:hover {
  transform: translateY(-15px);
}

/*features */
.features-head img, .docs-head img {
  width: 200px;
  justify-self: flex-end;

}

.features-sub-head img {
  width: 300px;
  justify-self: flex-end;
}

.features-main .card > i {
  margin-right: 20px;

}

.features-main .grid {
  padding: 30px;
}

.features-main .grid > *:first-child{
  grid-column: 1/ span 3;
}

.features-main .grid > *:nth-child(2) {
  grid-column: 1/ span 2;
}

/*docs*/
.docs-main h3{
  margin: 20px 0;
}

.dics-main .grid {
grid-template-columns: 1fr 2fr;
align-items: flex-start;
}

.docs-main nav li {
  font-size: 17px;
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 1px #ccc solid;
}

/* footer */
.footer .social a {
  margin: 0 10px;
}

/* Animations */
@keyframes slideInFromLeft {
  0% {
        transform: translateX(-100%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  0% {
        transform: translateX(100%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes slideInFromTop {
  0% {
        transform: translateY(-100%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes slideInFromBottom {
  0% {
        transform: translateY(100%);
  }

  100% {
    transform: translateX(0);
  }
}

/* tablet */
@media(max-width: 768px) {
  .grid,
  .showcase .grid,
  .stats .grid,
  .cli .grid,
  .cloud .grid,
  .features-main .grid,
  .docs-main .grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .showcase {
    height: auto;

  }

  .showcase-text {
    text-align: center;
    margin-top: 40px;
  }

  .showcase-form {
    justify-self: center;
    margin: auto;
  }
}

.features-head,
.features-sub-head,
.docs-head {
  text-align: center;
}

.features-head img,
.features-sub-head img,
.docs-head img {
  justify-self: center;
}

.features-main .grid > *:first-child,
.features-main .grid > *:nth-child(2) {
  grid-column: 1;
}

/*mobile*/
@media(max-width: 500px) {
  .navbar {
    height: 110px;
  }

  .navbar .flex {
    flex-direction: column;
  }

  .navbar ul {
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.1;
  }
}
