@import 'fonts.css';

:root {
--primary: #B11C1A;
--primary-hover: #9b1817;
--secondary: #9CB3DE;
--secondary-hover: #9CB3DE;
--emphasis: #333333;
--default: #666;
--default-15: rgba(102, 102, 102, .15);
--meta: #999;
--muted: #f8f8f8;
--light: #EEEBE4;
--white: #fff;
--white-75: rgb(255, 255, 255, .75);
--white-25: rgb(255, 255, 255, .25);
--border-radius: 10px;
--font-family-default: 'M PLUS 1';
--font-family-primary: 'Literata';
}

/*Cookie CSS*/
.tm-header-placeholder {
  display: none;
}

.tm-cookie-banner .uk-container {
  text-align: left !important;
}

.tm-cookie-banner .cookie-text {
	font-size: 0.875rem;
	line-height: 1.1;
}

.js-custom-cookie-accept {
	font-size: 0.875rem;
}

@media(min-width: 960px){
  .tm-cookie-banner {
    max-width: 520px;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
  }
}

/*-- BASE --*/
* {
    box-sizing: border-box;
}

textarea.uk-textarea {
  resize: none;
  border-top: none;
  border-right: none;
  border-left: none;
}


/*-- UIkit --*/
.uk-text-lead a {
  font-family: var(--font-family-primary);
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 400;
  text-transform: uppercase;
}

.uk-text-primary .uk-text-meta {
  color: var(--primary);
}

.uk-box-shadow-medium {
  box-shadow: 0 16px 32px -8px rgba(12, 12, 13, .4);
}

/* MARGINS */
@media(min-width: 960px) {
  .uk-margin-medium-top\@m {
    margin-top: 40px !important;
  }
  .uk-margin-large-top\@m {
    margin-top: 70px;
  }
}


/*-- CUSTOM --*/
.m-social a {
  border-bottom: 1px solid var(--primary);
}

.s-border-top {
  border-top: 1px solid var(--default-15);
}

.c-slider-bottom .el-item > .uk-grid {
  align-items: end;
}

.c-panel-bg {
  background: linear-gradient(rgba(156, 179, 222, .6)), url(/images/bg/promo.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

.c-cert-panel {
  overflow: hidden;
}

@media(max-width: 960px){
  .c-cert-panel .el-image {
    aspect-ratio: 1.75;
    object-position: left bottom;
    transform: scale(1.1);
    transform-origin: left bottom;
  }
  .c-cert-panel .uk-padding-large {
    padding: 20px 15px 40px;
  }
}

@media(min-width: 960px) {
  .uk-text-right\@m .m-social > .uk-grid {
    justify-content: end;
  }
  .c-row-5-7\@m > div:nth-child(1) {
    width: calc(5/12 * 100%);
  }
  .c-row-5-7\@m > div:nth-child(2) {
    width: calc(7/12 * 100%);
  }
  .c-cert-panel .el-image {
    aspect-ratio: 1.75;
    object-position: left center;
    transform: scale(1.25);
    transform-origin: left center;
  }
}


/* PROMO */
.s-promo .c-col > * {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
}

.s-promo .m-social > .uk-grid {
  flex-direction: column;
  align-items: end;
}
.s-promo > .uk-section {
  background-position-y: 0%;
  animation: promo-bg 120s linear infinite alternate;
}

@keyframes promo-bg {
  from {
      background-position-y: 0%;
  }
  to {
      background-position-y: 100%;
  }
}

@media(max-width: 420px){
  .s-promo .c-col .uk-text-lead {
    font-size: 1.125rem;
  }
}
@media(max-width: 960px) {
  .s-promo .c-col .uk-tile {
    padding: 70px 40px;
  }

  .s-promo > .uk-section {
    padding-bottom: 0;
  }
}

/* ABOUT */
.s-about {
  background: linear-gradient(rgba(248, 248, 248, 0), rgba(248, 248, 248, 1));
}

.s-about {
  margin-top: -180px;
}
.s-about > .uk-section {
  padding-top: 240px;
}

@media(min-width: 960px) {
  .s-about > .uk-section {
    padding-top: 320px;
  }
}

@media(min-width: 2400px) {
  .s-about {
    margin-top: -240px;
  }
  .s-about > .uk-section {
    padding-top: 320px;
  }
}


/* MENU */
.c-menu-grid .el-meta {
  opacity: 0.25;
}


.c-menu-grid .uk-grid > div .uk-card {
  --i: 0;

  position: relative;

  background:
      linear-gradient(rgba(156, 179, 222, .6)),
      url('/images/bg/promo.jpg');

  background-size: cover;
  background-repeat: no-repeat;
  background-position-x: calc(var(--i) * 15%);

  box-shadow: -30px 0 32px -8px rgba(12, 12, 13, .4);
}

.c-menu-grid .uk-grid > div:nth-child(2) .uk-card {
  --i: 1;
}

.c-menu-grid .uk-grid > div:nth-child(3) .uk-card {
  --i: 2;
}

.c-menu-grid .uk-grid > div:nth-child(4) .uk-card {
  --i: 3;
}

.c-menu-grid .uk-grid > div:nth-child(5) .uk-card {
  --i: 4;
}

.c-menu-grid .uk-grid > div:nth-child(6) .uk-card {
  --i: 5;
}

.c-menu-grid .uk-grid > div:nth-child(7) .uk-card {
  --i: 6;
}

@media(max-width: 640px){
  .c-menu-grid .uk-card-body {
    padding: 20px 15px;
  }
}


/* GALLERY */
.c-gallery-grid .el-item,
.c-gallery-grid .el-item > a,
.c-gallery-grid .el-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-gallery-grid > .uk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* grid-template-rows: repeat(3, 1fr); */
  grid-template-rows: 1fr 1fr auto;
  gap: 10px;
}
.c-gallery-grid > .uk-grid > div:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}
.c-gallery-grid > .uk-grid > div:nth-child(2) {
  grid-column: 3;
  grid-row: 1;
}
.c-gallery-grid > .uk-grid > div:nth-child(3) {
  grid-column: 3;
  grid-row: 2;
}
.c-gallery-grid > .uk-grid > div:nth-child(4) {
  grid-column: 1 / 4;
  grid-row: 3;
}

@media(min-width: 960px) {
  .c-gallery-grid > .uk-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
  }
  .c-gallery-grid > .uk-grid > div:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }
  .c-gallery-grid > .uk-grid > div:nth-child(2) {
    grid-column: 3;
    grid-row: 1;
  }
  .c-gallery-grid > .uk-grid > div:nth-child(3) {
    grid-column: 3;
    grid-row: 2;
  }
  .c-gallery-grid > .uk-grid > div:nth-child(4) {
    grid-column: 4 / 7;
    grid-row: 1 / 3;
  }
}


/* MODAL */
@media(max-width: 640px) {
  .uk-modal-body {
    padding: 40px 15px;
  }
}

/* MAP */
#map {
  aspect-ratio: 1.25;
}

