@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;400;700&display=swap');
/* variables */
:root {
    --first: #353535;
    --second:#3C6E71;
    --third: #FFFFFF;
    --fourth: #D9D9D9;
    --fiveth: #284B63;
    --sixth: #5cb85c;
    --seventh:  #047aed;
  }
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    /* border: 1px solid red; */
}
/* base css */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--fourth);
    line-height: 1.6;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: var(--fourth);
}
h2 {
    font-size: 40px;
}
h1, h2,h3 {
    font-weight: 600;
    line-height: 1.2;
    margin: 10px 0;
}

p {
    margin: 10px 0;
}

img {
    width: 100%;
}
.hidden {
    visibility:hidden;
    height: 0;
}
/* idenx.html section */
.navbar {
    background-color: var(--fiveth);
    color: var(--third);
    height: 70px;
}
.menu__row {
    display: flex;
}
.menu__link {
    color: var(--third);
    padding: 3px;
    margin: 0 5px;
}
.menu__link:hover {
    border-bottom: 2px #FFFFFF solid;
}
.navbar .flex-container {
    justify-content: space-between;
}
/* showcase*/
.showcase {
    height: 400px;
    color: var(--third);
    position: relative;
}
.showcase-text {
    animation: left-to-rigth 1s ease-in;
}
.showcase .grid-container {
    grid-template-columns: 55% 45%;
    gap: 30px;
}
.showcase-form {
    position: relative;
    top: 60px;
    height: 350px;
    width: 400px;
    z-index: 150;
    justify-self: flex-end;
    animation: rigth-to-left 1s ease-in;
}
.btn-animation {
    animation: bottom-to-top 2s ease-in;
}

.showcase-form__control {
    margin: 30px 0;
}
.showcase .showcase-form h2 {
    font-size: 25px;
    font-weight: lighter;
}
.showcase-form__control input[type='text'],
.showcase-form__control input[type='text'] {
    border: 0;
    width: 100% ;
    padding: 5px;
    font-size: 1em;
    border-bottom: 1px solid var(--fourth);
    outline: none;
}
.showcase-form__control input:focus {
    border-bottom: 1px solid var(--second) ;
    transform: scale(1.02);
}

.statistics {
    padding-top: 160px;
    color: var(--first);
}
.statistics__heading {
    max-width: 500px;
    margin: auto;
    font-size: 1.1em;
    font-weight: lighter;
}
.statistics .grid-container h3 {
    font-size: 2em;
}
.statistics__text-secondary {
    font-weight: bold;
    font-size: 1.2em;
    color: var(--second);
}
.cloud-cli .grid-container {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(	2, 1fr);
}
.img-container {
    grid-column: 1 /  span 2;
    grid-row: 1 / span 2;
}
.cloud-cli__item2, .cloud-cli__item1 {
    grid-column: 3 / 3;
}
.cloud-cli__item2.card, .cloud-cli__item1.card {
    box-shadow: 0 2px 10px 1px rgba(0,0,0, 0.2);
}
/* CLoud hosting */
.cloud-hosting {
    background-color: var(--fiveth);
}
.cloud-hosting .flex-container {
    justify-content: space-between;
}
.cloud-hosting__left {
    margin: 20px 20px;
}
.cloud-hosting__left h3 {
    font-size: 40px;
}
.cloud-hosting .img-container-2 {
    padding: 20px;
    width: 450px;
}
/* Supported languages */
.languages {
    color: var(--first);
}
.languages .card {
    box-shadow: 0 2px 10px 1px rgba(0,0,0, 0.2);
    width: 100%;
    height: 95%;
    padding: 20px;
    margin: auto 0;
    transition:  .15s ease-out;
}
.languages .card:hover {
    transform: translateY(-15px);
}
.languages .grid-container {
    gap: 15px;
    grid-template-columns: repeat(7, 1fr);
}
.languages h3 {
    margin-bottom: 20px;
}
.languages .container > *:first-child {
    grid-column: 1 /span 7;
}
/* Cloud.html section */
.cloudlify-head {
    color: var(--third);
}
.cloudlify-head .img-container-2, .documentation-head .img-container-2  {
    width: 200px;
    justify-self: flex-end;
}
.cloudlify-sub-head .img-container-2 {
    width: 400px;
    justify-self: flex-end;
}
.cloudlify-sub-head {
    color: var(--first);
}
.cloudlify-main .card > i {
    margin-right: 20px;
}
.cloudlify-main .card {
    padding: 20px;
    box-shadow: 2px 5px 5px 1px rgba(0,0,0, 0.2);
}
.cloudlify-main .grid-container> *:first-child {
    grid-column: 1 / span 3;
}
.cloudlify-main .grid-container> *:nth-child(2) {
    grid-column: 1 / span 2;
}
/* Documentation.html section */
.documentation-head {
    color: var(--third);
}
.documentation-main .grid-container {
    grid-template-columns: 1fr 2fr;
    align-items: flex-start;
}
.documentation-main h3, h2 {
    font-weight: 400;
}
.documentation-main .card {
    padding: 30px;
    box-shadow: 1px 1px 5px 1px rgba(0,0,0, 0.2);
}
.text-color-1 {
    color:  var(--seventh);
}
.documentation-main-link {
    color: var(--first);
}
.documentation-main-list {
    margin: 10px;
    border-bottom: 1px #ccc solid;
}
.documentation-main .card i {
    margin: 2px;
}
.alert {
    background-color: var(--light-color);
    color: #fff;
    padding: 10px 20px;
    font-weight: bold;
    margin: 15px 0;
    font-weight: lighter;
}
.alert-success {
    background-color:var(--sixth);
}
.documentation-main .card pre {
    padding: 15px;
    color: #fff;
    background-color: #353535;
}
.footer {
    background-color: var(--first);
    height: 200px;
    flex-wrap: wrap;
}
.footer-left, .footer-mid ,.footer-right {
    margin-left: 10px;
    flex: 30%;
}
.footer .footer-right {
    text-align: right;
}
.footer-right a, i {
    margin: 0 10px 5px 5px;
}
.footer .footer-mid  {
    flex-direction: column;
    align-items: flex-start;
}

