@font-face {
  font-family: 'cormorant';
  src:  url('./Cormorant-Regular.ttf') format('truetype'),
  url('./cormorant-regular-webfont.woff2') format('woff2'),
  url('./cormorant-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'karrik-regular';
  src:  url('./Karrik-Regular.ttf') format('truetype'),
  url('./Karrik-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

.cormorant {
  font-family: 'cormorant';
  color: #2b2c2c;
/*  display: inline-block;*/
}

.karrik {
  font-family: 'karrik-regular';
  color: #2b2c2c;
/*  display: inline-block;*/
}


html {
  background: #9f9f9f;
/*  font-size: 16px;*/
}

body {
  margin:0;
  overflow: auto;
  background: #9f9f9f;
/*  vertical-align: middle;*/
  height: 100vh;
  width: calc(var(--vw, 1vw) * 100);
}

input, select { 
  font-size: 100%; 
}

/*main container*/

#header {
/*  margin-top: 0px;*/
  display: block;
}

#main {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: space-evenly;
  height: auto;
  align-content: center;
}

#type {
  padding-bottom: 2vh;
}

#footer {
/*  padding-top: 3vh;
  border-top: 1px solid #2b2c2c;*/
}

#logo {
  background-image: url(./eml.svg);
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: contain;
  min-height: 5vh;
}

#previewbox {
/*  border-top: 1px solid #2b2c2c;*/
}

a {
  text-decoration: none;
}

/*animation for loading*/

.progress_bar {
  height: 5vh;
  width: 5vh;
  border-radius: 50%;
  cursor: pointer;
}

.progress_bar {
  background: radial-gradient(#ffffff, #ff5733);
  background-size: 400% 400%;

  -webkit-animation: progress 5s ease infinite;
  -moz-animation: progress 5s ease infinite;
  animation: progress 5s ease infinite;
}

@-webkit-keyframes progress {
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
@-moz-keyframes progress {
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
@keyframes progress {
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}


@media screen and (orientation: landscape)  {
  #main {
    flex-direction: row;
  }
}

@media screen and (orientation: portrait) {
  #main {
    flex-direction: column;
  }
}
