:root {
  --color-primary: #2584ff;
  --color-secondary: #00d9ff;
  --color-accent: #ff6633;
  --color-heading: #1b0760;
  --color-body: #918ca4;
  --color-body-darker: #5c5577;
}

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

/* Typography */
::selection {
  background: var(--color-accent);
  color: #fff;
}
html {
  font-size: 62.5%;
}

body {
  border-top: 2px solid #fecb0d;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  color: var(--color-body);
  font-size: 2.4rem;
  line-height: 1.8;
}

h1,
h2,
h3 {
  color: var(--color-heading);
  margin-bottom: 1rem;
  line-height: 1.1;
}

h1 {
  font-size: 7rem;
}

h2 {
  font-size: 4rem;
}

h3 {
  font-size: 3rem;
  font-weight: 500;
}

p {
  margin-top: 0;
}

@media screen and (min-width: 1024px) {
  body {
    font-size: 1.8rem;
  }

  h1 {
    font-size: 8rem;
  }

  h2 {
    font-size: 4rem;
  }

  h3 {
    font-size: 2.4rem;
  }
}

/* Links */
a {
  text-decoration: none;
}

.link {
  font-size: 1.4rem;
  text-transform: capitalize;
  color: #666666;
}

.link:hover {
  color: #000;
}

/* lists */
.list {
  list-style: none;
  padding: 0;
  color: #8b8b8b;
}

.list__inline .list__item {
  display: inline-block;
  margin-right: 2rem;
}

/* icons */
.icon {
  width: 40px;
  height: 40px;
}

