/* screen reader only */
.sr-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* margin:-1px;
  padding:0; */
}

.statSVG {
  fill-rule:evenodd;
  clip-rule:evenodd;
  stroke-linejoin:round;
  stroke-miterlimit:2;
  /* to fill like surroundings, for hover and all other styling applies */
  fill:currentColor;
  width: 21px;
  height: 24px;
}

.navSVG {
  width: 21px;
  height: 24px;
}

#h1SVG {
  width: 42px;
  height: 48px;
}

#bcSVG {
  width: 11px;
  height: 12px;
}

figcaption h1 {padding-left: 1rem;}

/* smooth scrooling with pagelinks, target the html element !!!!!!!!!!!!!!!!!!!!! */
html {
  scroll-behavior: smooth;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* no b-points */
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Open Sans','Sarabun', Arial, sans-serif;
  font-weight: 300;
  font-size: 1.2rem;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-image: url('bg.svg');
  object-position: cover;
  /* background-size: 100%; */
  background-size: cover;
  background-repeat: no-repeat;
  /* the img does not scroll fixed */
  background-attachment: fixed;
}

*, *::after, *::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


h1, h2, h3, h4, h5, h6 {
font-family: 'Open Sans', Arial, sans-serif;
color:#192740;
font-weight: 300;
}

/* font sizes */
:root {
  --base-size:1rem; /* 1em = 16px */
  --type-scale: 1.25;
  --smallest:calc(var(--base-size)/var(--type-scale));
  --h5:calc(var(--base-size)*var(--type-scale));
  --h4:calc(var(--h5)*var(--type-scale)); /* calc(1em*1.2*1.2) */
  --h3:calc(var(--h4)*var(--type-scale));
  --h2:calc(var(--h3)*var(--type-scale));
  --h1:calc(var(--h2)*var(--type-scale)); /* calc(1em*1.2*1.2*1.2*1.2) */
}

h1{font-size: var(--h1);}
h2{font-size: var(--h2);}
h3{font-size: var(--h3);}
h4{font-size: var(--h4);}
h5{font-size: var(--h5);}

p {font-size: var(--base-size);}
small {font-size: var(--smallest);}

.contact1 {
  padding-bottom: 0;
}

.boxALnm, .boxALnm1 {
  background-color: #142233;
  border-bottom-left-radius:  1rem;
  border-bottom-right-radius:  1rem;
  text-align: center;
  font-size: 2rem;
  border: none;
  color:#DAE5ED;
  box-shadow: -5px -5px 10px rgba(255,255,255,.05),
               5px  5px 15px rgba(0,0,0,.05);

  padding: 2rem ; /**/
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
}

.boxALnm label {
  color:#cedbeb;
}

.boxALnm .activity {width: 100%;}

.boxALnm .activity, .boxALnm .naVen, .boxALnm1 {
  height: 3rem;
  background-color: #142233;
  border: none;
  outline: none;
  border-radius: 40px; /* calc(16px * 20) */
  padding: 5px 16px;
  color:#cedbeb;
  box-shadow: inset -2px -2px 6px rgba(255,255,255,.1),
              inset  2px  2px 6px rgba(0,0,0,.8);

  font-size: 16px;
  /* text-shadow: 1px 1px 0 #FFF; */
  margin-bottom:1rem;
  /* box-shadow:  inset 2px 2px 5px #BABECC,
              inset -5px -5px 10px #FFF; */
  box-sizing: border-box;
  transition: all 0.2s ease-in-out;
  /* appearance: none;
  -webkit-appearance: none; */
}

.boxALnm .naVen {
  color: #b76e79;
  box-shadow:  -2px -2px 6px rgba(255,255,255,.1),
                2px  2px 6px rgba(0,0,0,.8);
}
.boxALnm .naVen:active {
  box-shadow: inset -2px -2px 6px rgba(255,255,255,.1),
              inset  2px  2px 6px rgba(0,0,0,.8);
}

/*placeholder more transparent*/
.boxALnm .activity::placeholder {
  color: rgba(206, 219, 235, .3);
}



nav a {
  text-decoration: none;
  display: block; /* fill ALL AREA that it is containing it !!! -- remove padding from parent, as it cannot be filled; for this reason ADD padding to a */
  padding: 0.5rem;
  color: #DAE5ED;
  /* to je tudi barva svg */
  font-size: 1em;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: all 2s;
  margin: 0.1rem;
}
nav a.active {
  color:#85AED0;
}

nav a:focus, nav a:hover, nav a:active  {
  color:#85AED0;
}
/* ORDER MATTERS: :link  :visited  :focus  :hover  :active */

nav a:nth-child(2){
  padding-left: 2em;
  padding-right:2em;
}
nav #Artboard1, nav #Artboard2{
  /* fill: #DAE5ED; */
  transition: all 2s;
}


/* FB nav */
.navbar {
  background-color: #192740;
  position: fixed;
  width: 100%;
  left: 0;
  top:0;
  z-index: 3;
}
nav {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  max-width: 1000px;
  width: 80%;
  margin: 0 auto;
}


/* breadcrumb */
.senca {
  /* box-shadow:
        inset 0px 11px 8px -10px #CCC,
        inset 0px -11px 8px -10px #CCC; */
  background:linear-gradient(to bottom right, rgba(255,255,255,.2), rgba(255,255,255,.05));
  -webkit-backdrop-filter: blur(8px);
  -moz-backdrop-filter: blur(.8rem);
  backdrop-filter:blur(.8rem);
  /* border-radius: 1rem; */
  box-shadow: 0 1rem 2rem rgba(0,0,0,.05),
              -1px -1px 2px rgba(170, 170, 170, .5),
              /* #aaa, */
              /* rgba(255, 255, 255, 1), */
              1px 1px 2px #555;
  margin-top: 2.9rem;
  max-width :100%;
}

.senca a {
  display: inline-block;
  padding: .75rem 0;
  color:#4b6d90 ;
  text-decoration: none;
  transition: all 2s;
}

.senca ul li:last-of-type a{
  color:#192740;
}

/* Add a slash symbol (/) before/behind each list item */
.senca ul li+li:before {
  padding: 5px;
  color: #192740;
  content: "/\00a0";
}


.senca ul{
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  /* margin-left: 2rem; */
  color:#192740;
  font-size: 1rem;
  max-width: 1000px;
  width: 80%;
  margin: 0 auto ;
}

.senca ul li:first-of-type {
  margin-left: 0.5rem;
}

.senca a:focus, .senca a:hover, .senca a:active {
  color:#B76E79;
  transition: all 2s;
}


