:root,
html {
  display: block;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  -webkit-text-size-adjust: inherit;
  -webkit-tap-highlight-color: inherit;
  all: revert;
}

html body {
  display: block;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: inherit;
  padding: inherit;
  color: inherit;
  text-align: inherit;
  background-color: inherit;
  background: inherit;
  all: revert;
}

:root {
    --primary: #111111;
    --primary-light: #333333;
    --white: #fff;
    --background: #F8F8FF;
    --text: #262626;
}


/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}


.bg-1 {
  /* background: rgb(227, 43, 43); */
  background: url("assets/images/Pic_1.jpg");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.bg-3 {
  /* background: rgb(227, 43, 43); */
  background: url("assets/images/Pic_3.jpg");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.bg-2 {
  /* background: rgb(227, 43, 43); */
  background: url("assets/images/Pic_2.jpg");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}



.img1 {
  width: 100%;

  border-radius: 30px;
  margin-bottom: 15px;
}

.flex-container {
  display: flex;
  /* flex-direction: row; */
  justify-content: space-around;
  flex-wrap: wrap;
}

.top_logo {
  display: flex;

  justify-content: space-between;
  flex-wrap: wrap;
  background: url("assets/images/header_bg.jpg");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  border-radius: 30px;
  padding: 1.2rem;
  color: #d7dddb;
  align-items: center;
}


/* <--- FOOTER ---> */

.footer {
  /* height: 200px; */
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  background: url("assets/images/header_bg.jpg");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  border-radius: 30px;
  padding: 1.2rem;
  color: #d7dddb;
}

.footer a {
  color: #d7dddb;
}

.footer a:hover {
  color: #50f279;
}

/* <--- End FOOTER ---> */

.logo_span {
  font-size: 2rem;
}
.logo_small {
  text-align: right;
  font-size: 1.2rem;
}

/* Navigation menu  */

.menu_up {
  position: sticky;
  top: 0px;
  background-color: white;
  z-index: 1;
  /* margin-bottom: 5px; */
}

nav {
  &.primary-navigation {
    margin: 0 auto;
    display: block;

    padding: 10px 0 0 0;
    text-align: center;
    font-size: 16px;

    ul li {
      list-style: none;
      margin: 0 auto;
      border-left: 2px solid #051b4a;
      display: inline-block;
      padding: 0 30px;
      position: relative;
      text-decoration: none;
      text-align: center;
      font-family: arvo;
    }

    li a {
      color: black;
    }

    li a:hover {
      color: #051b4a;
    }

    li:hover {
      cursor: pointer;
    }

    ul li ul {
      visibility: hidden;
      opacity: 0;
      position: absolute;
      padding-left: 0;
      left: 0;
      display: none;
      background: white;
    }

    ul li:hover > ul,
    ul li ul:hover {
      visibility: visible;
      opacity: 1;
      display: block;
      min-width: 250px;
      text-align: left;
      padding-top: 20px;
      box-shadow: 0px 3px 5px -1px #ccc;
    }

    ul li ul li {
      clear: both;
      width: 100%;
      text-align: left;
      margin-bottom: 20px;
      border-style: none;
    }

    ul li ul li a:hover {
      padding-left: 10px;
      border-left: 2px solid #051b4a;
      transition: all 0.3s ease;
    }
  }
}

a {
  text-decoration: none;

  &:hover {
    color: #051b4a;
  }
}

ul li ul li a {
  transition: all 0.5s ease;
}

/* End navigation menu */

/* column div other way */

.flexboxes {
  display: flex;

  padding: 2vw 0 2vw 0;

  /* height: 35vw; */

  /* align-items: center; */
  justify-content: center;
}

.box {
  padding: 1.5vw;
  border-radius: 0.5vw !important;
  display: flex;
  flex-direction: column;
  font-size: 1vw;
  margin: 1%;
  /* justify-content: space-around; */
  margin-top: 0;
  margin-bottom: 0;
}

.box a {
  text-decoration: none;
  color: #051b4a;

  &:hover {
    color: #051b4a;
  }
}

.box h2{
  text-align: center;
  
}

.dl {
  width: 40vw;

  justify-content: first baseline;

  transition: 0.15s;

  align-items: center;
}

.dl:hover {
  box-shadow: 10px 10px 5px 0px #051b4a;
  -moz-box-shadow: 10px 10px 5px 0px #051b4a;
}

/* Media ustrojstva */

@media screen and (max-width: 600px) {
  .column {
    width: 100%;
    background: url("assets/images/Pic_2.jpg");
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
  }
  /* .box {
    width: 100%;
    background: url("Pic_2.jpg");
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
  } */
  .flexboxes {
    flex-wrap: wrap;
  }
  .dl {
    width: 100%;
  }
}

.cite{
  padding-left: 15px;
  margin-left: 10px;
  border-left: #051b4a solid 5px;
}

.chight1000{
  height: 1000px;
}

/* Cards styles */

.card_container{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding-top: 5px;
  background: #F8F8FF;
  font-family: 'Inter', sans-serif;

}


.card_container_c{
  display: flex;
  flex-direction: raw;
  /* align-items: center; */
  justify-content: center;
  margin: 0;
  padding-top: 5px;
  padding-right: 5px;
  background: #F8F8FF;
  font-family: 'Inter', sans-serif;

}

.card_container_c a{
   text-decoration: none;
  color: #0e275d;

  &:hover {
    color: #0e275d;
  }
 

}

.pad_left{
  padding-left: 10px;
}

.stiky{
  position: sticky;
  top:10px;
}

.card {
  display: flex;
  align-items: center;
  max-width: 28rem;
  width: 100%;
  padding: 3rem 1.5rem 3rem 1.25rem;
  background: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 
    2px 6px;
  border-radius: 1.5rem;
  transition: all 0.2s ease-in-out;
  margin-top: 10px;
}

.card__right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  margin-left: 2rem;
}

.card:hover {
  /*cursor: pointer;*/
  box-shadow: rgba(0, 0, 0, 0.1) 
    0px 6px 12px;
}

.card__preview {
  position: relative;
}

.card__preview img {
  max-width: 10rem;
  width: 10vw;
  height: 8rem;
  object-fit: cover;
  margin-left: -4rem;
  border-radius: 1.5rem;
}

.card__price {
  background: var(--white);
  color: var(--text);
 /* z-index: 1; --> */
  position: absolute;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  top: 1.25rem;
  right: 1.25rem;
  font-weight: bold;
}

.card__content {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
}

.card__footer {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: start;
}

.card__address {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.card h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 1.075rem;
  font-weight: 400;
}

.cta {
  background: var(--primary);
  color: var(--white);
  font-family: inherit;
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
  border-radius: 2.5rem;
  border: 0;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.cta:hover {
  background: var(--primary-light);
}

@media (width <= 740px) {
  .card {
    margin: 0 2.25rem;
    padding-left: 3rem;
    padding-right: 3rem;
    width: 100%;
    text-align: center;
    flex-direction: column;
  }

  .card__content {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
  }

  .card__right {
    margin-left: 0;
  }

  .card h2 {
    margin-right: 0;
    font-size: 1.5rem;
  }

  .card img {
    margin: -6rem 0 2rem 0;
    width: 100%;
    max-width: 25rem;
  }

  .card__price {
    top: -4.75rem;
  }

  .card__footer {
    justify-content: center;
  }
}

/* End Card Styles */


