*{
    box-sizing: border-box;
}

html, body{
    padding: 0;
    margin: 0;
    font-family: "Syne", sans-serif;
}

a{
    color: #ffffff;
    text-decoration: none;
    transition: all 0.4s ease;
}

a:hover{
    opacity: 0.5;
}

body{
    background-color: #0E2246;
    color: #ffffff;
    line-height: 1.3
}

.container-fluid{
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
    margin: 0 auto;
}

.container-main{
    max-width: 1340px;
    overflow: hidden;
}

header{
    padding-top: 64px;
}

.main-container{
    display: flex;
    margin: 0 -80px;
}

.img-fluid{
    width: 100%;
    height: auto;
}

.text{
    width: 60%;
    padding-left: 80px;
    padding-right: 80px;
    padding-top: 80px;
    margin-bottom: 40px;
}

/* First anim elem */
.text-wrapper{
    position: relative;
    opacity: 0;
    transform: translateY(100%);
    padding-bottom: 40px;
    margin-bottom: 40px;
    animation: fadeSlideIn 1s ease-out 1s forwards;
}

/* second anim elem */
.text-wrapper::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    width: 0;
    height: 1px;
    background-color: #66D5EA;
    animation: expand 1s ease-out 2s forwards;
}

@keyframes expand {
  to {
    width: 100%;
  }
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.image{
    width: 40%;
    padding-left: 80px;
    padding-right: 80px;
}

.subtext{
    margin-bottom: 16px;
}

.info-wrapper{
    display: flex;
    justify-content: space-between;
}

.info-wrapper span, .info-wrapper span a{
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

.info-wrapper span{
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

/* fourth anim elem */
.info-sub-wrapper{
    opacity: 0;
    margin-left: 32px;
    animation: fadein 1s ease-out 4s forwards;
}

.info-sub-wrapper > div:not(:last-child){
    margin-bottom: 8px;
}

/* typography */
h1{
    display: block;
    font-size: 64px;
    font-weight: 400;
    margin-bottom: 16px;
    line-height: 1;
}

.f-28{
    font-size: 28px;
}

.f-18{
    font-size: 18px;
}

/* color */
.color-teal{
    color: #66D5EA
}

/* third anim elem */
.location{
    opacity: 0;
    animation: fadein 1s ease-out 3s forwards;
}

@keyframes fadein {
  to {
    opacity: 1;
  }
}

.social{
    display: flex;
    gap: 16px;
}

.location-flex{
    margin-bottom: 40px;
}

.location-flex, .mail, .phone, .facebook{
    display: flex;
}

.phone, .social-heading{
    margin-bottom: 16px;
}

.location-flex::before{
    content: url("../images/location.svg");
    margin-right: 8px;
}

.mail::before{
    content: url("../images/mail.svg");
    margin-right: 8px;
}

.phone::before{
    content: url("../images/phone.svg");
    margin-right: 8px;
}

.facebook::before{
    content: url("../images/facebook.svg");
    margin-right: 8px;
}

@media (max-width: 1400px) {
    header{
        padding-top: 32px;
    }

    .main-container{
        margin: 0 -40px;
    }

    h1{
        font-size: 52px;
    }

    .f-28{
        font-size: 24px;
    }

    .text, .image{
        padding-left: 40px;
        padding-right: 40px;
    }

    .text{
        padding-top: 32px;
    }
}

@media (max-width: 990px) {

    .main-container{
        flex-direction: column;
    }

    .text, .image{
        width: 100%;
    }
}

@media (max-width: 768px) {
    h1{
        font-size: 42px;
    }

    .location{
        margin-bottom: 40px;
    }

    .subtext{
        font-size: 22px;
    }

    .info-wrapper{
        flex-direction: column;
    }

     .info-sub-wrapper{
        flex-direction: column;
        margin-left: 0;
    }
}

.btn{
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid #ffffff;
    color: #252F4E;
    padding: 1.125rem 3.75rem 1.125rem 1.875rem;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: bold;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    min-width: 220px;
    background-color: #ffffff;
}


.btn::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0px;
    height: 0px;
    border-radius: 50%;
    background: #252F4E;
    display: block;
    z-index: -1;
    transition: all ease .3s;
}

.btn:after {
    z-index: 2;
    transition: all ease .3s;
    content: "\e90c";
    font-family: 'icomoon';
    font-size: 32px;
    position: absolute;
    right: 20px;
}

.btn:hover {

    color: #ffffff;
}

.btn:hover::before {
    width: 150%;
    height: 300%;
}

.btn:hover:after {
    margin-left: 5px;
    color: #fff;
    right: 15px;
}

  
