@font-face {
  font-family: 'OPTIBodoni-Antiqua';
  src: url('/media/OPTIBodoni-Antiqua.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: transparent;
  overflow-x: hidden;
  overflow-y: auto;
}

#blur-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -3;
}

#blur-bg-inner {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background-image: url('/media/bg_compress.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(5px);
  transform: scale(1.05);
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: -1;
}

body {
  font-family: 'OPTIBodoni-Antiqua', serif;
}

div#outer {
  display: table;
  height: 100%;
  width: 100%;
}

div#inner {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

div#container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1000px;
  width: 100%;
  min-height: 580px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  max-height: none;
  overflow: visible;
}

div#image-wrapper {
  position: relative;
  width: 430px;
  height: 430px;
  margin: 0 auto 20px;
}

div#circle-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background-color: #282828;
  transform: translate(-50%, -50%);
  z-index: 0;
}

div#image-wrapper img {
  position: relative;
  z-index: 1;
  width: 430px;
  height: 430px;
}

p#topheader,
p#header {
  position: relative;
  z-index: 2;
  font-family: 'OPTIBodoni-Antiqua', serif;
  color: #bbe6f2;
  text-align: center;
  font-weight: bold;
  letter-spacing: 5px;
  margin: 0 auto;
  line-height: 60px;
}

p#topheader {
  font-size: 60px;
}

p#header {
  font-size: 80px;
}

#text-bg {
  background-image: url('/media/frame3.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 40px;
  border-radius: 12px;
  z-index: 2;
  position: relative;
  display: inline-block;
  margin-top: 0;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); */
  color: #323C46;
  font-size: 24px;
  text-align: center;
  min-width: 280px;
  max-width: 635px;
  min-height: 100px;
  max-height: none;
  width: 100%;
 
}

@media (max-width: 768px) {
  #text-bg {
    padding: 40px 20px;
    font-size: 20px;
    max-width: 90%;
  }

  p#header {
    font-size: 50px;
    line-height: 1.2;
  }

  p#topheader {
    font-size: 40px;
    line-height: 1.2;
  }

  #image-wrapper {
    width: 320px;
    height: 320px;
  }

  #image-wrapper img {
    width: 100%;
    height: 100%;
  }

  #circle-bg {
    width: 270px;
    height: 270px;
  }
}
