*{
    box-sizing: border-box
}
html {
    height: 100%
}

body {
    font-family: Helvetica, Arial;
    /* background: url(bg.jpg) bottom left no-repeat;*/
    background: #e1ddc9;
    font-size: 18px;
    font-weight: 200;
    margin: 0;
    line-height: 1.5;
    height: 100vh;
}

a {
    text-decoration: none;
    color: #000;
}

.center {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 100vh;
    min-height: -webkit-fill-available;
}


.box {
    position: relative;
    padding: 20px 30px;
    margin-top: -40px;
    max-width: 100%
}

.box img{
    max-width: 100%
}

.box p{
    position: relative;
    text-align: center;
  border-top: 1px solid rgba(0,0,0,0.3);
  padding: 15px 0;
    width: 440px;
  margin: 0 auto 30px;
      border-bottom: 1px solid rgba(0,0,0,0.3);
  max-width: 100%;
    
}


h1 {
    font-size: 40px;
    margin: 0;
    text-transform: uppercase;
}

h2 {
    font-size: 20px;
    margin: 0;
    font-weight: 200;
    opacity: .8;
}

.contact {
    text-align: center;
   
}

.contact a {
    display: inline-block;
    margin: 0 30px;
    padding: 5px 0 3px 20px;
}

.contact a.phone {
    background: url(phone.svg) left center no-repeat;
    background-size: 12px;
}

.contact a.mail {
    background: url(mail.svg) left center no-repeat;
    background-size: 22px;
    padding: 5px 0 3px 30px;
}

@media (max-width: 540px) {
    h1 {
        font-size: 7.5vw;
    }

    h2 {
        font-size: 4.5vw;
    }

    .flex {
        padding: 0 7vw
    }

    .flex::before,
    .flex::after {
        bottom: 3vw;
        width: 9vw;
    }

   

    .contact a {
        margin: 0;
        font-size: 16px;
    }
    
    .box p{
        font-size: 16px;
    }

    

}

@media (max-width: 380px) {
    .contact a{
        font-size: 14px;
    }
}


