@font-face {
  font-family: "Tiro Kannada";
  src: url('assets/TiroKannada-Regular.woff2');
}

@font-face {
  font-family: "Cookie";
  src: url('assets/Cookie-Regular.woff2');
}

@font-face {
  font-family: "Open Sans";
  src: url('assets/OpenSans-Regular.woff2');
}

.fp-watermark {
  display: none;
}

@media only screen and (min-width: 800px) {
  html {
    scrollbar-width: none;
    margin: 0;
    padding: 0;
    overscroll-behavior: none;
  }

  body {
    overflow: hidden scroll;
    -ms-overflow-style: none;
    margin: 0;
    padding: 0;
    background-color: #b251ff;
    background-image: url("assets/background_blur_cover_optimized.jpeg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
  }

  body::-webkit-scrollbar {
    display: none;
  }

  .layout {
    width: 100%;
    height: calc(100vh * 5);
    position: relative;
  }

  .layout .section {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    filter: none;
    z-index: 0;
  }

  .section {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    filter: none;
  }

  section {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    height: 100vh;
  }

  section > * {
    overflow: hidden;
  }

  #last-sec {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }

  .layout #s1 {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
  }

  .navbar {
    width: 100%;
  }

  .navbar ul {
    margin: 0;
    padding: 0;
    height: 74px;
    list-style-type: none;
    color: #fff;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .navbar ul li {
    width: 140px;
    background-color: #2f0153;
    text-align: center;
    padding: 10px 0 7px 0;
    margin-left: 20px;
    cursor: pointer;
    border-bottom: 4px solid #fff;
    font-family: "Open Sans";
    font-size: 14px;
    font-weight: 600;
    transition: padding 0.5s ease-in-out;
  }

  .navbar ul li:hover {
    padding: 47px 0 7px 0;
  }

  #first-nav-el {
    margin-left: 0;
    padding: 47px 0 7px 0;
  }

  .arrow {
    width: 100px;
    height: auto;
    align-self: flex-end;
    margin-left: 40vw;
    margin-right: 40vw;
    margin-top: 20vh;
    transition: scale 100ms ease-in-out;
    cursor: pointer;
  }

  .arrow:hover {
    scale: 1.1;
  }

  .arrow h6 {
    display: none;
  }

  .arrow-top {
    display: none;
    width: 60px;
    height: auto;
    position: absolute;
    margin-top: 86vh;
    margin-left: 92vw;
    cursor: pointer;
    z-index: 10;
    opacity: 0.8;
  }

  .arrow svg {
    text-shadow: 1px 1px 10px #2f0153;
  }

  .main-text {
    margin-top: 10vh;
    display: flex;
    width: 100vw;
    flex-wrap: wrap;
  }

  .main-text h1 {
    color: #fff;
    font-family: "Cookie";
    font-weight: lighter;
    font-size: 120px;
    text-shadow: 1px 1px 10px #2f0153;
    width: 100%;
    text-align: center;
  }

  .main-text h6 {
    color: #fff;
    font-family: "Open Sans";
    font-weight: 600;
    font-size: 24px;
    text-align: center;
    width: 100%;
    margin-top: -15vh;
    text-shadow: 1px 1px 10px #2f0153;
  }

  .content-start {
    background-color: #fff;
    height: 90vh;
    margin-top: 10vh;
    width: 940px;
    z-index: inherit;
  }

  .content {
    height: 100vh;
    background-color: #fff;
    width: 940px;
    z-index: inherit;
  }

  .content h2,
  .content-start h2,
  .content-end h2 {
    font-family: "Tiro Kannada";
    font-size: 30px;
    font-weight: lighter;
    margin: 60px 0 0 80px;
    color: #120024;
  }

  .content-end {
    margin-bottom: 0;
  }

  .about-grid {
    display: grid;
    grid-template: 1fr / repeat(3, 1fr);
    margin: 30px 80px 0 80px;
    justify-items: center;
  }

  .about-grid-column {
    width: 200px;
  }

  .about-grid-middle {
    width: 360px;
  }

  .about-grid-column p {
    text-align: left;
    font-family: "Open Sans";
    font-size: 13px;
    font-weight: 300;
    margin-top: -10px;
  }

  .about-grid-column ul {
    margin: 0;
    padding: 0 0 0 15px;
  }

  .about-grid-column > p{
    margin-bottom: 20px;
  }

  .o-mne-pic-text {
    margin: 10px 80px 0 80px;
    display: flex;
    justify-content: space-between;
  }

  .o-mne-pic-text > img {
    width: 200px;
    height: auto;
    margin: 0 0 0 10px;
  }

  .o-mne-pic-text-side {
    width: 500px;
    margin-right: 60px;
  }

  .o-mne-pic-text-side p {
    text-align: justify;
    font-family: "Open Sans";
    font-size: 14px;
    font-weight: 300;
  }

  .referencie {
    display: flex;
    flex-wrap: wrap;
  }

  .referencia-left {
    width: 460px;
    text-align: justify;
    margin-left: 80px;
    /* margin-top: -25px; */
  }

  .referencia-left *,
  .referencia-right * {
    font-family: "Open Sans";
    font-size: 12px;
    font-weight: 300;
    margin: 0;
    margin-left: 30px;
  }

  .referencia-left h6,
  .referencia-right h6 {
    text-align: center;
    margin: 5px 0 0;
  }

  .referencia-right {
    width: 460px;
    text-align: justify;
    margin-left: 400px;
    /* margin-top: -25px; */
  }

  .referencia-right h6 {
    margin-top: -12px;
    margin-bottom: 12px;
  }

  .first-referencia {
    margin-top: 0;
  }

  .referencia-left blockquote:before {
    font-family: "Tiro Kannada";
    position: absolute;
    color: #2f0153;
    font-size: 80px;
    line-height: 1;
    margin-left: -35px;
    content: "\201C";
  }

  .referencia-left blockquote:after {
    font-family: "Tiro Kannada";
    position: absolute;
    color: #2f0153;
    font-size: 80px;
    line-height: 1;
    margin-left: 85px;
    content: "\201D";
  }

  .first-referencia blockquote:after {
    margin-left: 65px;
  }

  .referencia-right blockquote:before {
    font-family: "Tiro Kannada";
    position: absolute;
    color: #2f0153;
    font-size: 80px;
    line-height: 1;
    margin-left: -35px;
    content: "\201C";
  }

  .referencia-right blockquote:after {
    font-family: "Tiro Kannada";
    position: absolute;
    color: #2f0153;
    font-size: 80px;
    line-height: 1;
    margin-left: 340px;
    content: "\201D";
  }

  .content-end {
    background-color: #fff;
    height: 60vh;
    width: 940px;
    z-index: inherit;
  }

  .content-end p {
    font-family: "Open Sans";
    font-size: 16px;
    font-weight: 300;
    margin-left: 80px;
  }

  .footer {
    min-height: 25vh;
    background-color: #2f0153;
    width: 100vw;
    z-index: inherit;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-nav {
    margin: 0;
    padding: 0;
    height: 74px;
    list-style-type: none;
    color: #fff;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: min-content;
  }

  .footer-nav li {
    font-weight: 600;
    font-family: "Open Sans";
    font-size: 12px;
    margin-top: 15px;
    padding: 1px 10px 2px 10px;
    border-left: 1px solid #fff;
    cursor: pointer;
  }

  .footer-nav li:hover {
    text-decoration: underline;
  }

  #no-border-left {
    border-left: none;
  }

  .logo-title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
  }

  .logo-title h3 {
    color: #fff;
    font-family: "Cookie";
    font-size: 32px;
    font-weight: 600;
  }

  .logo {
    display: block;
    margin: 10px 30px 10px 0;
  }

  .footer p {
    color: #fff;
    font-family: "Open Sans";
    font-size: 12px;
    font-weight: 300;
    text-align: center;
  }

  #footer-text a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
  }

  #footer-text a:hover {
    text-decoration: underline;
  }

  .separator {
    display: none;
  }

  .content > p {
    margin: 3px 80px 0;
    text-align: justify;
    font-family: "Open Sans";
    font-size: 13px;
    font-weight: 300;
  }

  .about-list {
    padding: 0 0 0 15px;
    text-align: justify;
    font-family: "Open Sans";
    font-size: 13px;
    font-weight: 300;
    margin-left: 80px;
  }

  .about-list li p {
    margin: 3px 80px 3px 0;
  }

  .bold {
    font-weight: bold;
  }

  .footer-grid {
    display: grid;
    grid-template: 1fr / repeat(2, 1fr);
  }

  .grid-left {
    display: flex;
    align-content: center;
    flex-wrap: wrap;
  }

  .grid-right {
    display: flex;
    justify-content: center;
  }

  .grid-left a:link {
    color: #b251ff;
  }

  .grid-left a:visited {
    color: #2f0153;
  }

  #footer-created-by {
    width: 100%;
    text-align: center;
  }
}

