@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css";
*{
    box-sizing: border-box;  
    font-family: 'Open Sans', Arial, Helvetica, sans-serif; 
    margin: 0;
    padding: 0; 
}

body{
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='0' x2='0' y1='0' y2='100%25' gradientTransform='rotate(125)'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23747474'/%3E%3C/linearGradient%3E%3Cpattern patternUnits='userSpaceOnUse' id='b' width='1932' height='1610.2' x='0' y='0' viewBox='0 0 1080 900'%3E%3Cg fill-opacity='0.03'%3E%3Cpolygon fill='%23444' points='90%2C150 0%2C300 180%2C300'/%3E%3Cpolygon points='90%2C150 180%2C0 0%2C0'/%3E%3Cpolygon fill='%23AAA' points='270%2C150 360%2C0 180%2C0'/%3E%3Cpolygon fill='%23DDD' points='450%2C150 360%2C300 540%2C300'/%3E%3Cpolygon fill='%23999' points='450%2C150 540%2C0 360%2C0'/%3E%3Cpolygon points='630%2C150 540%2C300 720%2C300'/%3E%3Cpolygon fill='%23DDD' points='630%2C150 720%2C0 540%2C0'/%3E%3Cpolygon fill='%23444' points='810%2C150 720%2C300 900%2C300'/%3E%3Cpolygon fill='%23FFF' points='810%2C150 900%2C0 720%2C0'/%3E%3Cpolygon fill='%23DDD' points='990%2C150 900%2C300 1080%2C300'/%3E%3Cpolygon fill='%23444' points='990%2C150 1080%2C0 900%2C0'/%3E%3Cpolygon fill='%23DDD' points='90%2C450 0%2C600 180%2C600'/%3E%3Cpolygon points='90%2C450 180%2C300 0%2C300'/%3E%3Cpolygon fill='%23666' points='270%2C450 180%2C600 360%2C600'/%3E%3Cpolygon fill='%23AAA' points='270%2C450 360%2C300 180%2C300'/%3E%3Cpolygon fill='%23DDD' points='450%2C450 360%2C600 540%2C600'/%3E%3Cpolygon fill='%23999' points='450%2C450 540%2C300 360%2C300'/%3E%3Cpolygon fill='%23999' points='630%2C450 540%2C600 720%2C600'/%3E%3Cpolygon fill='%23FFF' points='630%2C450 720%2C300 540%2C300'/%3E%3Cpolygon points='810%2C450 720%2C600 900%2C600'/%3E%3Cpolygon fill='%23DDD' points='810%2C450 900%2C300 720%2C300'/%3E%3Cpolygon fill='%23AAA' points='990%2C450 900%2C600 1080%2C600'/%3E%3Cpolygon fill='%23444' points='990%2C450 1080%2C300 900%2C300'/%3E%3Cpolygon fill='%23222' points='90%2C750 0%2C900 180%2C900'/%3E%3Cpolygon points='270%2C750 180%2C900 360%2C900'/%3E%3Cpolygon fill='%23DDD' points='270%2C750 360%2C600 180%2C600'/%3E%3Cpolygon points='450%2C750 540%2C600 360%2C600'/%3E%3Cpolygon points='630%2C750 540%2C900 720%2C900'/%3E%3Cpolygon fill='%23444' points='630%2C750 720%2C600 540%2C600'/%3E%3Cpolygon fill='%23AAA' points='810%2C750 720%2C900 900%2C900'/%3E%3Cpolygon fill='%23666' points='810%2C750 900%2C600 720%2C600'/%3E%3Cpolygon fill='%23999' points='990%2C750 900%2C900 1080%2C900'/%3E%3Cpolygon fill='%23999' points='180%2C0 90%2C150 270%2C150'/%3E%3Cpolygon fill='%23444' points='360%2C0 270%2C150 450%2C150'/%3E%3Cpolygon fill='%23FFF' points='540%2C0 450%2C150 630%2C150'/%3E%3Cpolygon points='900%2C0 810%2C150 990%2C150'/%3E%3Cpolygon fill='%23222' points='0%2C300 -90%2C450 90%2C450'/%3E%3Cpolygon fill='%23FFF' points='0%2C300 90%2C150 -90%2C150'/%3E%3Cpolygon fill='%23FFF' points='180%2C300 90%2C450 270%2C450'/%3E%3Cpolygon fill='%23666' points='180%2C300 270%2C150 90%2C150'/%3E%3Cpolygon fill='%23222' points='360%2C300 270%2C450 450%2C450'/%3E%3Cpolygon fill='%23FFF' points='360%2C300 450%2C150 270%2C150'/%3E%3Cpolygon fill='%23444' points='540%2C300 450%2C450 630%2C450'/%3E%3Cpolygon fill='%23222' points='540%2C300 630%2C150 450%2C150'/%3E%3Cpolygon fill='%23AAA' points='720%2C300 630%2C450 810%2C450'/%3E%3Cpolygon fill='%23666' points='720%2C300 810%2C150 630%2C150'/%3E%3Cpolygon fill='%23FFF' points='900%2C300 810%2C450 990%2C450'/%3E%3Cpolygon fill='%23999' points='900%2C300 990%2C150 810%2C150'/%3E%3Cpolygon points='0%2C600 -90%2C750 90%2C750'/%3E%3Cpolygon fill='%23666' points='0%2C600 90%2C450 -90%2C450'/%3E%3Cpolygon fill='%23AAA' points='180%2C600 90%2C750 270%2C750'/%3E%3Cpolygon fill='%23444' points='180%2C600 270%2C450 90%2C450'/%3E%3Cpolygon fill='%23444' points='360%2C600 270%2C750 450%2C750'/%3E%3Cpolygon fill='%23999' points='360%2C600 450%2C450 270%2C450'/%3E%3Cpolygon fill='%23666' points='540%2C600 630%2C450 450%2C450'/%3E%3Cpolygon fill='%23222' points='720%2C600 630%2C750 810%2C750'/%3E%3Cpolygon fill='%23FFF' points='900%2C600 810%2C750 990%2C750'/%3E%3Cpolygon fill='%23222' points='900%2C600 990%2C450 810%2C450'/%3E%3Cpolygon fill='%23DDD' points='0%2C900 90%2C750 -90%2C750'/%3E%3Cpolygon fill='%23444' points='180%2C900 270%2C750 90%2C750'/%3E%3Cpolygon fill='%23FFF' points='360%2C900 450%2C750 270%2C750'/%3E%3Cpolygon fill='%23AAA' points='540%2C900 630%2C750 450%2C750'/%3E%3Cpolygon fill='%23FFF' points='720%2C900 810%2C750 630%2C750'/%3E%3Cpolygon fill='%23222' points='900%2C900 990%2C750 810%2C750'/%3E%3Cpolygon fill='%23222' points='1080%2C300 990%2C450 1170%2C450'/%3E%3Cpolygon fill='%23FFF' points='1080%2C300 1170%2C150 990%2C150'/%3E%3Cpolygon points='1080%2C600 990%2C750 1170%2C750'/%3E%3Cpolygon fill='%23666' points='1080%2C600 1170%2C450 990%2C450'/%3E%3Cpolygon fill='%23DDD' points='1080%2C900 1170%2C750 990%2C750'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect x='0' y='0' fill='url(%23a)' width='100%25' height='100%25'/%3E%3Crect x='0' y='0' fill='url(%23b)' width='100%25' height='100%25'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    /* background-repeat: no-repeat;  */
    height: 100vh;
}