.gridOken {
  display: grid;
  max-width: 1000px;
  width: 90vw;
  border-radius: 1rem;
  background:linear-gradient(to bottom right, rgba(255,255,255,.2), rgba(255,255,255,.05));
  -webkit-backdrop-filter: blur(8px);
  -moz-backdrop-filter: blur(.8rem);
  backdrop-filter:blur(.8rem);
  box-shadow: 0 1rem 2rem rgba(0,0,0,.05),
              -1px -1px 2px rgba(170, 170, 170, .5),
              /* #aaa, */
              /* rgba(255, 255, 255, 1), */
              1px 1px 2px #555;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  grid-template-rows: 2fr repeat(5, auto);
  justify-content: center;
  margin: 2rem auto;
}
.gridOken .about {
  grid-column: 2/4;
  grid-row: 1/2;
}
.gridOken .work {
  grid-column: 3/5;
  grid-row: 1/3;
}

.about figure {
  width:33vw;
  height:33vw;
  position: relative;
  object-fit: cover;
}
.about img {
  width:100%;
  height:100%;
  object-fit: cover;
  display: block;
}
.about figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  width:100%;
  height: 25%;
  background: rgba(25, 39, 64, .55);
}
.about figcaption h1 {
  font-size: 1.2rem;
}
.about figcaption p {
  color: #fff;
}
.about {
  text-align: center;
  /* align-self: center; */
  justify-content: center;
  justify-self:center;
}
.cpc {
  clip-path:circle(45% at 50% 50%);
}

.work p, .work1 p, .book p {
  font-size: 1.2rem;
  line-height: 1.6rem;
  text-align: justify;
  text-indent: 2rem;
  margin: 1.5rem;
}
.book small {
  margin: 1.5rem;
}
/* .work p {margin-left: 0;}
.work1 p {margin-right: 0;} */

.gridOken .work1 {
  /* shape-outside: circle(50% at 50% 50%); */
  grid-row: 1/3;
  grid-column: 1/3;
  /* float: left; */
}
.gridOken .work1 .so{
  /* shape-outside: ellipse(37.87% 33.50% at 104.07% 33.19%); */
  shape-outside:ellipse(50% 50% at 100% 50%);
  width: 33vw;
  height: 33vw;
  float: right;
  opacity: .2;
  /* border: 2px solid navy; */
}

.gridOken .work .so1{
  /* shape-outside: ellipse(37.87% 33.5% at 3.10% 33.19%); */
  shape-outside:ellipse(50% 50% at 0% 50%);
  width: 33vw;
  height: 33vw;
  float: left;
  opacity: .2;
  /* border: 2px solid black; */
}

.book1img img {
  width:100%;
  height:auto;
  display: block;
  object-fit: contain;
}

.book {
  grid-column: 1/4;
}
.book1img {
  grid-column: 4/5;
  margin-right: 1.5rem;
  margin-bottom: 2rem;
}

.book1img img {
  max-height: 70vh;
  text-align: right;
}

.book1img small {
  line-height: normal;
}

.book h3 {
  font-size:1.6rem;
  margin-left: 1.5rem;
}

.book p:first-of-type {
  font-weight: 400;
  color:#4b6d90;
}

.gridOken h2 {margin: 1rem 1.5rem .7rem; }

/* grid */
.grid, .info1 {
  display: grid;
  max-width: 1000px;
  width: 90vw;
  border-radius: 1rem;
  background:linear-gradient(to bottom right, rgba(255,255,255,.2), rgba(255,255,255,.05));
  -webkit-backdrop-filter: blur(8px);
  -moz-backdrop-filter: blur(.8rem);
  backdrop-filter:blur(.8rem);
  box-shadow: 0 1rem 2rem rgba(0,0,0,.05),
              -1px -1px 2px rgba(170, 170, 170, .5),
              /* #aaa, */
              /* rgba(255, 255, 255, 1), */
              1px 1px 2px #555;
}

.grid {
  /* grid-template-columns: 3fr 7fr; */
  grid-template-columns: 1fr;
  grid-template-areas:
  "header"
  "main"
  "foot";
  margin: 2rem auto;
  justify-content: space-evenly;
  /* grid-gap: 0.8rem 1rem; */
}

.info1 {
  min-height: 60vh;
  align-content: center;
  margin: 3rem auto;
}

.grid > figure {
  grid-column: 1/3;
}