/*------------------Mobile NaBar------------------*/
@media only screen and (max-width: 800px) {
  html,
  body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
  }

  body {
    background-color: #b251ff;
    background-image: url("assets/background_mobile_optimized.webp");
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    position: absolute;
    /* overscroll-behavior: none; ----> disables wierd overscroll in safari on ios */
  }

  .layout {
    width: 100%;
    height: calc(100vh * 5);
    display: flex;
    flex-wrap: wrap;
  }

  section {
    display: flex;
    flex-wrap: wrap;
  }

  .s1 {
    height: 100svh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }

  #s1 {
    height: 100svh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }

  .navbar {
    display: none;
  }

  .main-text {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-self: flex-end;
  }

  .main-text h1 {
    color: #fff;
    font-family: "Cookie";
    font-weight: lighter;
    font-size: 85px;
    width: 100%;
    margin: 0;
    text-align: center;
    text-shadow: 1px 1px 10px #2f0153;
  }

  .main-text h6 {
    color: #fff;
    font-family: "Tiro Kannada";
    font-weight: lighter;
    font-size: 32px;
    width: 100%;
    margin: 0;
    text-align: center;
    text-shadow: 1px 1px 10px #2f0153;
  }

  .mobile-descriptor {
    align-self: flex-end;
    width: 100%;
    text-align: center;
    margin: 0 0 0 0;
  }

  .arrow {
    align-self: flex-end;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .arrow svg {
    width: 50px;
  }

  .arrow h6 {
    color: white;
    font-family: "Open Sans";
    font-weight: 200;
    font-size: 20px;
    text-align: center;
    text-shadow: 1px 1px 10px rgba(47, 1, 83, 0.7);
  }

  .arrow-top {
    display: none;
  }

  #s2,
  #s3,
  #s4,
  #s5 {
    min-height: 100svh;
    display: flex;
    flex-wrap: wrap;
  }

  #s5 {
    min-height: 80svh;
  }

  .content-start,
  .content,
  .content-end {
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(2px);
    width: 76vw;
    margin-left: 4vw;
    z-index: inherit;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    padding: 0 8vw;
  }

  .content-start {
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
  }

  .content h2,
  .content-start h2,
  .content-end h2 {
    font-family: "Tiro Kannada";
    font-size: 2em;
    font-weight: lighter;
    color: #120024;
    text-align: center;
  }

  .content p,
  .content-start p,
  .content-end p {
    font-size: 0.8em;
    font-family: "Open Sans";
    width: 100%;
  }

  .content-end p {
    font-size: 1em;
  }

  .referencia-left *,
  .referencia-right * {
    font-family: "Open Sans";
    font-size: 0.8em;
    font-weight: 300;
  }

  .referencia-left blockquote,
  .referencia-right blockquote {
    text-align: justify;
  }

  .referencia-left h6,
  .referencia-right h6 {
    text-align: center;
    font-size: 1.2em;
    margin-top: 5px;
  }

  .referencia-left blockquote:before,
  .referencia-right blockquote:before {
    font-family: "Tiro Kannada";
    position: absolute;
    color: #2f0153;
    font-size: 70px;
    line-height: 1;
    margin-left: -30px;
    content: "\201C";
  }

  .content-end {
    flex-wrap: wrap;
    align-content: flex-start;
    height: 70%;
  }

  .content-end > * {
    flex-basis: 100%;
  }

  .footer-nav {
    display: none;
  }

  .footer {
    width: 100vw;
    background-color: #2f0153;
    display: flex;
    flex-wrap: wrap;
    color: #fff;
    justify-content: center;
    align-items: center;
    align-content: flex-start;
    height: max-content;
  }

  .footer p {
    font-family: "Open Sans";
    font-size: 0.8em;
  }

  .logo-title {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 5vh;
  }

  .logo-title h3 {
    flex-basis: 100%;
    text-align: center;
    font-family: "Cookie";
    font-weight: lighter;
    font-size: 3.5rem;
    margin: 10px 0;
  }

  .separator {
    display: block;
    width: 100vw;
    height: 1px;
    margin: 2vh 0 -2vh;
    border: 0;
    background-color: #2f0153;
  }

  .o-mne-pic-text {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
  }

  #footer-text {
    text-align: center;
    width: 100vw;
  }

  .bold {
    font-weight: bold;
  }

  .justified-text-mobile {
    text-align: justify;
  }

  .mobile-about-diag p {
    margin-top: 5px;
    margin-bottom: 0;
  }

  .mobile-align-center {
    text-align: center;
  }

  .content ul,
  .content-start ul {
    padding-left: 15px;
  }

  .grid-left {
    margin: 30px 0 0 20px;
  }

  .grid-right {
    display: none;
  }

  .grid-left a:link {
    color: #b251ff;
  }

  .grid-left a:visited {
    color: #2f0153;
  }

  #footer-text > a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
  }
}