.flag-icon{
    margin: 5px;
}

.quoteForm{  
    height: 100%; 
    display: flex;
    align-items: center;
    justify-content: center;  
}

.container{
    max-width: 80% ;
    width: 100%;
    margin: auto; 
}

.container .title {
    color: #333333;
    font-size: 1.75rem;
    position: relative;
    vertical-align: middle;
    margin-top: 2.4rem;
}

.container .description{
    color: #2FABFD;
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0.4rem 0;
    padding: 0.4rem 0;
}

.container .title::before {
    content: '';
    position: absolute; 
    left: 0;
    bottom: 0;
    height: 0.15em;
    width: 3rem;
    background: linear-gradient(135deg, #FF696B,#67B7E1);
}

.container form .user-details{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin:     1.25rem 0rem 0.8rem 0rem;
}

form .user-details .input-box{
    margin-bottom: 10px;
    width: calc(100% / 2 - 5%);
}

.user-details .input-box input, .user-details .input-box select{
    height: 2.18rem;
    width: 100%;
    outline: none;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding-left: 0.93rem;
    font-size: 0.93rem;
    border-bottom-width: 2px;
    transition: all 0.3s ease;
}

.user-details .input-box select{
    padding-right: 1.25rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("./assets/down-arrow-svgrepo-com.svg");
    background-position: right 0.62rem top 50%;
    background-repeat: no-repeat;
    background-size: 0.62rem;
    padding-left: 0.93rem;
    text-overflow: ellipsis;
}

.user-details .input-box .details span{
    color: #FF696B;
    font-size: 1.31rem;
}

::placeholder {
    font-size: 0.93rem;
}

.user-details .input-box.success input, .user-details .input-box.success select{
    border-color: #57a393;
}

.user-details .input-box.error input, .user-details .input-box.error select{
    border-color: #FF696B;
}

.hidden{
    display: none;
}

.error-hint{
    color: #FF696B;
}

input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}

