@import url('https://fonts.cdnfonts.com/css/bahnschrift');

:root {
    --primary-color: #091540;
    --secondary-color: #1c3fa8;
    --dark-color: #002240;
    --light-color: #f4f4f4;
    --success-color: #5cb85c;
    --error-color: #d9534f;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body{
    font-family: 'Bahnschrift' , sans-serif;
    color: black;
    line-height: 1.5;
}

ul{
    list-style-type: none;
}

a {
    text-decoration: none;
    color: #333;

    
}

h1, 
h2 {
    font-weight: 400;
    line-height: 1.2;
}

p{
    margin: 10px;
}

img {
    width: 100%;
}

code, pre {
    background: #333;
    color: #fff;
    padding: 10px;
}

/* Navbar */
.navbar {
    background: var(--primary-color);
    color: #fff;
    height: 100px;
}

.navbar ul {
    display: flex;
}

.navbar .flex {
    justify-content: space-between;
}

.navbar a {
    color: #fff;
    padding: 10px;
    margin: 0 5px;
}

.navbar a:hover {
    border-bottom: 2px #d3fffd solid;
    color: #d3fffd;
}

.logo-img {
    height: inherit;
    width: inherit;
    padding: 20px;
}

/* Showcase */
.showcase {
    height: 400px;
    background-color: var(--primary-color);
    color: #fff;
    position: relative;
    /*background-image: linear-gradient(rgba(0, 0, 0, 0.5),rgba(0, 0, 0, 0.5)), url('/images/Home_Screen_Background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;*/
}

.showcase h1 {
    font: 40px;
    padding-right: 50px;
    color: #f4f4f4;
}

.showcase p {
    margin: 40px 0;
    padding-right: 60px;
    color: #f4f4f4;
}

.showcase .grid {
    overflow: visible;
    grid-template-columns: 55% 45%;
    gap: 40px;
}

.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-contact .form-control {
    margin: 30px 0;
}

.showcase-form-contact input[type='text'],
.showcase-form-contact input[type='email'] {
    border: 0;
    border-bottom: 1px solid #b4becb;
    width: 100%;
    padding: 3px;
    font-size: 16px;
}

.showcase-form-contact input[type='textarea'] {
    border: 0;
    border-bottom: 1px solid #b4becb;
    width: 100%;
    padding: 3px;
    font-size: 16px;
}

.showcase::before,
.showcase::after {
    content: '';
    position: absolute;
    height: 100px;
    bottom: -70px;
    right: 0;
    left: 0;
    background: #fff;
    transform: skewY(-2deg);
    -webkit-transform: skewY(-2deg);
    -moz-transform: skewY(-2deg);
    -ms-transform: skewY(-2deg);
}

.showcase-form input:focus {
    outline: none;
}

/* Stats */
.stats {
    padding-top: 100px;
    margin-bottom: 40px;
}

.stats-heading {
    max-width: 500px;
    margin: auto;
}

.stats .grid h3 {
    font-size: 30px;
    margin-bottom: 20px;
}

.stats .grid p  {
    font-size: 20px;
    font-weight: bold;
}

/* CLI */

.cli .grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    margin-bottom: 0;
}

.cli .grid > *:first-child {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
}

/* 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 {
    width: 200px;
    justify-self: flex-end;
}

.features-head {
    min-height: 270px;
 }
 

.features-sub-head {
    grid-template-columns: 2fr 3fr;
}
.features-sub-head img {
    width: 400px;
    justify-self: flex-start;
    margin-top: 20px;
    margin-bottom: 20px;
}

.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 3;
}

.features-main .grid > *:nth-child(3) {
    grid-column: 1 / span 1;
}
.features-main .grid > *:nth-child(6) {
    grid-column: 1 / span 2;
}

.img-features-pics {
    width: 400px;
}

.grid-product {
  grid-template-columns: 1fr 2fr;
  margin: auto;
  position: relative;
}

.example-pic {
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    margin: 10px;
    border-radius: 20px;
}
.product-pic {
    width: auto;
    height: 175px;
}

.portfolio-pic {
    border-radius: 20px;   
    max-width: 100%;
    margin-left: 20px;
    padding-left: 20px;
}

.portfolio-pic-small {
    border-radius: 20px;  
    max-width: 200px; 
    padding-left: 20px;
    padding-right: 20px;
}

/* Cntacts */

