/***************GENERAL*****************/
:root {
    --white: white;
    --gris: rgb(238, 237, 236);
    --text: rgb(48, 48, 54);
    --bleu-primary: #0074ff;
    --bleu-secondary: rgb(0,178,255);
    --font-title: "Kanit", sans-serif;;
    --font-standard: 'Poppins', sans-serif;
    --font-secondary: "Kanit", sans-serif;
    --font-size-standard: 15px;
    --transition-duration: 0.25s;
  }
* {
    margin: 0;
    padding: 0;
}
html, body{
    font-family: var(--font-standard);
    scroll-behavior: smooth;
    color: var(--text);
    background-color: var(--gris);
    box-sizing:border-box;
    position:relative;
    font-size: var(--font-size-standard);
}
nav, header, section, footer{
    width:1180px;
    margin: auto;
    text-align: center;
}
section,footer{
    margin-top: 20vh;
}

section h2, footer h2{
    font-size: 1.9rem;
    text-align: center;
    padding:0 10px;
    margin-bottom: 1vh;
}
section .subtitle{
    margin-bottom: 8vh;
}

section h2::before, section h2::after, footer h2::before, footer h2::after  {
    content: ' - ';
    color:var(--bleu-primary);
}
.buttons{
    margin-top: 3vh;
    display: inline-flex;
    align-items: center;
}
.button, button{
    text-decoration: none;
    font-family: var(--font-standard);
    border: 1px solid;
    border-color: var(--bleu-primary);
    padding: 10px 45px 10px 20px;
    margin: 0px 10px;
    border-radius: 25px;
    height: fit-content;
    cursor: pointer;
    position:relative;
    transition: all 0.5s;
    display: inline-block;
    overflow:hidden
}
.button:hover, button:hover{
    padding: 10px 20px 10px 45px; 
}
.button ion-icon {
    font-size: 22px;
    padding-left: 7px;
    line-height: 40px;
    display: block;
    position: absolute;
    top:10px;
	transition: all 0.5s;
  }