.info1 img, .grid img {
  width:100%;
  height: 10vmax;
  /* 40 manjsi, vecji 50 - media */
  object-fit: cover;
}
.info1 > figure, .grid > figure {
  position: relative;
  object-position: bottom;
  overflow: hidden;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
.info1 figcaption, .grid figcaption {
  position: absolute;
  bottom: 0%;
  left:0;
}
.info1 h1, .gtnum {
  color: #fffff0;
  text-shadow: 1px 1px 2px #192740;
}

.info1 > figure::before, .grid > figure::before {
  content: "";
  background-color: #212936;
  opacity: 0.5;
  filter: blur(.8rem);
  position: absolute;
  bottom: 0;
  left:0;
  width:100%;
  height: 100%;
}

.main-nov h2{color:#192740;
font-size: 1.5rem;
text-shadow:  1px 1px 3px rgba(255,255,255,0.1);
background-clip: text;
/* font-family: 'Open Sans', Arial, sans-serif; */
}



header {
  grid-area: header;
  color: #192740;
}
aside {
  grid-area: aside;
  position: relative;
  margin-left: 3vmin;
  overflow: hidden;
}
main {
  grid-area: main;
  position: relative;
  display: grid;
  justify-content: space-between;
  align-content: space-between;
}

.foot {
  grid-area: foot;
  justify-self:center;
}


footer {
  background-color: #192740;
  max-width :100%;
  color: #DAE5ED;
}

.footer {
  display: flex;
  width: 80%;
  min-height: 15vmax;
  max-width: 1000px;
  flex-flow: row;
  grid-gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}
footer svg {
  width: 3vw;
  height: 3vw;
}
footer p {font-size: .6rem;}
footer small {font-size: .4rem;}

.footer > div {flex-basis: 30%;}
.imgCanva {display:flex; align-items: center;justify-content: flex-end;}
.socMedia {display: flex; align-content: space-evenly;flex-flow: row; justify-content: center; grid-gap: 1rem;}


/* shadow same for all */
.main-video, .main-sim, .main-qa, .main-svg,
main article, .main-nov, .foot, aside, .card, .main-mtn {
  /* take bg in color-picker +5 hsl na l, -5 hsl na l */
  box-shadow: -1px -1px 2px rgba(255,255,255, .5),
              3px 3px 5px rgba(0,0,0,.2);
  border-radius: 1rem;
}
/* .main-video, .main-sim, .main-qa, .main-svg,
main article, .main-nov, .foot {
  margin-right: 3vmin;
} */
/* .main-nov, .main-video, .main-sim, .main-qa, .main-svg,
  main article {
  width: 100%;
  height: auto;
} */

.main-video, .main-sim, .main-qa, .main-svg,
/* main article, .consult article */
{
  background:linear-gradient(to bottom right, rgba(255,255,255,.8), rgba(255,255,255,.65));
  -webkit-backdrop-filter: blur(8px);
  -moz-backdrop-filter: blur(.8rem);
  backdrop-filter:blur(.8rem);
  color:#B76E79;
  position:relative;
  /* margin: 2% 2% 0 auto; */
}

.consult article {
  background:  transparent;
  /* background:linear-gradient(to bottom right, rgba(255,255,255,.45), rgba(255,255,255,.15));
  -webkit-backdrop-filter: blur(8px);
  -moz-backdrop-filter: blur(.8rem);
  backdrop-filter:blur(.8rem);
  text-align: justify; */
  color: #192740;
  text-shadow:  1px 1px 3px rgba(255,255,255,0.1);
  padding: 2rem 2.7rem;
}
main article, .consult article {
  padding: 1.5rem;
  text-shadow:  1px 1px 3px rgba(255,255,255,0.1);
}

.main-mtn {

  gap:1rem;
  grid-template-columns: 1fr;
}

/* main article  {
  background:  transparent;
  background-image: repeating-radial-gradient(farthest-corner at 105% 50%, rgba(255,255,255,0.6) 5%, rgba(255,255,255,0.5) 10%, rgba(255,255,255,.55) 15%);
  border-radius: 1rem;
  padding: 1.5rem;

} */
  /* background: radial-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.2)); */
/* text-shadow:  1px 1px 1px rgba(25, 39, 64,0.1); */
/* background-color: #DAE5ED; */
/* .main-video, .main-sim, .main-svg {
  margin-bottom: 2vmin;
} */

/* sim svg */
.main-sim {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-areas:
  "head head"
  "sim tut"
  "sim controls";
  padding:1%;
}
.header-sim {grid-area: head;}
.mySVG {grid-area: sim;
  border: 1px solid rgba(75, 109, 144, .5);
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  border-right: none;}
.tutorial {grid-area: tut;
  border: 1px solid rgba(75, 109, 144, .5);
  border-top-right-radius: 20px;
  border-bottom: none;}
.controls {grid-area: controls;
  border: 1px solid rgba(75, 109, 144, .5);
  border-bottom-right-radius: 20px;
  z-index: 2;}


  .tick text {
    font-size:1.5em;
  }
/* .tick line {stroke-width:2px;}
path {stroke-width:2px;} */


/* footer */
.foot {
  /* background-color: #FDF5E6; */
  background-color: transparent;
  color:#192740;
  position:relative;
  width: calc(100% - 6vmin);
  height: auto;
  margin-bottom: 3vmin;
  /* justify-self: end; */
  padding: 2rem;
}
.foot::before {
  content: "";
  background-color: transparent;
  position: absolute;
  top: 2vmin;
  left:2vmin;
  width:calc(100% - 4vmin);
  height: calc(100% - 4vmin);
  border-radius: 1rem;
  z-index: -1;
  /* box-shadow: inset -3px -3px 7px #ffebcc ,
              inset 3px 3px 5px #fffdfa; */
  box-shadow: inset -1px -1px 2px rgba(255,255,255, .5),
  /* -3px -3px 7px #ffffff, */
              /* 3px 3px 5px #ffffe0; */
              inset 3px 3px 5px rgba(0,0,0,.2);
}

.foot p {
  font-size: 1rem;
  padding: 2rem;
}
main p {
  font-size: 1rem;
}

aside {display: none;}

/* again */
.c9c{
  display: flex;
  justify-content: center;
  align-items: center;
  /* grid-gap: 2rem; */
  margin-top: 1rem;
}

.main-nov {
  display: flex;
  flex-flow: column;
  flex-wrap: wrap;
  padding: 2vmin;
}


.text-mtn {
/* overflow: hidden; */
animation: textAni 1s backwards ease-in-out;
text-align: justify;
transform-origin: center;
}

@keyframes textAni {
  /* 0% {transform: rotateY(15deg);}
  100% {transform: rotateY(0);}
 */
 0% {opacity: 0;}
 100% {opacity: 1;}
}

/* create grid */
.c9c .galerija{
  display: grid;
  grid-template-columns: repeat(4, 15vw);
  grid-template-rows: repeat(7, 15vw);
  margin-bottom: 2%;
}

/* position items inside the grid: 4by4 created */
/* grab img-s by child # and position them in the grid*/
.c9c figure:first-child {
  grid-column: 1/3;
  grid-row: 1/3;
}
.c9c figure:nth-of-type(2){
  grid-column: 3/5;
  grid-row: 2/4;
}

.c9c figure:nth-of-type(2) {
 transform: translateX(-7vw);
}

.c9c figure:nth-of-type(3) {
  grid-column: 1/3;
  grid-row: 3/5;
}
.c9c figure:nth-of-type(4){
  grid-column: 3/5;
  grid-row: 4/6;
}

.c9c figure:nth-of-type(4) {
 transform: translateX(-7vw);
}

.c9c figure:nth-of-type(5) {
  grid-column: 1/3;
  grid-row: 5/6;
}
.c9c figure:nth-of-type(6){
  grid-column: 3/5;
  grid-row: 6/8;
}

.c9c figure:nth-of-type(6) {
 transform: translateX(-7vw);
}

.c9c figure:nth-of-type(7) {
  grid-column: 1/3;
  grid-row: 7/9;
}


.c9c figure {
  margin:0;
  height: 0;
  padding-top: 28vw;/* 2-krat!!!! grid setting for col-s & row-s */
  overflow: hidden;
  position: relative; /* to position img abs */
  clip-path: polygon(25% 2%, 75% 2%, 98% 50%, 75% 98%, 25% 98%, 2% 50%); /* create hexagon */
  filter: grayscale(0); /* hover removes color */
  transition: all 1s;
}

/* iloc to position items */
.c9c img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  /* box-sizing: border-box; */
}

.c9c figcaption {
  position: absolute;
  bottom: 5%;

  /* left: 23%; */
  left: 50%;
  height: 55%;
  width: 54%;
  z-index: 3;
  transition: all 1s;
  text-align: center;
  transform: translateX(-50%);
  /* transform: translateY(20%); */
  padding-top: .2rem;
}
.c9c figcaption > p {
  font-size: .65rem;
  color: #fffff0;}


.c9c figure::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 55%;
  width: 100%;
  background: #4b6d90;
  opacity: .9;
  z-index: 2;
  border-top: 2px solid #89CFF0;
  transition: all 1s;
}

.c9c figcaption ul, .c9c figcaption div {
  display: none;
  font-size: 0.65rem;
  color: #fffff0;
  /* text-shadow:  1px 1px 3px rgba(255,255,255,0.1);
  background-clip: text; */
  transition: all 2s;
}
.c9c figure:hover {
  filter: grayscale(100%), opacity(.8);
  transform: scale(2.2);
  z-index: 3;
}
.c9c figure:hover ul, .c9c figure:hover div {
  display: block;
  padding-top: .3rem;
}
.c9c figure:hover div, .c9c figure:hover a, .c9c figure:hover p {
  font-size: .35rem;
}