/* shared classes */
.container {
   max-width: 1100px;
   margin: 0 auto;
   padding: 0 40px;
}

.card {
    background-color: var(--third);
    color: var(--first);
    border-radius: 10px;
    box-shadow: 5px 10px 10px 5px rgba(0,0,0, 0.3);
    padding: 40px;
    margin: 10px;
}
.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.grid-container-3 {
    grid-template-columns: repeat(3,1fr);
}

.btn {
    display: inline-block;
    padding:10px 30px;
    cursor: pointer;
    background: var(--fiveth);
    color: var(--third);
    border: none;
    border-radius: 5px;
    transition: .1s;
}
.btn-primary {
    background: var(--seventh);
    color: #fff;
}
.bg-primary {
    background-color: var(--fiveth);
}
.bg-light {
    background-color: #f4f4f4;
}
.btn:hover {
    transform: scale(.95);
}
.btn-outline {
    background-color: transparent;
    border: 1px solid var(--third)
}
.btn-dark {
    border: 1px solid var(--fourth);
    background:  var(--first);
}
.text-center {
    text-align: center;
}
.marginy-2 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.marginy-3 {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}
.marginy-4 {
    margin-top: 3.2rem;
    margin-bottom: 3.2rem;
}
.marginy-5 {
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
}
.padding-1 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.padding-2 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}
/* Animation */
@keyframes left-to-rigth {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}
@keyframes rigth-to-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0);
    }
}
@keyframes bottom-to-top {
    0% {
        transform: translateY(2000%);
    }
    100% {
        transform: translateY(0);
    }
}
/* Responsive */
@media only screen and ( max-width: 768px){
    .showcase .grid-container,
    .statistics .grid-container-3,
    .cloud-cli .grid-container,
    .cloudlify-main .grid-container,
    .cloudlify-head .grid-container,
    .cloudlify-sub-head .grid-container,
    .documentation-head  .grid-container,
    .documentation-main .grid-container {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }
    .showcase {
        height: auto;
    }
    .showcase-form {
        justify-self: center;
        margin: auto;
    }
    .showcase-text {
        text-align: center;
        margin-top: 100px;
    }
    .cloud-cli__item2, .cloud-cli__item1 {
        grid-column: 1 ;
    }
    .cloud-hosting .flex-container {
        flex-direction: column;
    }
    .cloud-hosting__left{
        margin-top: 30px;
    }
    .cloud-hosting__img-container {
        width: 350px;
    }
    .languages .grid-container {
        grid-template-columns:  repeat(4, auto);
        grid-template-rows: repeat(3,auto );
    }
    .languages .container > :first-child {
        grid-column: 1 / span 4;
    }
    .cloudlify-head, .cloudlify-sub-head,
    .cloudlify-main, .documentation-head {
        text-align: center;
    }
    .cloudlify-head .img-container-2, .cloudlify-sub-head .img-container-2,
    .cloudlify-main .img-container-2, .documentation-head .img-container-2 {
        justify-self: center;
    }
    .cloudlify-main .grid-container {
        grid-template-columns: auto;
    }
    .cloudlify-main .grid-container > :first-child, .cloudlify-main .grid-container >:nth-child(2) {
        grid-column: 1 ;
    }
}
@media only screen and (max-width: 500px) {
    .navbar {
        height: 110px;
    }
    .navbar .flex-container {
        flex-direction: column;
    }
    .navbar .menu__row {
        background-color: rgba(0,0,0, 0.2);
    }
    .showcase-text {
        margin-top: 50px;
    }
    .showcase-form.card {
        width: 300px;
    }
}