@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap');

:root {
  --primary-color: #8FCBB5;
  --secondary-color: #1c3fa8;
  --dark-color: black;
  --light-color: #f4f4f4;
  --success-color: #5cb85c;
  --error-color: #d9534f;   
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: 'Lato', sans-serif;
  color: #333;
  line-height: 1.6;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: #333;
}

h1,
h2 {
  font-weight: 600;
  line-height: 1.2;
  margin: 10px 0;
} 

.logo {
  font-weight: 600;
  font-size: 30px;
}

p {
  margin: 10px 0;
}
img {
  width: 100%;
  height: 400px;
}

code,
pre {
  background: #333;
  color: #fff;
  padding: 10px;
}

.hidden {
  visibility: hidden;
  height: 0;
}

/*Nav Bar */

.navbar {
  background-color: var(--primary-color);
  color: #1F3A3D;
;
  height: 70px;
}

.navbar ul {
  display: flex;
}

.navbar a {
  color: #1F3A3D;
  padding: 10px;
  margin: 0 5px;
}

.navbar a:hover {
  border-bottom: 2px black solid;
}

.navbar .flex {
  justify-content: space-between;
}

/* Showcase */
.showcase {
  height: 500px;
  background: linear-gradient(rgba(0,0,0,0.5), #8FCBB5);
  color: #2F3E3A;
  position: relative;
}

.showcase h1 {
  font-size: 40px;
}

.showcase p {
  margin: 20px 0;

}

/*.showcase a {
  color: #1F3A3D;
  border: 20x solid black;
;

}*/
.showcase .grid {
  overflow: visible;
  grid-template-columns: 55% auto;
  gap: 30px;
}



/*.showcase::before,
.showcase::after {
  content: '';
  position: absolute;
  height: 100px;
  bottom: -70px;
  right: 0;
  left: 0;
  background: red;
 
}*/

/* Packages */
.package-items {
  padding-top: 50px;
  
}

.package-items-heading {
  max-width: 500px;
  margin: auto;
}

.package-items .grid h3 {
  font-size: 20px;
}

.package-items .grid p {
  font-size: 20px;
  font-weight: bold;
}

.packages {
  border-radius: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  padding: 20px;
  margin: 10px;
  line-height: 25px;
}

.packages #plus{
   border:1px solid black;
   border-radius: 50%;

}

.package-list {
  list-style-type: square;
  margin-top: 10px;
}

/* Stats x */




/* Banner */

.banner {
    background-color: var(--primary-color);
    color: #1F3A3D;
}
.banner .grid {
  grid-template-columns: 4fr 3fr;
}

/* Projects */

.projects .flex {
  flex-wrap: wrap;
}

.projects .card {
  text-align: center;
  margin: 18px 10px 40px;
  transition: transform 0.2s ease-in;
  width: 50%;
}

.projects .card h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

.projects .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;
}

.docs-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;
}

.docs-main a:hover {
  font-weight: bold;
}

/* Footer */
.footer .social a {
  margin: 0 10px;
}

/* Animations */
@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0);
  }
}





/* Tablets and under */
@media (max-width: 768px) {
  .grid,
  .showcase .grid,
  .package-items .grid,
  .banner .grid,
  .features-main .grid,
  .docs-main .grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .showcase {
    height: auto;
  }
 
img {
  max-width: 100%;
  height: auto;
}
  .showcase-text {
    text-align: center;
    margin-top: 40px;
    animation: slideInFromTop 1s ease-in;
  }



  .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);
  }

  .showcase-text {
    text-align: center;
    margin-top: 40px;
    animation: slideInFromTop 2s ease-in;
  }
  .projects .card{
     width: 100%;
  }
  

}

@media (max-width: 360px) {
  .navbar {
    height: 170px;
  }

  .navbar .flex {
    flex-direction: column;
  }

  .navbar ul {
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.1);
  }

  .showcase-text {
    text-align: center;
    margin-top: 40px;
    animation: slideInFromTop 2s ease-in;
  }
  
  .projects .card{
     width: 100%;
  }
}

@media (max-width: 260px) {
  .navbar {
    height: 170px;
  }

  .navbar .flex {
    flex-direction: column;
  }

  .navbar ul {
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.1);
  }

  .showcase-text {
    text-align: center;
    margin-top: 40px;
    animation: slideInFromTop 2s ease-in;
  }
  

}