.remarque { 
    display:none; 
}

form .buttonValidate{
    height: 2.5rem;
    margin: 0.93rem;
    display: flex;
    justify-content: center;
}

form .buttonValidate button{
    height: 100%;
    width: 12rem /*calc(100% / 4)*/;
    outline: none;
    color: #fff;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
    letter-spacing: 1px;
    padding: 10px;
    background-color: #FF696B;
    box-shadow: inset 0px 1px 0px #fff, 0px 4px 0px rgb(255 255 255 / 0%), 1px 6px 6px 3px rgb(0 0 0 / 30%);
}

form .buttonValidate button:hover{
    background: black;
    color: #FF696B;
}

.popup, .errorPopup {
    padding:1.87rem 1.25rem;
    background-color:white;
    border-radius:10px;
    box-sizing:border-box;
    z-index:2;
    text-align:center;
    top:-200%;
    transform:translate(-50%,-50%) scale(0.5);
    transition: opacity 300ms ease-in-out,
                top 1000ms ease-in-out,
                transform 1000ms ease-in-out;
}

.popup.active, .errorPopup.active {
    top:50%;
    transform:translate(-50%,-50%) scale(1);
    transition: transform 300ms cubic-bezier(0.18,0.89,0.43,1.19);
}

.popup .icon, .errorPopup .icon {
    width:3.13rem;
    height:3.13rem;
    border:2px solid #52d6b9;
    text-align:center;
    display:inline-block;
    border-radius:50%;
    line-height:60px;
}

.fa.fa-check {
    font-size:1.87rem;
    color:#52d6b9;
} 

.popup .titleSuccess, .errorPopup .titleError {
    font-size:1.87rem;
    font-weight:600;
}

.popup .msg, .errorPopup .msg  {
    color:#222;
    font-size:1rem;
    padding:0.31rem;
}
  
.popup > div, .errorPopup > div {
    position:relative;
    top:0.62rem;
    opacity:0;
}

.popup.active > div, .errorPopup.active > div {
    top:0px;
    opacity:1;
}

.popup.active .icon, .errorPopup.active .iconError{
    transition: all 300ms ease-in-out 250ms;
}

.popup.active .titleSuccess, .errorPopup.active .titleError {
    transition: all 300ms ease-in-out 300ms;
    margin: 0.44em;
}

.backgroundBlack{
    background: rgba(0, 0, 0, 0.4);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0; 
}
.center {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
} 

.errorPopup .iconError {
    width:3.12em;
    height:3.12em;
    border:2px solid #FF696B;
    text-align:center;
    display:inline-block;
    border-radius:50%;
    line-height:60px;
}

.fa.fa-exclamation{
    font-size:1.87em;
    color:#FF696B;
} 

.btnClose{
    position: absolute;
    background-color: transparent;
    cursor: pointer;
    border: none;
    color: gray;
    font-size: 1.56em;
    right: 0.94em;
    top: 0.63em;
    font-weight: 600;
}

.btnClose:hover{
  color: black;
}

@media screen and (max-width: 584px){
    .container {
        max-width: 100%;
        padding: 0px 0.62rem;
    }
    form .user-details .input-box{
        margin-bottom: 0.93rem;
        width: 100% ;
    }
    .container form .user-details{
        max-height: 100%;
    }
    .user-details::-webkit-scrollbar{
        width: 0;
    }
    .popup{
        max-width: 80%; 
    }
   
}

@media (max-width: 240px){
    .popup {
        padding:1.87rem 0.31rem;
        max-width: 90%;     
    }   
}




