* {
  transition: .33s ease all;
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
}
html {
  font-family: 'Open Sans', sans-serif;
  box-sizing: border-box;
  color: #58585a;
}
span {
  display: inline-block;
  width: 50px;
  height: 5px;
  background-color: #e2001a;
  margin-bottom: 30px;
  transform: rotate(-45deg);
}
div.main {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
 /* background-image:  url(waves.png);
  background-size: cover;
  background-position: center;*/


  /*background-color:  #ffffff;*/
/*  background-image: linear-gradient(135deg, #f6f5f5 25%, #fafafa 25%, #fafafa 50%, #f6f5f5 50%, #f6f5f5 75%, #fafafa 75%, #fafafa 100%);
  background-size: 28.28px 28.28px;*/
  /*background-image: linear-gradient(135deg, #f6f5f5 25%, #fafafa 25%, #fafafa 50%, #f6f5f5 50%, #f6f5f5 75%, #fafafa 75%, #fafafa 100%);
  background-size: 10px 10px;*/


}
div.container {
  background-color:  #FBFBFB;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.45);
}

/*.imag {
  width: 100%;
}*/
h1 {
  font-weight: 600;
  font-size: 36px;
  margin: 0 0 15px;
}
p {
  font-weight: 300;
  line-height: 24px;
  margin: 0 0 30px 0;
}
a {
  text-decoration: none;
  text-transform: none;
  color: #e2001a;
  font-weight: bold;
  font-size: 18px;
  position: relative;
  display: inline-block;
  z-index: 1;
  padding: 5px;
  left: -5px;
}
/*a:hover {
  color: #e2001a;
}*/
a::before {
  content: '';
  z-index: -1;
  position: absolute;
  top: calc(50%);
  left: 0;
  width: 100%;
  height: 40%;
  pointer-events: none;
  background:  #e2001a;
  transform: scale3d(0, 1, 1);
  transform-origin: 0% 50%;
  transition: transform 0.33s;
}
/*a:hover::before {
          transform: scale3d(1, 1, 1);
          transform-origin: 0% 50%;
}*/
div.imag {
  height: 240px;
  width: 100%;
  background-image: url(logo.jpg);
  background-position: center;
  background-size: cover;
  background-repeat:  no-repeat;
}
div.text-container {
  margin: 30px 45px 55px;
}
@media screen and (min-width: 768px) {
  div.container {
    flex-direction: row;
    width: 100%;
  }
div.imag {
    min-height: 400px;
    min-width: 360px;
  }
 div.text-container {
    margin: 0 60px;
    max-width: 660px;
  }
}
@media screen and (min-width: 1024px) {
  div.container {
    max-width: 1200px;
  }
}


/* bootstrap styles */

@media (max-width: 506px) {
  .hidden-xxs {
    display: none !important;
  }
}