.contacts .grid {
    grid-template-columns: 1fr 5fr;
    margin: auto;
    position: relative;
}

/*docs*/
.docs-main h3 {
    margin: 20px;
}

.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;
}



/* docs */
.docs-head img {
    width: 200px;
    justify-self: flex-end;
}

.docs-head {
   min-height: 270px;
}

/* Examples */

/*.container-examples {  display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    grid-template-rows: 0.4fr 2.2fr 0.8fr 0.6fr;
    gap: 0px 0px;
    grid-auto-flow: row;
    grid-template-areas:
      "Example-Title Example-Title Example-Title"
      "example-hero-image example-hero-image example-hero-image"
      "hight-image1 hlight-image2 hlight-image3"
      "brief brief highlights-text";
  }
  
  .Example-Title { grid-area: Example-Title; }
  
  .example-hero-image { grid-area: example-hero-image; }
  
  .hight-image1 { grid-area: hight-image1; }
  
  .hlight-image2 { grid-area: hlight-image2; }
  
  .hlight-image3 { grid-area: hlight-image3; }
  
  .brief { grid-area: brief; }
  
  .highlights-text { grid-area: highlights-text; } */
  
/* The grid: Four equal columns that floats next to each other */
.column-examples {
  float: left;  
  width: 25%;
  padding: 10px;
}

/* Style the images inside the grid */
.column-examples img {
  opacity: 0.8;
  cursor: pointer;
}

.column-examples img:hover {
  opacity: 1;
  scale: 105%;
  transition: 0.2s ease-in-out;
  box-shadow: #091540;
}

/* Clear floats after the columns */
.row-examples:after {
  content: "";
  display: table;
  clear: both;
}

/* The expanding image container (positioning is needed to position the close button and the text) */
.container-examples {
  position: relative;
  display: none;
}

/* Expanding image text */
#imgtext {
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: white;
  padding: 5px;
  border-radius: 5px;
  background-color: #091540;
  font-size: 20px;
}

/* Closable button inside the image */
.closebtn {
  position: absolute;
  top: 10px;
  right: 15px;
  color: var(--dark-color);
  font-size: 35px;
  cursor: pointer;
}

/* Footer */
.footer {
    margin-top: 0 ;
}

.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);
    }
  }

/* Tablets and under */
@media (max-width: 1600px){
    .container-examples{
      width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 175px;
      }
    
      .navbar .flex {
        flex-direction: column;
      }
    
      .navbar ul {
        padding: 10px;
        background-color: rgba(0, 0, 0, 0.1);
      }

      .logo-img {
        height: 75%;
      }
      
      .showcase-form {
        width: 300px;
      }
   
    .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;
      animation: slideInFromTop 1s ease-in;
    }
  
    .showcase-form {
      justify-self: center;
      margin: auto;
      animation: slideInFromBottom 1s ease-in;
    }

    .showcase h1 {
        font: 40px;
        padding-right: 0px;
        color: #f4f4f4;
    }
    
    .showcase p {
        margin: 40px 0;
        padding-right: 0px;
        color: #f4f4f4;
    }
  
    .cli .grid > *:first-child {
      grid-column: 1;
      grid-row: 1;
    }
  
    .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: 175px;
    }
  
    .navbar .flex {
      flex-direction: column;
    }
  
    .navbar ul {
      padding: 10px;
      background-color: rgba(0, 0, 0, 0.1);
    }
    
    .showcase-form {
      width: 300px;
    }
  }
  