.button ion-icon:first-child , button ion-icon:first-child{
	left:-20px;
	opacity:0;
}
.button ion-icon:last-child, button ion-icon:last-child{
	right:17px;
	opacity:1;
}
.button:hover > ion-icon:first-child, button:hover > ion-icon:first-child{ 
	transform: translate(+30px,0px);
	opacity:1;
}
.button:hover > ion-icon:last-child, button:hover > ion-icon:last-child{ 
	transform: translate(+30px,0px);
	opacity:0;
}
.button-primary{
    color: var(--white);
    background-image: linear-gradient(230deg, rgb(0,116,255)0%, rgb(0,178,255)50%, rgb(0,116,255)100%);
    background-size: 200% auto;
}
.button-primary:hover{
    background-position: right center;
}
.button-secondary{
    background-color: none;
    color:var(--bleu-primary)
}
/*************** FIN GENERAL*****************/
/***************BANNER*****************/
.banner{
    position: fixed;
    top:0px;
    width:100%;
    height:60px;
    background-color: rgba(255, 255, 255,0.6);
    backdrop-filter: blur(20px);
    box-shadow:  20px 20px 60px #bebebe,-20px -20px 60px #ffffff;
    text-align: center;
    z-index:100;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

/***************FIN BANNER*****************/
/***************HEADER*****************/
header{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top:20vh;
    margin-bottom: 20vh;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: repeat;
    background-image: url(../img/background.png);
}
header .avatar{
    position: relative;
}
header img{
    width:200px;
    height:200px;
    border:10px solid white;
    border-radius: 200px;
    box-shadow:  20px 20px 60px #bebebe,-20px -20px 60px #ffffff;
}
header .avatar span{
    background-color: var(--white);
    rotate: -10deg;
    z-index: 10;
    padding: 5px 10px;
    border-radius: 20px;
    display: block;
    position:absolute;
    top:120px;
    right:-90px;
    font-size: 1.1rem;
}
header h1{
    margin:3vh;
    max-width: 75%;
    text-align: center;
    font-size: 3rem;
}
header h1 span{
    background: linear-gradient(230deg, rgb(0,116,255)0%, rgb(0,178,255)50%, rgb(0,116,255)100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.down{
    position:absolute;
    bottom:-15vh;
    width:30px;
    display: block;
}
.down ion-icon{
    font-size: 30px;
    color:rgba(0,116,255,1);
    animation: bounce 1.3s infinite;
}
@keyframes bounce {0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 40% {transform: translateY(-10px);}60% {transform: translateY(-5px);}}
/*************** FIN HEADER*****************/
/*************** REFERENCES*****************/
.clients{
    display:inline-grid;
    grid-template-columns: repeat(5, 120px);
    column-gap: 100px;
    justify-self: center;
}
.clients img{
    width:100%
}
/*************** FIN REFERENCES*****************/
/*************** SERVICES*****************/
.services{
    display:inline-grid;
    grid-template-columns: repeat(4, 200px);
    column-gap: 60px;
    justify-self: left;
    text-align: left;
}
.service{
    background: linear-gradient(180deg, var(--gris) 0%, rgba(255,255,255,1) 40%, rgba(255,255,255,1) 100%);
    padding: 20px;
    border: 2px solid white;
    border-radius: 15px;
    transition: all var(--transition-duration) ease-in;
}
.service:hover{
    border: 2px solid var(--bleu-primary);
    transform: translateY(-3px);
    -webkit-box-shadow: 8px 6px 24px -17px rgba(66, 68, 90, 1);
    -moz-box-shadow: 8px 6px 24px -17px rgba(66, 68, 90, 1);
    box-shadow: 8px 6px 24px -17px rgba(66, 68, 90, 1);
}
.service img{
    width:30px;
    height:30px
}
.service h3{
    margin: 10px 0px;
}
.service p{
    font-size: var(--font-standard);
}
/*************** FIN SERVICES*****************/
/*************** PROCESS*****************/
.steps{
    display:inline-grid;
    grid-template-columns: repeat(4, 200px);
    column-gap: 60px;
    justify-self: left;
    text-align: left;
}
.step{
    background: linear-gradient(180deg, var(--gris) 0%, rgba(255,255,255,1) 40%, rgba(255,255,255,1) 100%);
    padding: 20px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
    transition: all var(--transition-duration) ease-in;
}
.step:hover{
    border: 2px solid var(--bleu-primary);
    transform: translateY(-3px);
    -webkit-box-shadow: 8px 6px 24px -17px rgba(66, 68, 90, 1);
    -moz-box-shadow: 8px 6px 24px -17px rgba(66, 68, 90, 1);
    box-shadow: 8px 6px 24px -17px rgba(66, 68, 90, 1);
}
.step::after{
    content: url(../img/chevron.svg);
    color: var(--bleu-primary);
    width:30px;
    position:absolute;
    right:-50px;
    top:40%
}
.step:last-child::after{
    content:none
}
.step .icon{
    position:absolute;
    display: block;
    width:45px;
    height:45px;
    border:3px solid white;
    border-radius: 50px;
    box-shadow:  20px 20px 60px #bebebe,-20px -20px 60px #ffffff;
    background:linear-gradient(230deg, rgb(0,116,255)0%, rgb(0,178,255)100%);
    top:-15px;
    right:-15px
}
.step ion-icon{
    font-size: 1.7rem;
    color:var(--white);
    padding:10px
}
.step h3{
    margin: 10px 0px;
}
.step p{
    font-size: var(--font-standard);
}
/*************** FIN PROCESS*****************/
/*************** FOOTER *****************/
footer{
    margin-bottom: 15vh;
}
/*************** FIN FOOTER*****************/
/*************** MODAL *****************/
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 50; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(31, 31, 31, .4); /* Black w/ opacity */
  } 
.modal-content {
    z-index: 100; /* Sit on top */
    background: var(--bleu-primary);
    background: linear-gradient(180deg, var(--gris) 0%, rgba(255,255,255,1) 40%, rgba(255,255,255,1) 100%);
    margin: 5% auto;
    padding: 20px;
    border: 2px solid white;
    border-radius: 15px;
    width: 40%; /* Could be more or less, depending on screen size */
    position: relative;
}
.modal-header{
    margin-bottom: 20px;
    display: flex;
}
.modal-header h2{
    margin: 8px 0px;
}
.modal-header ion-icon{
    font-size: 3rem;
    color:var(--white);
    padding:15px
}
.modal-header .icon{
    display: block;
    width:75px;
    height:75px;
    border:5px solid white;
    border-radius: 50px;
    box-shadow:  20px 20px 60px #bebebe,-20px -20px 60px #ffffff;
    background:linear-gradient(230deg, rgb(0,116,255)0%, rgb(0,178,255)100%);
    margin-right: 15px;
    margin-top:5px
}
.modal-header .text{
    margin-bottom: 20px;
}
.modal-footer{
    padding-top:10px;
    display: flex;
    justify-content:center;
}
.cross{
    position: absolute;
    top:10px;
    right:10px;
    color: var(--bleu-primary);
    width:20px;
    height:20px;
    line-height: 20px;
    text-align: center;
    font-size: 24px;
    cursor: pointer;
}
.inputs{
    display: flex;
}
#input-name{
    padding-right: 8px;
}
#input-phone{
    padding-left: 8px;
}
input[type=text], textarea {
    width: 100%;
    padding: 12px 20px;
    margin: 5px 0px 15px 0px;
    box-sizing: border-box;
    border-radius:10px;
    border:1px solid;
    border-color: var(--gris);
    resize: none;
    font-family: var(--font-standard);
  }