.icon--small {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

.icon--primary {
  color: var(--color-accent);
}

.icon--white {
  color: #fff;
}

/* buttons */
.btn {
  border-radius: 30px;
  border: 0;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 1rem 0;
  outline: 0;
  padding: 1.3rem 3rem;
  text-align: center;
  text-transform: capitalize;
  white-space: nowrap;
}

.btn__primary {
  font-weight: 300;
  color: #000;
  border: 1px solid #666666;
}

.btn__primary:hover {
  background-color: rgb(226, 223, 223);
}

.btn__accent {
  color: #fff;
  background: var(--color-accent);
}

.btn__accent:hover {
  background-color: #ccc;
}

.btn__subscribe {
  color: var(--color-accent);
  background: #fff;
}

.btn__subscribe:hover {
  background-color: #ccc;
}

/* Inputs */
.input {
  padding: 1.5rem 3.5rem;
  border: 1px solid #fff;
  border-radius: 30px;
  outline: 0;
  color: orange;
  font-size: 2rem;
}

::placeholder {
  color: #fff;
}

@media screen and (min-width: 768px) {
  .input {
    font-size: 1.6rem;
  }
}

/* forms */
.newsletter {
  height: auto;
  background-image: url(/images/jungle.webp);
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.newsletter__heading {
  margin-top: 2rem;
  font-size: 1.8rem;
  color: #fff;
}

.newsletter__link {
  font-size: 1.4rem;
  text-decoration: underline;
  color: #fff;
  margin-bottom: 2rem;
}

.update-form {
  /* height: 28rem; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.form__input {
  background: transparent;
  margin: 1rem;
}

@media screen and (min-width: 768px) {
  .update-form {
    flex-direction: row;
  }
}

/* Blog */

/* blog section */
/**
 * Make images responsive
 */
.flex .col img {
  width: 100%;
  height: auto;
}

/**
 * Make .flex children same
 * height using display flex.
 * Justify property prepares
 * cols for being centered.
 */
.flex {
  display: flex;
  justify-content: center;
  width: 1440px;
  max-width: 100%;
  margin: auto;
}

/**
 * Make cols flexible to
 * auto push button at the
 * col bottom.
 */
.flex .col {
  display: flex;
  flex-direction: column;
  flex: 1 1 300px;
  /* 
	In the order, equal to
	flex-grow: 1;
	flex-shrink: 1;
	flex-basis: 300px;
	*/
  margin: 1em;
}

/**
 * Margin-top auto pushes
 * button to bottom.
 * Align self makes button
 * stuck to the left.
 */
.flex .col .btn {
  align-self: flex-start;
  margin-top: auto;
}

.blog-section__heading {
  text-align: center;
  font-size: 3rem;
  color: #333333;
}
.blog {
  display: flex;
  flex-direction: column;
  background: #00d9ff;
  margin: 2rem;
}

.blog__heading {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333333;
}

.blog__date {
  font-size: 1.4rem;
  color: #666666;
}
.blog__img > img {
  width: 100%;
}

.blog__description {
  color: #8b8b8b;
  font-size: 1.4rem;
}

/**
 * Under 768px wrap cols
 */
@media (max-width: 768px) {
  .flex {
    flex-wrap: wrap;
  }
}

/* Grids */
.grid {
  display: grid;
}

@media screen and (min-width: 768px) {
  .grid--1x2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .grid--1x3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* web-descriptions */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title {
  display: flex;
  flex-direction: row;
}

.quote {
  text-transform: lowercase;
  font-size: 2.2rem;
  font-weight: 700;
  padding: 0.2rem;
}

.quote--yellow {
  color: yellow;
}

.quote--orange {
  color: orange;
}

.quote--green {
  color: lawngreen;
}

.describe {
  font-size: 1.6rem;
  padding: 0 1rem;
  text-align: center;
}

.description {
  font-size: 1.2rem;
  padding: 0 1.5rem;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .quote {
    font-size: 2.8rem;
  }

  .describe {
    font-size: 1.8rem;
    padding: 0 8rem;
  }

  .description {
    font-size: 1.4rem;
    padding: 0 1.5rem;
  }
}

/* Collapsibles */
.collapsible__header {
  display: flex;
  justify-content: space-between;
}

.collapsible__heading {
  margin-top: 0;
  font-size: 3rem;
}

/* .collapsible__chevron {
  transform: rotate(-90deg);
  transition: transform 0.3s;
} */

.collapsible__content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s;
}

/* .collapsible--expanded .collapsible__chevron {
  transform: rotate(0);
} */

.collapsible--expanded .collapsible__content {
  max-height: 100vh;
  opacity: 1;
}

/* Navbar */
/* Navigation Bar */
.navBar {
  padding: 0.4rem 0;
}

.nav {
  background: #fff;
  display: flex;
  /* justify-content: space-between; */
  flex-wrap: wrap;
  padding: 0rem 1rem;
  align-items: center;
}

.nav__list {
  width: 100%;
  margin: 0;
}

.nav__item {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #000;
}

.nav__item > a {
  font-size: 1.5rem;
  color: #000;
  transition: color 0.2s ease-in;
}

.nav__item > a:hover {
  color: var(--color-accent);
}

.nav__toggler {
  opacity: 1;
  transition: box-shadow 0.15s;
  cursor: pointer;
}

.nav.collapsible--expanded .nav__toggler {
  opacity: 0.7;
  box-shadow: 0 0 0 2px coral;
  border-radius: 4px;
}

.nav__brand {
  transform: translateY(5px);
}

@media screen and (min-width: 768px) {
  .nav {
    justify-content: center;
  }
  .nav__toggler {
    display: none;
  }

  .nav__list {
    width: auto;
    display: flex;
    font-size: 1.6rem;
    max-height: 100%;
    opacity: 1;
  }

  .nav__item {
    border: 0;
  }
}

/*Head logo Section */
.logo {
  margin-top: 0.6rem;
  align-self: center;
}
.logo > img {
  width: 100%;
  max-width: 64px;
  height: 64px;
}

.nav-bar {
  display: flex;
  flex-direction: column;
}

/* Blocks */
.hero__block {
  background: url(/images/pexels.webp);
  padding: 2rem;
  background-size: cover;
  background-position: center;
  margin: 0.5rem;
  position: relative;
}

.hero__heading {
  font-size: 4rem;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.container-block {
  display: flex;
  flex-direction: row;
  /* work needed */
  align-content: space-between;
  max-width: 1140px;
  width: 100%;

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

  /* justify-self: center; */
  /* justify-items: center; */
}

.hero__image {
  opacity: 0;
  width: 100%;
}

/* .hero__container {
  
} */

/* Hero */

.hero__tagline {
  font-size: 1.8rem;
  color: #fff;
}

.hero__image {
  width: 100%;
}

.hero__content {
  padding-left: 10rem;
}

.hero--icon {
  color: rgb(224, 224, 224);
  position: absolute;
  bottom: 5px;
  left: 50%;
  transition: transform 0.3s ease-out;
}
@media screen and (max-width: 768px) {
  .hero__image {
    display: none;
  }

  .hero__content {
    padding-left: 0;
    text-align: center;
  }
  .hero--icon {
    left: 45%;
    transform: scale(0.7);
  }
}

@media screen and (max-width: 375px) {
  .hero--icon {
    left: 42%;
    transform: scale(0.5);
  }
}

/* block */
.block-container {
  padding: 2rem;
}

.block__header {
  text-align: center;
  margin-bottom: 4rem;
}

.block__heading {
  margin-top: 0;
}

.block--dark {
  background: #000;
  color: #7b858b;
}

/* container */
.container {
  max-width: 1140px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .container--modified {
    padding: 1rem 6rem;
  }
}
/* features */
/* Features Block*/
.feature {
  margin: 0rem;
}

.feature__heading {
  margin: 0rem 0;
  font-size: 3rem;
}

.feature__image {
  width: 100%;
  height: auto;
}

.feature__description {
  font-size: 1.4rem;
}

/* .feature__image-container {
} */

.feature__content {
  padding: 1.5rem 1rem;
}
@media screen and (min-width: 768px) {
  .feature:nth-of-type(even) .feature__image-container {
    order: 2;
  }

  .feature:nth-of-type(odd) .feature__image-container {
    border-right: 1.5px solid black;
  }

  .feature:nth-of-type(even) .feature__content {
    text-align: right;
    border-right: 1.5px solid black;
    padding: 4rem 4rem 4rem 0;
  }
  .feature:nth-of-type(odd) .feature__content {
    text-align: left;
    padding: 4rem 0 4rem 4rem;
  }

  .block-container {
    padding: 6rem;
  }
}

/* Showcase Block */

.block-showcase__image > img {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .block-showcase .grid {
    grid-template-columns: 50% 50%;
  }

  .block-showcase__image {
    justify-self: end;
  }

  .block-showcase__image > img {
    width: auto;
    max-width: 700px;
  }
}

/* owl slider */
.owl-slider__container {
  padding: 3rem;
}

@media screen and (min-width: 1024px) {
  .owl-slider__container {
    padding: 6rem;
  }
}

.slider__content {
  padding-left: 0;
  padding-top: 2rem;
}

.slider__location {
  font-size: 1.8rem;
  color: var(--color-primary);
}

.slider__heading {
  font-size: 3rem;
  margin: 0;
}

.slider__date {
  font-size: 1.8rem;
  margin: 0%;
  color: var(--color-accent);
}

@media screen and (min-width: 768px) {
  .slider__content {
    padding-left: 2rem;
    padding-top: 0;
  }

  .slider__heading {
    font-size: 2rem;
  }

  .slider__location {
    font-size: 1.2rem;
  }

  .slider__date {
    font-size: 1.2rem;
  }

  .slider__description {
    font-size: 1.1rem;
  }
}

/* owl slider carousel */

.owl-carousel {
  width: 100%;
  height: auto;
  background: #fff5e7;
}

.slide {
  width: 100%;
  height: auto;
  position: relative;
}

.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}

.owl-dots {
  width: 100%;
  padding: 0;
  text-align: center;
  position: absolute;
  bottom: 0%;
}

.owl-dots span {
  width: 20px !important;
  height: 20px !important;
}

.owl-dots button {
  border: none !important;
  outline: none !important;
}

.owl-nav button {
  border: none !important;
  outline: none !important;
}

.owl-prev,
.owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #000 !important;
  font-size: 65px !important;
  font-weight: bolder !important;
  background: none !important;
}

.owl-prev {
  left: 1%;
}

.owl-next {
  right: 1%;
}

/* badges */
.badge-container {
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 0.4rem 4rem;
  text-align: center;
  background-color: var(--color-accent);
  color: #fff;
  font-size: 1.4rem;
}

.badge--slider {
  display: inline-block;
  padding: 0.2rem 2rem;
  text-align: center;
  background: transparent;
  color: var(--color-accent);
  font-size: 1.4rem;
  border: 1.3px solid var(--color-accent);
}

s {
  display: inline;
  color: var(--color-body-darker);
}

#preloader {
  background: #fff url(/images/Reload.gif) no-repeat center center;
  height: 100vh;
  width: 100%;
  background-size: 50%;
  position: fixed;
  z-index: 100;
}