.c9c figure:hover figcaption{
  height: 90%;
  padding-top: 0;
}
.c9c figure:hover::before {
  height: 100%;
}
.c9c figure:hover figcaption p {
  font-weight: 400;
  color: #F7CAC9;
}






.galerija figure {
  animation: stagger 1s both ease-in-out;
}
@keyframes stagger {
  0% {opacity: 0;}
  100% {opacity: 1;}
}
.galerija figure:nth-of-type(3) {
  animation-delay: .25s;
}
.galerija figure:nth-of-type(4) {
  animation-delay: .5s;
}
.galerija figure:nth-of-type(2) {
  animation-delay: .75s;
}
.galerija figure:nth-of-type(6) {
  animation-delay: 1s;
}
.galerija figure:nth-of-type(5) {
  animation-delay: 1.25s;
}
.galerija figure:nth-of-type(7) {
  animation-delay: 1.5s;
}
/* 4 2 5 3 6 7 */

.grid p {
  margin: .6rem .6rem 0;
  padding: 0;
}

.c9c button, .llw button {
  background: #89CFF0;
  border: none;
  border-radius: .3rem;
  margin-top: .6rem;
}
.c9c button:hover, .llw button:hover {
  background: #89CFF0;
  transform: scale(1.2);
}

.c9c:not(last-child) li:hover {
  background:#89CFF0 ;
  border: none;
  border-radius: .3rem;
  padding-left: 0.2rem;
}
.c9c button a, .llw button a {
  color: #fff;
  text-decoration: none;
  font-size: .55rem;
  display: inline-block;
  padding: 0.3rem 0.3rem .6rem;
  margin: 0;
  line-height: 0;
}
.nummain p, .nummain ul {
  font-size: 1.1rem;
  margin: 0.1rem 0.5rem;
  color: black;
  line-height: 2.3rem;
}
.nummain p {
  text-indent: 2.5rem;
  text-align: justify;
  margin-bottom: 1rem;
}
.nummain p:first-of-type {
  font-size: 1.3rem;
  /* font-family: 'Playfair Display', Georgia, serif; */
  font-weight: 400;
  color: #273d63;
}

.nummain ul {
  color: #192740;
  list-style-type: disc;
  padding-left: 2rem;
  /* text-shadow: 1px 1px 2px #192740; */
}
.nummain li {
  margin-left:  1rem;
}


.card {
  overflow: hidden;
  /* width:92%; */
  /* margin: 0 4% 0 auto; */
  position:relative;
  height: 50vmax;
  width: auto;
  /* border-radius: 1rem;
  box-shadow: -1px -1px 2px rgba(255,255,255, .5),
              3px 3px 5px rgba(0,0,0,.2); */
}
.card a {
  text-decoration: none;
}
.card figure {
  height: 100%;
  width: 100%;
}
 .grid .card img {
  width: 100%;
  height: 100%;
  /* height: 100%; */
  /* min-height: 50vmax; */
  object-fit: cover;
}

.card figure::before {
  opacity: 0.2;
}

.card figcaption {
  position: absolute;
  bottom:0;
  left: 0;
  background-color: rgba(25, 39, 64, .77);
  /* #4b6d98; */
  height: 55%;
  padding: 0;
  /* padding-bottom: 1rem; */
  overflow: hidden;
}

/* .senca li:last-child  {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
} */

.card h1 {
  font-size: 1.6rem;
  margin: 1rem 0 0.7rem;
  padding: 0 0 0 0.7rem;
  color: #F7CAC9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card p {
  font-size: 1rem;
  color: #DAE5ED;
  text-align: justify;
  /* height: 6.5rem; */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (orientation: landscape) {
  .card p {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  }
}
@media (orientation: portrait) {
  .card p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  }
}


.consult ul {
  list-style-type: circle;
  margin-left: 1rem;
}
.consult li {
  margin-left: 1rem;
}

.consult p, .consult ul {
  font-size: 1.4rem;
  margin-bottom: 1rem;}

main {margin: 1rem;}


body {overflow-x: hidden;}
/* landing page */
.landingHeader {
  max-width :100%;
  height: 50%;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  background-image: url("img/30.jpg");
  position: relative;
  overflow: hidden;
  background-size: cover;
}

.side1, .side2{
  width: 100%;
  height:100%;
  position: relative;
}

.side1-4 {background: rgba(25, 39, 64,.95);}
.side2-4 {background: rgba(25, 39, 64,.95);}

.side2 > *, .side1 > * {
  position: absolute;
  top:-100vh;
  left:0;
  width: 100%;
  height: 100%;
}
.side2  > *{top: 100vh;
  animation: slideBottom 0.5s ease-in forwards;}
.side1  > * {animation: slideTop 0.5s ease-in forwards;}

@keyframes slideBottom {
  0 {opacity: 0;}
  100% {top:0;
  opacity: 1;}
}
@keyframes slideTop {
  0 {opacity: 0;}
  100% {top:0;
  opacity: 1;}
}

.side1-4::before, .side2-4::before {
  content: '';
  position: absolute;
  width: 1px;
  height: 100%;
  background: #85AED0;
}
.side1-4::before {
  right: 0;
  top:-100vh;
  animation: slideTop1 1s ease-in forwards;
}
.side2-4::before {
  left: 0;
  top:100vh;
  animation: slideBottom1 1s ease-in forwards;
}

@keyframes slideBottom1 {
  0 {opacity: 0;}
  50% {top:0;
  opacity: 1;}
  100% {top:-100vh;
  opacity: 0;}
}
@keyframes slideTop1 {
  0 {opacity: 0;}
  50% {top:0;
  opacity: 1;}
  100% {top:100vh;
  opacity: 0;}
}

@keyframes fadeIn {
  0% {opacity: 0;
  top:-100vh;
  transform: scale(.5);}
  100% {opacity: .15;
  top:0;
transform: scale(1);}
}
.side1-4 {position: relative;}


@keyframes fadeIn1 {
  0% {opacity: 0;
  transform: scale(.5) rotateX(90deg);}
  100% {opacity: 1;
  transform: scale(1) rotateX(0deg);}
}

.langingText {
  position: absolute;
  top: 20%;
  left:37%;
  width: 30%;
  height: 60%;
  color:#89CFF0;
  font-size: 2rem;
  opacity: 0;
  animation: fadeIn1 3s 1s ease-in-out forwards;
}
.langingText p {
  font-size: 1.4rem;
  text-transform: uppercase;
}

.langingText span {
  color:#F7CAC9;
}

.langingText span:nth-child(4) {
  color:#B76E79;
}

