@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/greatvibes/v9/RWmMoKWR9v4ksMfaWd_JN9XFiaQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Leckerli One';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/leckerlione/v11/V8mCoQH8VCsNttEnxnGQ-1idKpZd.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cookie';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/cookie/v12/syky-y18lb0tSbf9kgqS.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Indie Flower';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/indieflower/v12/m8JVjfNVeKWVnh3QMuKkFcZVaUuH.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Kristi';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/kristi/v12/uK_y4ricdeU6zwdhDRcS.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Marck Script';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/marckscript/v11/nwpTtK2oNgBA3Or78gapdwuyyCg_.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.home {
  height: 100vh;
  padding: 0;
  margin: 0;
  color: #f9fafc;
  overflow: hidden;
  background-color: #f6f5f3; /* da_vinci - CDR */
}

.background {
  height: 100%;
  /* width: 100%; // CDR */
  padding: 0;
  margin: 0;
  background-attachment: fixed;
  background-position: 20%; /* center; CDR */
  transform: scale(0.9); /* 1.1 // CDR */
  /* filter: blur(3px); // CDR */
  /* background-size: cover; // CDR */
  background-size: contain; /* CDR */
  background-repeat: no-repeat; /* CDR */
}

/*
  Resolves https://github.com/hossainemruz/toha/issues/70

  fixed attached images use the whole <body> size. On mobile this can get really
  tall which blows your image out. Setting the attachment back to scroll allows
  your cover image to stretch within its own container
*/
@supports (-webkit-touch-callout: none) {
  .background {
    background-attachment: scroll;
  }
}

.content {
  position: relative;
  top: -65%;
  height: 60%;
}

.home img {
  width: 148px;
  height: 148px;
  background-color: #e7e7ef;
  /* padding: 5px; - CDR */
  margin-bottom: 10px;
}

#affiliate.container {
  font-size: 1.5em; /*14pt;*/
  font-family: 'Marck Script';
  /* color: #3A8EBA; /* #c43327; /* b2362c; /* red - CDR */
  color: #8c8f8c; /* grey - CDR */
  /* margin-left: 155px; */
  margin-top: 25px;
  /* display: flex; */
}

@media (min-width: 1400px) {
#affiliate.container {
    max-width: 1140px;
  /* padding-left: 175px;
  margin-left: 0px; */
}
}

/*
@media (max-width: 1300px) {
#affiliate.container {
  padding-left: 35px;
    max-width: 1140px;
  margin-left: 0px;
}
}
*/

/* @media only screen and (min-width: 1824px) { */
@media (max-width: 1200px) { /* min -> max */
#affiliate.container {
    max-width: 1140px;
  /* padding-left: 75px; */
  /* padding-left: 175px; - min-width */
  /* padding-left: 0px;
  margin-left: 0px; */
}
}

/*
@media (max-width: 992px) {
#affiliate.container {
    max-width: 960px;
  padding-left: 0px;
}
}
*/

@media (max-width: 768px) {
#affiliate.container {
    max-width: 720px;
  margin-top: 85px;
  /* margin-left: 30px;
  padding-left: 30px; */
}
}

/*  @media (max-width: 576px) { */
@media (max-width: 630px) {
#affiliate.container {
    /* max-width: 540px; - 576px */
    max-width: 580px;
  margin-top: 150px;
  /* margin-left: 30px;
  padding-left: 30px; */
}
}

.home .greeting {
  color: #8c8f8c; /* grey - CDR */
  font-size: 2em;
  margin-bottom: 0px !important;
}

.home .greeting-subtitle {
  color: #8c8f8c; /* grey - CDR */
  font-size: 1.25em;
  margin-bottom: 0px !important;
  /* color: #c43327; /* b2362c; /* red - CDR */
}

.home .greeting-subtitle2 {
  color: #1c2d41; /* strong grey - CDR */
  font-size: 1.0em;
  font-weight: bold !important;
}

.home .typing-carousel {
  padding-top: 3.0em;
  font-size: 1.5em; /*2.0 - 14pt;*/
  font-family: 'Marck Script';
  /* color: #3A8EBA /* #c43327; /* b2362c; /* red - CDR */
  color: #c43327; /* * red - CDR */
}
/*
  < font-family: 'Great Vibes';
  ~ font-family: 'Leckerli One';
  ~ font-family: 'Cookie';
  + font-family: 'Indie Flower';
  ~ font-family: 'Kristi';
  */

#typing-carousel-data {
  display: none;
}

.arrow {
  position: absolute;
  color: #f9fafc;
  font-size: 1.5rem;
  bottom: 0;
}

.bounce {
  -webkit-animation: bounce 2s infinite;
          animation: bounce 2s infinite;
}

@-webkit-keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

/* ============= Device specific fixes ======= */

/* Large screens such as TV */
@media only screen and (min-width: 1824px) {
}

/* Extra large devices (large desktops, 1200px and up) */

@media (max-width: 1400px) {
}

@media (max-width: 1200px) {
}

/* IPad Pro */
@media (max-width: 1024px) {
}

/*  Large devices (desktops, 992px and up) */

@media (max-width: 992px) {
}

/* Medium devices (tablets, 768px and up) */

@media only screen and (max-width: 768px) {
.background {
  background-position: 5%; /* CDR */
  transform: scale(1.1); /* 1.1 // CDR */
}
}

/* Small devices (landscape phones, 576px and up) */

@media only screen and (max-width: 620px) { /* CDR */
  .content {
    position: relative;
    top: -75%;
    height: 60%;
  }

  .home img {
    width: 140px; /* 140 - CDR */
    max-width: 50%;
    height: auto;
  }
}

@media only screen and (max-width: 576px) {
  .content {
    position: relative;
    top: -75%;
    height: 65%;
  }

  .home img {
    width: 130px; /* 140 - CDR */
    max-width: 50%;
    height: auto;
  }

  .home .greeting {
    font-size: 24pt;
  }
}

/* iPhoneX, iPhone 6,7,8 */
@media only screen and (max-width: 375px) {
}

/* Galaxy S5, Moto G4 */
@media only screen and (max-width: 360px) {
}

/* iPhone 5 or before */
@media only screen and (max-width: 320px) {
}
