@import url("font.css");
* {box-sizing: border-box;}
body {
    margin: 0;
    color: #000;
    font-family: "San Francisco", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
}
.page-content{
    display: flex;
}
.sidebar,
.main {
    min-width: 50%;
    min-height: 100vh;
}
.sidebar{
    background: #0047ba url(../img/iba-logo.png) ;
    background-position-y: top; 
    background-position-x: left;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.iba-logo{
    max-width: 100%;
    padding:1em;
}
.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
input,
.button{
    display: block;
    width: 40vw;
    max-width: 31em;
    height: auto;
    padding: 1.125em 0 1.125em 1.2em;
    margin: 1.375em 0 0 0;
    border: 1px solid #E4E4E4;
    border-radius: 2px;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;  
}
.button{
    background-color: #0047BA;
    color: white;
    transform: scale(1);
    transition: transform 250ms;
    cursor: pointer;
}
.button:hover,
.customModal-submit:hover{
    transition:  0.2s ease-in-out;
    background-color: #0043AF;
    box-shadow: 0 0 5px 0 #3498db inset, 0 0 5px 2px #3498db;
}

.form-label {
    pointer-events: none;
    position: absolute;
    transition: 0.2s ease all;
    color: #8A8A8A;
}

.form-label {
    top: 8px;
    left: 21px;
    font-size: 13px;
    line-height: 16px;
}
.form-input:placeholder-shown + .form-label {
    top: 20px;
    left: 21px;
    font-size: 16px;
    line-height: 20px;
}

.form-input:not(:placeholder-shown) , .form-input:focus {
    padding-top: 29px;
    padding-bottom: 9px;
}

.form-input:focus + .form-label {
    top: 8px;
    left: 21px;
    font-size: 13px;

}input:focus{
    outline:1px solid black;

}
.input-container{
    position: relative;
}
.errors {
    color: red;
    font-size: 1rem;
    display: block;
    margin-top: 5px;
    margin-left: 20px;
}

input.error {
  border-color: red;
}
/*  -----------------------------------popup --------------------------------------------*/
.customModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
}

.customModal-content {
    background-color: #fff;
    border-radius: 2px;
    padding: 5em 5em;
    min-width: 19.5vw;
}

.customModal-info {
    margin-bottom: 18px;
}

.customModal-header {
    font-size: 13px;
    line-height: 16px;
    color: #8A8A8A;
    margin-bottom: 5px;
}

.customModal-text {
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}

.customModal-price {
    font-weight: 500;
    font-size: 32px;
    line-height: 38px;
    color: #000000;
    margin: 30px 0;
}

.customModal-submit {
    padding: 1em 4em;
    background: #0047BA;
    border-radius: 2px;
    color: #ffffff;  
    transform: scale(1);
    transition: transform 250ms;
    cursor: pointer;
}

.customModal-close {
    position: absolute;
    top: 1.5em;
    right: 1.5em;
    border: transparent;
    background: transparent;
    cursor: pointer;
}
.customModal-close:focus{
    outline: none;
}

.customModal-close-img {
    width: 34px;
    height: 34px;
}

.d-none {
    display: none;
}
.popup {
    height: 100%;
    overflow: hidden;
}
@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}
/* ------------------------media-------------------------*/
@media screen and (max-width: 760px){
    .page-content{
        flex-direction: column;
        align-items: center;
        margin: 0 1em;
    }
    input,
    .button{
        min-width: 90vw;
    }   
    .sidebar > *,
    form > * {
        max-width: 400px;
    }
    .sidebar{
        min-width: 90vw;
        min-height: 1.5vh;
        margin-bottom: 2.5em;
        margin-top: 2em; 
        padding: 1em .5em 1em;
        display: flex;
        background-position-y: bottom; 
    }
    .iba-logo{
        max-width: 240px;
        width: 65vw;
        background-size: contain;
    }
    .main{
        justify-content: flex-start;
    }
    .main-logo{
        width: 50vw;   
        max-width: 157px;
    }
    .customModal-content{
        max-width: 90vw;
        padding: 5vw 3em;

    }

}