.btnLH {
  position: absolute;
  bottom:15%;
  left:67%;
  width: 35%;
  height: 7%;
  opacity: 0;
  animation: fadeIn1 3s 2s ease-in-out forwards;
  transition: 1s all;
}

.btnLH button {
  border: 1px solid #89CFF0;
  background: transparent;
  color:#89CFF0;
  padding: .7rem;
  border-radius: .7rem;
  font-size: .7rem;
}
.btnLH button a {color:#89CFF0; text-decoration: none;}
.btnLH button:hover {
  background: #89CFF0;
  color:#192740;
  /* border: 1px solid #192740; */
}
.btnLH button:hover a {color:#192740;}



.landingAbout {position: relative;}
.animation1 {position: relative;}
/* .landingAbout::before  */
.animation1 .line1 {
  /* content: ''; */
  position: absolute;
  bottom: 0%;
  left:0%;
  width: 100%;
  height: 4%;
  background:#192740;
  border-radius: 10px;
}

/* .landingAbout::after */
/* .landingAbout .line2 {
  position: absolute;
  bottom: 45%;
  left:40%;
  width: 20%;
  height: .5%;
  background:#192740;
  border-radius: 10px;
} */

.law {
  max-width :100%;
  height: 50%;
  background: #DAE5ED;
}
.landingAbout {
  width: 80vw;
  height: 50%;
  display: flex;
  flex-flow: column;
  justify-content: space-evenly;
  align-items: center;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 1rem;
}


.landingAbout p {
  font-size: 1rem;
  color: #192740;
}
.landingAbout h1{
  margin: 0;
}

.landingArticles {
  max-width :100%;
  height: 40%;
  background: #85AED0;
}

.landingArticlesFlex {
  width: 80vw;
  height: 100%;
  padding:3rem 0 ;
  margin: 0 auto;
}

.lafHeader h2 {margin:0; font-size: 1.2rem;}

.lafCurrent {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.lafPrev, .lafNext {display: none;}
/* .box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

} */
.box1 {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  top:0%;
  left: 0%;

}
.box01 {
background: linear-gradient(rgba(25, 39, 64,.4), rgba(25, 39, 64,.6)), url('img/31.jpg');
}
.box02 {background: linear-gradient(rgba(25, 39, 64,.4), rgba(25, 39, 64,.6)), url('img/32.jpg');
}
.box03 {background: linear-gradient(rgba(25, 39, 64,.4), rgba(25, 39, 64,.6)), url('img/33.jpg');
}
.box04 {background: linear-gradient(rgba(25, 39, 64,.4), rgba(25, 39, 64,.6)), url('img/34.jpg');
}

.box01::before, .box02::before, .box03::before, .box04::before {
  content: "";
  position: absolute;
  top:0;
  left:0;
  width: 90%;
  height: 90%;
  z-index: 2;
  border: 1px solid #4b6d90;
  margin: 5%;
}


.llw {
  background: linear-gradient(115deg,
     #4b6d90 50%, #192740 50% 100%);
  max-width :100%;
  /* height: 45vh; */
}

.landingLearn {
  width: 90vw;
  height: 90%;
  display: grid;
  grid-template-columns: 3fr 1fr;
  grid-gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
  margin: 0rem auto;

}

.learnText h2, .learnText h3 {
  margin: 0;
  padding: 0;
  color: #DAE5ED;
}
  .learnText h2 {
    font-size: 1.2rem;
  }
  .learnText h3 {
    font-size: 1rem;
  }
  .learnText p {
    font-size: .8rem;
  }

  #svgIndex {
    display: none;
  }


.learnText {
  display: flex;
  flex-flow: column;
  align-items: stretch;
  grid-gap: 1rem;
  margin: 1rem auto;
}

.learnText p {color:#DAE5ED;}
#Artboard22 {fill:#DAE5ED;}

/* landing page */
.llw button:hover {transform-origin: top left;}
.llw button {width: 100%;}
.llw button a {
  font-size: 1rem;
  padding: 1rem .6rem ;}


/* .llSvg {transform: translateX(2%);} */

@keyframes fading {
  0% {opacity: 0; }
  100% {opacity: 1; }
}
#n1, #n2, #n3, #n4, #n5 {
  animation: fading 3s 2s  backwards;
}

#svgIndex {
  filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));
}
#Artboard1:hover g {
  filter: url(#myfilters);
}


@media (orientation: landscape) {
  .law, .landingArticles, .llw, .landingAbout {
    height: 90vh;
  }
  .landingHeader {
    height: 100vh;
  }
}

@media (orientation: portrait) {
  .law, .landingArticles  {
    height: 45vh;
  }
  .llw {
    height: 55vh;
  }
  .landingAbout {
    height: 40vh;
  }
  .landingHeader{
    height: 65vh;
  }
}

nav a:hover {
  background: rgba(75, 109, 144, .3);
}

nav li li {
  font-size: .8rem;
  padding-left: 1.4rem;
}


#navi {
  display: none;
}

.numnav, #closeMenu {display: none;}

.logo {
  display: flex;
  flex-flow: row;
  justify-content: space-between;

}

.menuB {
  width: 3rem;
  height: 3rem;
  background: transparent;
  align-self: center;
  border: none;
}
.menuSVG {fill:#DAE5ED;}

.foot .CF1 {display: none;}
.foot .CF {
  min-height: 15vmax;
}

.CF a {
  display: block;
  padding: 1rem 2rem;
  text-decoration: none;
  color:#192740;
  background: rgba(133, 174, 208, .3);
  transition: all 2s;
  border-radius: .7rem;
  /* z-index: 5; */
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
}
.CF a:hover {
  background: #192740;
  color:#85AED0;
}

.grid main article figure {
  position: relative;
  width:100%;
  height: auto;
  object-fit: cover;
  max-height: 50vmin;
  overflow: hidden;
}
.grid main article figcaption {
  background: rgba(25, 39, 64, .3);
  bottom: 0%;
  left: 0;
  height: 25%;
  width: 100%;
}
.grid main article figure figcaption p {
  color: white;
}
.grid main article figure picture img {
  width:100%;
  height: auto;
  object-fit: cover;
  max-height: 50vmin;
}

/* .foot div {
  position: absolute;
  top: 4vmin;
  left: 50%;
  transform: translateX(-50%);
} */
#flimg {
  width:100%;
  height:auto;
  display:block;
  border-radius:1rem;
  border: 1px solid rgba(75, 109, 144,.4);
  padding:.5rem 0;
}