input[type=text]:focus,input[type=text]:focus-visible {
    border-color: var(--bleu-primary)!important;
    background-color: #ffffff;
}

/*************** FIN MODAL *****************/
/*************** NOTIFICATION *****************/
.notification{
    display: none;
}
.notification-content {
    z-index: 10; /* Sit on top */
    background: var(--bleu-primary);
    background: linear-gradient(180deg, var(--gris) 0%, rgba(255,255,255,1) 40%, rgba(255,255,255,1) 100%);
    padding: 20px;
    border: 2px solid white;
    border-radius: 15px;
    width: 40%; /* Could be more or less, depending on screen size */
    position: fixed;
    margin:0 auto;
    display: flex;
    overflow: hidden;
    max-width: 600px;
    margin: 1% auto; /* Only centers horizontally not vertically! */
    left: 0;
    right: 0;
    bottom:20px;
}
.notification-content h2{
    margin: 8px 0px;
}
.notification-content ion-icon{
    font-size: 3rem;
    color:var(--white);
    padding:15px
}
.notification-content .icon{
    display: block;
    width:75px;
    height:75px;
    border:5px solid white;
    border-radius: 50px;
    box-shadow:  0px 0px 150px #06d6a0,-20px -20px 60px #ffffff;
    background-color: #06d6a0;
    margin-right: 15px;
    margin-top:5px
}
.notification-content .cross{
    color:black
}
/*************** FIN NOTIFICATION *****************/
/*************** RESPONSIVE *****************/
@media only screen and (max-width: 900px) {
    nav, header, section, footer{
        width:100%;
        overflow: hidden;
    }
    section, footer{
        margin-top: 10vh;
    }
    section h2, footer h2{
        font-size: 1.7rem;
    }
    footer{
        height:auto;
        min-height: 20vh;
    }
    section .subtitle{
        margin-bottom: 5vh;
    }
    header{
        margin-top:12vh;
        overflow: visible;
    }
    header h1{
        font-size: 2rem;
    }
    .down{
        bottom:-10vh;
    }
    .banner{
        display: flex;
        flex-direction: column;
        padding:10px 0px;
    }    
    .banner span{
        display: none;
    }
    .buttons{
        margin-top: 3vh;
        display: flex;
        align-items: center;
        flex-direction: column;
        gap:2vh
    }
    .service .title{
        display: inline-flex;
        justify-items: center;
    }
    .service .title img{
        margin: 5px 10px 0px 0px
    }
    .services,.steps{
        grid-template-columns: repeat(1, 90%);
        margin: 0 auto;
        justify-content: center;
        gap: 5vh;
    }
    .clients {
		animation: scroll 20s linear infinite;
		width: calc(120px * 10);
    }
    .clients::before,.clients::after {
		content: "";
		height: 100px;
		position: absolute;
		width: 200px;
		z-index: 2;
	}
	.clients::after {
		right: 0;
		top: 0;
		background: linear-gradient(to right,  rgba(238, 237, 236,1) 0%,rgba(238, 237, 236,0) 100%);
	}
	.clients::before {
		left: 0;
		top: 0;
        background: linear-gradient(to left ,  rgba(238, 237, 236,1) 0%,rgba(238, 237, 236,0) 100%);
	}
    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-120px * 5))}
    }
    .client, .step{
        position: relative;
    }     
    .step::after{
        content: url(../img/chevron.svg);
        color: var(--bleu-primary);
        width:30px;
        position:absolute;
        right:45%;
        top:unset;
        bottom:-35px;
        display: block;
        transform: rotate(90deg);
    }
    .modal-content {
        width: 75%;
    }  
    .modal-content .icon {
        display: none;
    } 
    .inputs{
        flex-direction: column;
    }
    #input-name{
        padding-right: 0px;
    }
    #input-phone{
        padding-left: 0px;
    }
    .modal-footer{
        margin-top: 0vh;
        display: flex;
        align-items: center;
        flex-direction: column-reverse;
        gap:2vh
    }
    .notification-content {
        width:80%
    }
}


/*************** FIN RESPONSIVE*****************/