*, *:before, *:after {
    box-sizing: border-box;
}

body{
    padding:0 ;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    background-color: #BFEAF5;
    background-size: cover;
}

.text-primary {
    color: #0069d9;
}

.text-danger {
    color: red;
}

.wrapper{
    background-color: #EAFDFC;
    padding-right: 1em;
    padding-left: 1em;
}

.main {
    padding: 4em;
}

header{
    height: 64px;
    color:#fff;
    text-align: center;
    background: linear-gradient(to right, #ff9966, #ff5e62);
}

header h2{
    font-size: 1.8em;
    margin-top: 0;
    padding-top: .8em;
}

.wrapper{
    width: 90%;
    margin: 0 auto;
    padding-bottom: 0;
}

.info{
    text-align: center;
}

.info h3, fieldset legend{
    /* 	color: #444444; */
}

.info h3{
    margin-top: 0;
    padding-top: 0.5em;
    font-size: 2.5em;
}

.info p{
    font-size: .85em;
    border-bottom: 4px solid rgba(45,57,69);
    padding-bottom: 2em;
    margin-bottom: 0;
}

form{
    border-top: 2px solid rgba(45,57,69);
    margin-top: 2px;
    padding-top: 1em;
}

fieldset{
    border: none;
    padding: 0;
    margin-top: 1em;
    margin-bottom: 10em;
    padding-top:1em;
    padding-bottom:1em;
}

fieldset legend{
    font-size: 1.65em;
    font-weight: bold;
    padding-bottom: .75em;
}

label{
    display: block;
    padding-bottom: .65em;
    font-size: 1.25em;
}

.newsletter label{
    font-size: 1.25em;
}

input , select , textarea{
    box-shadow: 0 0 1px ;
    width: 100%;
    height: 4em;
    background-color: #fff;
    outline: none;
    border:none;
    border-radius: 5px;
    border-color: #fff;
    text-indent: 10px;
    transition: border-color .4s ease-in-out;
}

textarea{
    height: 85px;
    padding-top:10px;
}

input:focus , select:focus , textarea:focus{
    border: 2px solid #46698B;
    border-radius: 0;
}

#name:focus,
#email:focus{
    border: 2px solid #FF7463;
}

.submit {
    width: 100%;
    /* 	background-color: #4EBBB5; */
    /*   background-color: #f8f8e7; */
    background-color: #0069d9;
    height: 60px;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    font-size: 1.25em;
}

.submit:hover {
    opacity: .8;
}

.newsletter [type="checkbox"]{
    transform: scale(1.4);
}

::placeholder{
    text-align: right;
    padding-right: 1em;
}

.footer p{
    padding-top: 1em;
    padding-bottom: 1em;
    text-align: center;
    margin: 0;
}

@media(min-width: 760px){

    .wrapper{
        max-width: 685px;
        margin-top: unset;
        margin-bottom: unset;
    }

    .info h3{
        font-size: 2.5em;
        letter-spacing: 1px;
    }

    .info p{
        font-size: 1.1em;
    }

    label{
        display: inline-block;
        width: 20%;
    }

    input , select{
        width: 78%;
    }

    .newsletter .checkboxes p{
        padding-top: 2px;
        padding-bottom: 2px;
    }
}

@media only screen and (max-width: 600px) {
    .wrapper{
        margin-top: unset;
        margin-bottom: unset;
    }

    .main {
        padding: unset;
    }

    fieldset{
        margin-bottom: 0em;
    }
}

@media(min-width:1024px){

    .wrapper{
        width: 90%;
        max-width: 950px;
        margin-top: 5em;
        margin-bottom: 5em;
    }

    label{
        display: inline-block;
        width: 26%;
    }

    input , select{
        width: 72%;
    }

    p , .newsletter p{
        margin-top: .5em;
        margin-bottom: .5em;
    }

    form{
        display: flex;
        justify-content: space-between;
    }

    .container{
        display: flex;
        flex-direction: column;
        min-width: 340px;
        height: 500px;
        justify-content: space-around;
    }

    fieldset{
        margin-right: 0;
        margin-left: 0;
    }

    .contact-info{
        width: 100%;
    }

    .newsletter{
        width: 41%;
    }

    form{
        padding-top: 8em;
    }
}

/*loading*/
.loading {
    position:fixed;
    width:100%;
    left:0;right:0;top:0;bottom:0;
    background-color: rgba(93, 88, 88, 0.7);
    z-index:9999;
    display: none;
}
.center {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.wave {
    width: 5px;
    height: 100px;
    background: linear-gradient(45deg, cyan, #fff);
    margin: 10px;
    animation: wave 1s linear infinite;
    border-radius: 20px;
}
.wave:nth-child(2) {
    animation-delay: 0.1s;
}
.wave:nth-child(3) {
    animation-delay: 0.2s;
}
.wave:nth-child(4) {
    animation-delay: 0.3s;
}
.wave:nth-child(5) {
    animation-delay: 0.4s;
}
.wave:nth-child(6) {
    animation-delay: 0.5s;
}
.wave:nth-child(7) {
    animation-delay: 0.6s;
}
.wave:nth-child(8) {
    animation-delay: 0.7s;
}
.wave:nth-child(9) {
    animation-delay: 0.8s;
}
.wave:nth-child(10) {
    animation-delay: 0.9s;
}

@keyframes wave {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