/* 1st media querry */
@media (min-width:800px) {
  #flimg {
    float:right;
    width:50%;
    margin: .7rem 0 0 1rem;
  }
  .foot .CF1 {display: block;}
  .foot .CF {display: none;}

  .senca {
    margin-top: 3rem;
  }

  .langingText p {
  font-size: 1.8rem;
  }
  .btnLH {
  width: 15%;
  }

  .landingAbout p {
    font-size: 1.3rem;
  }


  .btnLH {height:10%;}
  .btnLH button {
  padding: 1rem;
  border-radius: 1rem;
  font-size: 1rem;
  }

  #navi {
    display: block;
  }
  .menuB {
    display: none;
  }
  .numnav {display: block;}

  nav li li {display: none;}

  nav a:hover {
    background: transparent;
  }

  nav {
    flex-flow: row;
  }
  .logo {
    flex-basis: 30%;
  }
  .gumb {
    position: relative;
    /* padding: 10px 20px;
    margin: 0 15px; */
    /* color: #21ebff; */
    /* text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em; */
    transition: 1s all ease-in-out;
    border-radius: 15px;
    overflow: hidden;
    /* display: inline-block; */
  }
  .gumb span {position: absolute;
  display: block;}

  .gumb span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #85AED0);
  }
  .gumb:hover span:nth-child(1) {
    left: 100%;
    transition: 1s;
  }

  .gumb span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #85AED0);
  }
  .gumb:hover span:nth-child(3) {
    right: 100%;
    transition: 1s;
    transition-delay: 0.5s;
  }

  .gumb span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #85AED0);
  }
  .gumb:hover span:nth-child(2) {
    top: 100%;
    transition: 1s;
    transition-delay: 0.25s;
  }

  .gumb span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #85AED0);
  }
  .gumb:hover span:nth-child(4) {
    bottom: 100%;
    transition: 1s;
    transition-delay: 0.75s;
  }





  main {margin: 0;}
  .navi, aside {display: block;}

  .foot {
    justify-self: end;
  }
  .foot p {
    padding: 0;
  }
  main p {
    font-size: 1.2rem;
  }

  footer p {font-size: 1rem;}
  footer small {font-size: var(--small);}

  .navi {
    flex-basis: 70%;
  }
  .navi ul {
    display: flex;
    flex-flow: row;
    justify-content: flex-end;
    gap:.5rem;
  }

  /* grid */

  .grid {
    /* grid-template-columns: 3fr 7fr; */
    grid-template-columns: 1fr 3fr;
    grid-template-areas:
    "header header"
    "aside main"
    "foot foot";
    margin: 2rem auto;
    justify-content: space-evenly;
    /* grid-gap: 0.8rem 1rem; */
    gap:1rem;
  }




  .main-video, .main-sim, .main-qa, .main-svg,
  main article, .main-nov, .foot, .main-mtn {
    margin-right: 3vmin;
  }
  .main-mtn {.padding: .8rem;}


  .numaside li {
    animation: rotating .5s both ease-in-out;
  }
  .numaside li:nth-of-type(2), .consult article:nth-child(2) {
    animation-delay: .15s;
  }
  .numaside li:nth-of-type(3), .consult article:nth-child(3) {
    animation-delay: .3s;
  }
  .numaside li:nth-of-type(4), .consult article:nth-child(4)  {
    animation-delay: .45s;
  }
  .numaside li:nth-of-type(5) {
    animation-delay: .6s;
  }
  .numaside li:nth-of-type(6) {
    animation-delay: .75s;
  }
  @keyframes rotating {
    0% {transform: rotateX(90deg);
    opacity: 0;}
    100% {transform: rotateX(0deg);
    opacity: 1;}
  }


  /* create grid */
  .c9c figure:nth-child(2), .c9c figure:nth-child(6) {transform: translateX(0);}

  /* create grid */
  .c9c .galerija{
    grid-template-columns: repeat(5, 10vw);
    grid-template-rows: repeat(6, 10vw);
  }

  /* position items inside the grid: 4by4 created */
  /* grab img-s by child # and position them in the grid*/
  .c9c figure:first-child {
    grid-column: 1/3;
    grid-row: 1/3;
  }
  .c9c figure:nth-of-type(2){
    grid-column: 4/6;
    grid-row: 1/3;
  }


  .c9c figure:nth-of-type(4) {
    grid-column: 3/5;
    grid-row: 2/4;
  }

  .c9c figure:nth-of-type(5) {
    grid-column: 3/5;
    grid-row: 4/6;
  }

  .c9c figure:nth-of-type(4) {
   transform: translateX(-5vw);
  }

  .c9c figure:nth-of-type(5) {
   transform: translateX(-5vw);
  }


  .c9c figure:nth-of-type(6){
    grid-column: 4/6;
    grid-row: 3/5;
  }
  .c9c figure:nth-of-type(7){
    grid-column: 4/6;
    grid-row: 5/7;
  }

  .c9c figure:nth-of-type(3){
    grid-column: 1/3;
    grid-row: 3/5;
  }





  .c9c figure {
    padding-top: 20vw;/* 2-krat!!!! grid setting for col-s & row-s */
  }


  .c9c figcaption {
    height: 55%;
    padding-top: 1rem;
  }
  .c9c figcaption > p {
    font-size: .75rem;
    }

    .c9c img {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      object-fit: cover;
      object-position: center;
      box-sizing: border-box;
    }


  .c9c figure:hover {
    transform: scale(1.5);
  }
  .c9c figure:hover ul, .c9c figure:hover div {
    display: block;
    padding-top: .3rem;
  }

  .c9c figure:hover div, .c9c figure:hover a, .c9c figure:hover p {
    font-size: .5rem;
  }

  .c9c figure:hover figcaption p {
    font-size: .7rem;
  }


  .c9c figure:hover:nth-of-type(4), .c9c figure:hover:nth-of-type(5), .c9c figure:hover:nth-of-type(7) {
   transform-origin: 100% 50%;
  }




  /* 4 2 5 3 6 7 */
/*
  .grid p {
    margin: .6rem .6rem 0;
    padding: 0;
  }

  .c9c button, .llw button {
    background: #89CFF0;
    border: none;
    border-radius: .3rem;
    margin-top: .6rem;
  }
  .c9c button:hover, .llw button:hover {
    background: #89CFF0;
    transform: scale(1.2);
  }

  .c9c:not(last-child) li:hover {
    background:#89CFF0 ;
    border: none;
    border-radius: .3rem;
    padding-left: 0.2rem;
  }
  .c9c button a, .llw button a {
    color: #fff;
    text-decoration: none;
    font-size: .55rem;
    display: inline-block;
    padding: 0.3rem 0.3rem .6rem;
    margin: 0;
    line-height: 0;
  } */


  /* more than numbers */
  .numnav {
    width: 100%;
    background: rgba(75, 109, 144, .7);
  }
  .numnav ul {
      display: flex;
      justify-content: space-between;
      width: 80vw;
      max-width: 1000px;
      margin: 0 auto;
  }
  .numnav a {
    text-decoration: none;
    display: block;
    margin: 0.3rem 0.2rem;
    color: #DAE5ED;
    padding: 0.1rem 0.5rem;
  }

  .numnav a:hover {
    background-color: #192740;
    border-radius: .3rem;
  }
  .numnav a.active {
    font-weight: 400;
  }





  .foot p {
    padding: 1rem;
  }


  /* aside >num nav */

  .numaside>ul {
    padding: 0.3rem;
  }
  .numaside a {
    text-decoration: none;
    display: block;
    margin: 0.8rem 0.1rem 0.4rem;
    /* color: #FFF; */
    color: #192740;
    border-radius: .6rem;
    text-shadow:  1px 1px 3px rgba(255,255,255,0.1);
    /* text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4); */
    border-bottom: 1px solid rgba(255,255,255,0.2);
    border-right: 1px solid rgba(255,255,255,0.1);
    border-top: 1px solid rgba(0,0,0,.2);
    border-left: 1px solid rgba(0,0,0,.1);
    padding: 0.3rem 0.8rem;
    transition: 1s box-shadow;
  }

  .numaside a:hover {
    background-color: #192740;
    /* padding-left: 0.4rem; */
    color: #FFF;
    box-shadow:
      3px 3px 4px 0 rgba(0, 0, 0, 0.25),
      -2px -2px 3px 0 rgba(255, 255, 255, 0.3);
  }

  .numaside ul a.active {
    font-weight: 400;
  }


  /* .main-mtn {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
    justify-content: space-evenly;
  } */
  .card {
    height: 30vmax;
    width: 100%;
  }
  @media (orientation: landscape) {
    .card p {
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
    }
    .card h1 {
      margin: 1rem 0 0;
    }
  }
  @media (orientation: portrait) {
    .card p {
      display: -webkit-box;
      -webkit-line-clamp: 4;
      -webkit-box-orient: vertical;
    }
    .card h1 {
      margin: 1.2rem 0 0.8rem;
    }
  }
  /* .card h1 {
    font-size: 1.6rem;
    margin: 1rem 0 0.7rem;
    padding: 0 0 0 0.7rem;
    color: #F7CAC9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .card p {
    padding: 0 0 .7rem;
    font-size: 1rem;
    color: #DAE5ED;
    text-align: justify;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
  } */



  .consultaside {
    /* background: transparent; */
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: flex-start;
    gap:1rem;
    /* box-shadow: -1px -1px 2px rgba(255,255,255, .5),
                3px 3px 5px rgba(0,0,0,.2);
    margin-top: 1rem; */
    padding-top: 1rem;
    }

  .consultaside > * {
    /* text-decoration: none;
    display: block; */
    margin: 0.5rem auto;
    padding: 1rem;
    font-size: 1.2rem;
    color: #192740;
    border-radius: .6rem;
    text-shadow:  1px 1px 3px rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    border-right: 1px solid rgba(255,255,255,0.1);
    border-top: 1px solid rgba(0,0,0,.2);
    border-left: 1px solid rgba(0,0,0,.1);
    width: 80%;
    background:linear-gradient(to top left, rgba(255,255,255,.25), rgba(255,255,255,.05));
    -webkit-backdrop-filter: blur(8px);
    -moz-backdrop-filter: blur(.8rem);
    backdrop-filter:blur(.8rem);
  }

  .consultaside ul {
    position: relative;
    overflow: hidden;
    background: rgba(25, 39, 64, .2);
    font-size: 1.2rem;}
  .consultaside ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background-image: url('img/30.jpg');
    background-position: center;
    background-size: cover;
    opacity: .5;
    width: 100%;
    height: 100%;
    z-index: -1;
    transform: scale(1.5);

  }


  .consultbutton {
    font-size: 1.4rem;
    padding: 1rem 1rem;
    border: none;
    background: rgba(25, 39, 64, 1);
    color:#B76E79;
    /* border-radius: 1rem; */
    font-family: 'Open Sans', Arial, sans-serif;
    transition: all 1s ease-in-out;
    width: 80%;
  }
  .consultbutton a {
    text-decoration: none;
    color: #85AED0;
    transition: all .5s ease-in-out;
    display: block;
  }
  .consultbutton:hover {
    background-color: #85AED0;
      box-shadow: -1px -1px 2px rgba(255,255,255, .5),
                  3px 3px 5px rgba(0,0,0,.2);
  }
  .consultbutton:hover a{
    color: rgba(25, 39, 64, 1);
  }

/* landing page */
#svgIndex {
  display: block;
  }
 .learnText p:last-of-type {
  width: 90%;
}
 /* .llw {
  height: 100vh;
} */
.landingLearn {
  grid-template-columns: 2fr 2fr;
  grid-gap: 4rem;
  }
  .llw button {width: 60%;}
  .llSvg {
    width: 40vw;
  }


  @media (orientation: landscape) {
    .law, .landingArticles, .landingAbout {
      height: 90vh;
    }
    .llw, .landingHeader {
      height: 100vh;
    }
    .llw p {
      font-size: .8rem;
    }
    .llw h3 {
      font-size: 1rem;
    }
    .llw h2 {
      font-size: 1.2rem;
    }
  }

  @media (orientation: portrait) {
    .law, .landingArticles, .landingAbout {
      height: 40vh;
    }
    .llw {height: 45vh;}

    .landingHeader {
      height: 50vh;
    }
    .llw p {
      font-size: 1rem;
    }
    .llw h3 {
      font-size: 1.2rem;
    }
    .llw h2 {
      font-size: 1.4rem;
    }
  }

}
/* end of 1st media querry */


/* next media querry */
@media (min-width:1000px) {
  .footer {
    min-height: 15vmin;
  }

  @media (orientation: landscape) {
    .law, .landingAbout {
      height: 55vh;
    }
    .landingArticles, .llw {
        height: 75vh;
    }
    .landingHeader {
      height: 90vh;
    }
  }

  @media (orientation: portrait) {
    .law, .landingArticles, .llw, .landingAbout {
        height: 80vh;
      }
      .llw, .landingHeader {
        height: 100vh;
      }
  }

  .info1 img, .grid img {
    height: 15vh;
  }




  @media (orientation: landscape) {
    .card p {
      display: -webkit-box;
      -webkit-line-clamp: 5;
      -webkit-box-orient: vertical;
    }
    .card h1 {
      margin: 1.2rem 0 0.8rem;
    }
  }
  @media (orientation: portrait) {
    .card p {
      display: -webkit-box;
      -webkit-line-clamp: 5;
      -webkit-box-orient: vertical;
    }
  }





  /* create grid */
  .c9c .galerija{
    grid-template-columns: repeat(7, 7vw);
    grid-template-rows: repeat(5, 7vw);
  }

  /* position items inside the grid: 4by4 created */
  /* grab img-s by child # and position them in the grid*/
  .c9c figure:first-child {
    grid-column: 1/3;
    grid-row: 1/3;
  }
  .c9c figure:nth-of-type(2){
    grid-column: 4/6;
    grid-row: 1/3;
  }


  .c9c figure:nth-of-type(4) {
    grid-column: 3/5;
    grid-row: 2/4;
  }

  .c9c figure:nth-of-type(5) {
    grid-column: 6/8;
    grid-row: 2/4;
  }

  .c9c figure:nth-of-type(4) {
   transform: translateX(-3.5vw);
  }

  .c9c figure:nth-of-type(5) {
   transform: translateX(-3.5vw);
  }


  .c9c figure:nth-of-type(6){
    grid-column: 4/6;
    grid-row: 3/5;
  }
  .c9c figure:nth-of-type(7){
    grid-column: 6/8;
    grid-row: 4/6;
  }

  .c9c figure:nth-of-type(3){
    grid-column: 1/3;
    grid-row: 3/5;
  }


  .c9c figure:nth-of-type(7) {
   transform: translateX(-3.5vw);
  }




  .c9c figure {
    padding-top: 14vw;/* 2-krat!!!! grid setting for col-s & row-s */
  }


  .c9c figcaption {
    height: 55%;
    padding-top: 1rem;
  }
  .c9c figcaption > p {
    font-size: .75rem;
    }

    .c9c img {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      object-fit: cover;
      object-position: center;
      box-sizing: border-box;
    }


  .c9c figure:hover {
    transform: scale(2);
  }
  .c9c figure:hover ul, .c9c figure:hover div {
    display: block;
    padding-top: .3rem;
  }

  .c9c figure:hover div, .c9c figure:hover a, .c9c figure:hover p {
    font-size: .5rem;
  }

  .c9c figure:hover figcaption p {
    font-size: .5rem;
  }


  .c9c figure:hover:nth-of-type(4), .c9c figure:hover:nth-of-type(5), .c9c figure:hover:nth-of-type(7) {
   transform-origin: 100% 50%;
  }

  .c9c figure:hover div, .c9c figure:hover a, .c9c figure:hover p {
    font-size: .5rem;
  }

.senca {
  margin-top: 3rem;
}

.grid, .info1 {
  width: 80vw;
}

.consultaside > * {
  font-size: 1.6rem;
  width: 90%;
}

.consultbutton {
  font-size: 1.8rem;
  /* width: 90%; */
}

.langingText p {
  font-size: 2.4rem;
}

.btnLH {
  width: 15%;
}

.animation1 .line1 {
  top: 100%;
  left:0%;
  width: 100%;
  height: 5%;
}
/* .landingAbout::after */
.landingAbout .line2 {
  top: 65%;
  left:45%;
  width: 10%;
  height: .5%;
}

.landingArticlesFlex {
  display:grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-template-rows: 1fr 9fr;
  width: 100%;
  height: 100%;
  justify-content: space-between;
  padding-top:3rem;
  padding-bottom: 3rem;
  grid-gap: 1rem 3rem;
}

.lafHeader {grid-column: 1/3; grid-row: 1/2;}
.lafHeader h2 {margin:0; font-size: 1.2rem;}

.lafPrev, .lafCurrent, .lafNext {
  display: block;
  position: relative;
  overflow: hidden;
  grid-row: 2/10;
}
/* .box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

} */
.box1, .box0, .box2 {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  top:0%;
  left: 0%;

}
.box01 {
background: linear-gradient(rgba(25, 39, 64,.2), rgba(25, 39, 64,.3)), url('img/31.jpg');
}
.box02 {background: linear-gradient(rgba(25, 39, 64,.2), rgba(25, 39, 64,.3)), url('img/32.jpg');
}
.box03 {background: linear-gradient(rgba(25, 39, 64,.2), rgba(25, 39, 64,.3)), url('img/33.jpg');
}
.box04 {background: linear-gradient(rgba(25, 39, 64,.2), rgba(25, 39, 64,.3)), url('img/34.jpg');
}

.box01::before, .box02::before, .box03::before, .box04::before {
  content: "";
  position: absolute;
  top:0;
  left:0;
  width: 90%;
  height: 90%;
  z-index: 2;
  border: 1px solid #4b6d90;
}

.lafCurrent .box01::before, .lafCurrent .box02::before, .lafCurrent .box03::before, .lafCurrent .box04::before {
   margin: 5%;
 }

.lafPrev .box01::before, .lafPrev .box02::before, .lafPrev .box03::before, .lafPrev .box04::before {
    margin: 5% 10% 5% 0;
    border-left: none;
  }

.lafNext .box01::before, .lafNext .box02::before, .lafNext .box03::before, .lafNext .box04::before {
     margin: 5% 0 5% 10%;
     border-right: none;
   }

   .learnText h2 {
     font-size: 1.6rem;
   }
   .learnText h3 {
     font-size: 1.4rem;
   }
   .learnText p {
     font-size: 1rem;
   }

   .learnText p:last-of-type {
   width: 90%;
   }

   .learnText {
   grid-gap: 1.5rem;
   margin: 1.5rem auto;
   }

   .llw button {width: 60%;}

   /* .llw {
     height: 90vh;
   } */

   .c9c figure::before, .c9c figcaption {
     height: 70%;
   }


}
/* konec media querry */

@media (min-width:1200px) {
  nav a {
    font-size: 1.3em;
  }
.senca {
  margin-top: 3.2rem;
}

.main-mtn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
  justify-content: space-evenly;
  padding:.8rem;
}

.card p {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}
.card h1 {
  margin: 1.4rem 0 .8rem;
}

.c9c figure::before, .c9c figcaption {
  height: 35%;
}
.c9c figure::before, .c9c figcaption {
  height: 35%;
}

.c9c figure:hover {
  transform: scale(1.5);
}

.c9c figure:hover figcaption p {
  font-size: .7rem;
}
.c9c figure:hover figcaption a, .c9c figure:hover figcaption a  {
  font-size: .6rem;
}


.langingText p {
  font-size: 2.8rem;
}
.btnLH {
  width: 10%;
}

.learnText h2 {
  font-size: 2rem;
}
.learnText h3 {
  font-size: 1.6rem;
}
.learnText p {
  font-size: 1rem;
}
.learnText {
grid-gap: 2rem;
margin: 2rem auto;
}
.learnText p:last-of-type {
width: 80%;
}
.llw button {width: 30%;}

@media (orientation: landscape) {
  .law, .landingArticles, .landingAbout {
    height: 80vh;
  }
  .llw, .landingHeader {
    height: 100vh;
  }
  .card p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  }
}

@media (orientation: portrait) {
  .law, .landingArticles, .landingAbout {
    height: 80vh;
  }
  .llw {height: 90vh;}

  .landingHeader {
    height: 100vh;
  }

  .card p {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  }

  /* .llw p {
    font-size: 1rem;
  }
  .llw h3 {
    font-size: 1.2rem;
  }
  .llw h2 {
    font-size: 1.4rem;
  }*/
}

}
