/* Root variables */
:root {
  --color-primary: linear-gradient(#2f51d2, #8322b3);
  --color-hover: #2f51d2;
  --color-danger: #ff7782;
  --color-success: #41f1b6;
  --color-warning: #ffbb55;
  --color-white: #fff;
  --color-info-dark: #7d8da1;
  --color-info-light: #dce1eb;
  --color-dark: #363949;
  --color-light: rgba(132, 139, 200, 0.18);
  --color-primary-variant: #111e88;
  --color-primary-variant-1: #8322b3;
  --color-dark-variant: #677483;
  --color-background: #0d0e27;
  --body-font: "Open Sans", sans-serif;
  --color-secondary: #070b24;
  --border-radius-3: 1.2rem;
  --color-span: #212222;
  --color-card: #bdc3c7;
  --card-padding: 1.8rem;
  --padding-1: 1.2rem;

  --box-shadow-1: 0 2rem 3rem var(--color-light);
}
.dark-theme-variables {
  /* --color-background: #181a1e; */
  --color-white: #202528;
  --color-dark: #edeffd;
  --color-dark-variant: #a3bdcc;
  --color-light: rgba(0, 0, 0, 8.8);
  --box-shadow: 0 2rem 3rem red;
  --color-info-light: #121212;
  --color-span: #edeffd;
}
@layer utilities {
  .scrollbar::-webkit-scrollbar {
    width: 20px;
    height: 20px;
  }

  .scrollbar::-webkit-scrollbar-track {
    border-radius: 100vh;
    background: #f7f4ed;
  }

  .scrollbar::-webkit-scrollbar-thumb {
    background: #e0cbcb;
    border-radius: 100vh;
    border: 3px solid #f6f7ed;
  }

  .scrollbar::-webkit-scrollbar-thumb:hover {
    background: #c0a0b9;
  }
}

* {
  margin: 0;
  padding: 0;
  outline: 0;
  appearance: none;
  border: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
  object-fit: contain;
}
html {
  font-size: 62.5%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* font-weight: 200; */
}
body {
  width: 100%;
  height: 100%;
  
  /* font-size: 0.88rem; */
  background-color: var(--color-background);
  /* background-image: url('images/istockphoto-1251629816-170667a.jpg'); */
  user-select: none;
  overflow-x: hidden;
  color: var(--color-dark);
  position: flex;
  /* overflow-y:auto ; */
}
#up {
  position: fixed;
  padding: 16px 16px;
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid blue;
  border-radius: 50%;
  bottom: 5px;
  right: 2px;
  text-decoration: none;
  z-index: 10;
}F
#up i {
  color: var(--color-white);
}
a {
  text-decoration: none;
  color: var(--color-white);
}
header {
  min-height: 500px;
  /* background: white; */
  background-image: url('images/hero.gif');
  background-repeat: none !important;
  background-size: cover;
}
nav {
  position: sticky;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  min-height: 50px;
  background: var(--color-secondary);
  /* box-shadow: var(--box-shadow); */
}

nav .logo {
  display: flex;
  font-size: 2em;
  flex: 1;
  justify-content: left;
  color: #f6f7fa;
}
nav .nav-items {
  display: flex;
  flex: 2;
  justify-content: end;
  font-size: 1.2rem;
  padding-right: 2rem;
}
nav .nav-items:hover {
  color: #8322b3;
}
a:hover {
  color: #8322b3;
  margin-left: -2px;
  transition: all 300ms ease;
}
a:visited {
color: var(--color-card);
}
nav .nav-items ul {
  display: flex;
  gap: 4rem;
  font-weight: 600;
}
nav .nav-items ul > li {
  display: inherit;
  align-items: center;
  justify-content: space-between;
}
nav .nav-items ul > li a {
  color: #f5f5f8;
}
a.active {
  color: var(--color-card);
} 
nav .nav-items ul > li a.active:after {
  color: var(--color-info-light );
}
nav .nav-items ul > li a.active:before {
  color: var(--color-card);
}
nav .search {
  display: flex;
  flex: 1;
  justify-content: center;
}

input[type="search"] {
  width: 100px;
  outline: none;
  box-sizing: border-box;
  border: none;
  border-radius: 10px;
  font-size: 12px;
  background-color: var(--color-card);
  background-image: url("search.svg");
  background-size: 1.1em;
  background-position: 110px 10px;
  background-repeat: no-repeat;
  padding: 6px 30px 6px 20px;
  transition: width 0.4s ease-in-out;
}

input[type="search"]:focus {
  width: 100%;
  border: none;
  background-position: 200px 10px;
}
nav .menu {
  color: var(--color-white);
  display: none;
  flex: 0.5;
  margin-right: 1rem;
  align-items: left;
  justify-content: center;
  cursor: pointer;
}
nav .menu i {
  font-size: 2em;
  color: var(--color-white);
}

header .container {
  display: flex;
  /* flex-direction: column; */
  margin: 2rem 0 2rem 0;
  background: transparent;
  /*border-radius: var(--border-radius-3);*/
  align-items: center;
  justify-content: space-around;
  min-height: 400px;
  flex-wrap: wrap;
  /*box-shadow: var(--box-shadow);*/
}
header .container:hover {
  box-shadow: none;
  transition: 2s ease;
}
header .container:hover::after {
  transition: 4s ease;
}
header .containers {
  position: relative;
  float: right;
  right: 8rem;
}
header .containers .write-up {
  position: absolute;
  right:  -72px;
  width: 200px;
  font-size: 1.3em;
  box-shadow: var(--box-shadow-1);
  border-radius: 10px;
  padding: 2rem 3rem;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  line-height: 3rem;
  color: var(--color-info-light);
  text-align: center;
  z-index: 1;
}
header .container .write-up {
  flex: 1;
  flex-wrap: wrap;
  font-size: 1.3em;
  margin: 2rem;
  padding: 2rem;
  padding-top: 7rem;
  padding-left: 7rem;
  margin-left: 15rem;
  box-shadow: var(--box-shadow);
  border-radius: 10px;
  height: 350px;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
}
header .container .write-up:hover {
  box-shadow: none;

  transition: 1s ease;
  background: var(--color-background);
}
header .container .write-up h1 {
  padding: 1rem 0;
  color: var(--color-white);
  font-size: 2em;
}

header .container .write-up p {
  color: #0e317d;
}
header .container .write-up p span {
  font-size: 3rem;
  color: var(--color-primary-variant-1);
}
header .container .write-up div {
  font-size: 1rem;
}
header .container .write-up button {
  padding: 8px 16px;
  border-radius: 4px;
  outline: none;
  background: var(--color-primary);
  cursor: pointer;
  transition: 1s;
  color: var(--color-white);
}
header .container .write-up button:hover {
  color: white;
  background: var(--color-hover);
  box-shadow: var(--box-shadow);
}
header .container .img-stack {
  /* flex: 1; */
  align-items: center;
  justify-content: center;
  margin-right: 15rem;
  background: var(--color-secondary);
  box-shadow: var(--box-shadow);
  border-radius: 0 100px 0 100px;
  /* max-width: 100%; */
  width: 400px;
  object-fit: cover;
  overflow: hidden;
}
header .container .img-stack img {
  display: flex;
  width: 100%;
  object-fit: cover;
  border-radius: 0 100px 0 100px;

  height: 350px;
  /* transform: translateY(-5em); */
}
header .container .img-stack:hover {
  box-shadow: var(--box-shadow);
  background: var(--color-background);
  transition: 1s ease;
}
section {
  display: flex;
  flex-direction: column;
  /* padding: 0 3rem; */
  min-height: 500px;
}
section:hover {
  /* box-shadow: var(--box-shadow); */
  transition: 2s ease;
}
section .container {
  display: flex;
  /* align-items: center; */
  justify-content: center;
  flex: 1;
  min-height: 400px;
  flex-direction: column;
  /* align-items: center; */
  /* margin: 2rem;s */
  /* justify-content: center; */
  /* background: #9fa6ab; */
  /* padding: 3rem; */

  /*border-radius: var(--border-radius-3);*/
  /*box-shadow: var(--box-shadow);*/
}
section .text {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 1.3em;
  font-size: 2em;
  font-weight: 600;
  color: #ffffff;
  /* line-height: 3.2rem; */
}
section .text p {
  font-size: 1rem;
  color: #121212;
  font-weight: 400;
}
section .cards {
  display: flex;
  flex: 2;
  gap: 2rem;
  max-width: 100%;
  /*margin: 0 2rem;*/
}
section .cards .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  /* padding-top: 4rem; */
  flex: 1;
 background: var(--color-secondary);
  /*border-radius: 10px;
  box-shadow: var(--box-shadow);*/
  color: #4f4b4b;
  max-width: 100%;
}
section .cards .card:hover {
  background: var(--color-background);
  box-shadow: none;
  color: #fefefe;
  transition: 1s ease;
}
section .cards .card img {
  /* flex: 0.5; */
  /* padding: 30px 0; */
  max-width: 350px;
  max-height: 150px;
  object-fit: cover;
}
section .cards .card h3 {
  padding-bottom: 0;
  font-size: 2rem;
  /* flex: 1; */
  color: #ffffff;
}

section .cards .card p {
  font-size: 1.2em;
  /* flex: 3; */
  line-height: 2.2rem;
}
section .cards .card blockquote{
  padding: 2rem;
  text-align: center;
  font-size: 1.2rem;
}
section .first {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  overflow-y: auto;
  /* box-shadow: var(--box-shadow); */
  /* margin: 2rem; */
  /* border-radius: 10px; */
}
section .first .card {
  flex: 1;
  margin: 2rem 3rem;
  box-shadow: var(--box-shadow);
  height: 300px;
  border-radius: 10px;
  background: var(--color-secondary);
}
section .first .card:hover {
  box-shadow: none;
  transition: 1s ease;
}
section .first .card img {
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  height: 300px;
}
section .first .cards {
  display: flex;
  flex: 1;
  height: 300px;
  flex-direction: column;
  /* align-items: center; */
  /* justify-content: space-; */
}
section .first .cards .card-text {
  text-align: center;
}
section .first .cards p {
  font-size: 1.2rem;
  color: #c8c9d2;
}
section .first .cards h2 {
  font-size: 3em;
  color: #ffffff;
}
section .first .cards .second-card {
  display: flex;
  gap: 2rem;
  flex-direction: row;
  height: 150px;
}
section .first .cards .second-card .card1 {
  flex: 1.5;
  height: 180px;
  line-height: 1.75rem;
  overflow-y: auto;
}
section .first .cards .second-card .card2 {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  box-shadow: var(--box-shadow);
  width: 50%;
  height: 180px;
  border-radius: var(--border-radius-3);
}
section .first .cards .second-card .card2 h3 {
  color: #ffffff;
  line-height: 2rem;
  padding: 2rem;
  font-size: 1.5em;
}
section .first .cards .second-card .card2:hover {
  box-shadow: none;
  transition: 1s ease;
}
section .first .cards .second-card .card2 button {
  padding: 8px 16px;
  border-radius: 4px;
  outline: none;
  background: var(--color-primary);
  cursor: pointer;
  transition: 1s;
  margin-bottom: 1rem;
  color: var(--color-white);
}
section .first .cards .second-card .card2 button:hover {
  color: white;
  background: var(--color-hover);
  box-shadow: var(--box-shadow);
}
.second {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  /* min-height: 600px; */
  align-items: center;
  justify-content: space-around;
  border-radius: var(--border-radius-3);
  box-shadow: var(--box-shadow);
  /* margin: 7rem 3rem 3rem 3rem; */
  gap: 2rem;
}
.second .blog {
  flex: 1;
}
.second h1 {
  padding-top: 2rem;
  font-size: 2rem;
  color: #ffffff;
}
.second .cards {
  /* flex: 2; */
  flex-wrap: wrap;
}
.second .card {
  align-items: center;
  justify-content: center;
  /* display: flex; */
  /* flex: 1; */
  font-size: 1.5em;
  /* padding: 4rem 2rem; */
  color: #ffffff;
}
.text2 {
  padding: 1rem 3rem;
  text-align: center  ;
}
.second .card .text2 h3 {
  color: white;
}
.second .cards.card img{
  object-fit: contain;
  width: 100px;
  min-height: 250px;
}
.second .card .text2 h6 {
  margin: 1.5rem 0;
  color: #404345;
  font-weight: 400;
  font-size: 1rem;
}
.second .card .text2 h6:hover {
  color: white;
}
.second .text2 a {
  padding: 8px 16px;
  margin-bottom: 2rem;
  border-radius: 4px;
  outline: none;
  background: var(--color-primary);
  cursor: pointer;
  transition: 1s;
  font-size: 0.8rem;
  color: white;
  margin-top: 10px 0;
}
.second .text2 button:hover {
  color: white;
  background: var(--color-hover);
  box-shadow: var(--box-shadow);
}
.second .card #small-text img {
  margin-left: 2rem;
}

div .container {
  display: flex;
  /* align-items: center; */
  justify-content: center;
  flex: 1;
  min-height: 600px;
  flex-direction: column;
  /* align-items: center; */
  
  /* justify-content: center; */
  background: var(--color-secondary); 
  padding: 3rem;
  /* border-radius: var(--border-radius-3); */
  /* box-shadow: var(--box-shadow); */
}
div .text {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 1.3em;
  font-size: 2em;
  font-weight: 600;
  color: #ffffff;
  line-height: 3.2rem;
}
div .text p {
  font-size: 1rem;
  color: #2f51d2;
  font-weight: 600;
}
div .cards {
  display: flex;
  flex: 2;
  gap: 2rem;
  margin: 0 2rem;
  /* max-width:100%; */
}
div .cards .card {

  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 1rem; */
  padding: 2rem 0;
  flex: 1;
  background: var(--color-secondary);
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  color: #e3dbdb;
  /* height: 600px; */
}
div .cards .card:hover {
  background: var(--color-background);
  box-shadow: none;
  color: #fefefe;
  transition: 1s ease;
}
div .cards .card img {
  flex: 1;
  height: 200px;
  box-shadow: var(--box-shadow);
  width: 300px;
}

div .cards .card p {
  font-size: 1.2em;
  flex: 1;
  line-height: 2.2rem;
  word-wrap: anywhere;
  text-align: center;
  margin: 0 4rem 2rem 4rem;
}
.newsletter {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  /* box-shadow: 10px 10px 20px grey; */
  /* border-radius: 10px; */
  /* margin: 0 3rem 3rem 2rem ; */
  min-height: 150px;
}
input[type="email"] {
  width: 200px;
  outline: none;
  box-sizing: border-box;
  border: 1px solid #2f51d2;
  border-radius: 10px;
  font-size: 12px;
  background-color: #dce1eb;
  background-size: 1.1em;
  background-position: 110px 10px;
  background-repeat: no-repeat;
  padding: 6px 30px 6px 20px;
  transition: width 0.4s ease-in-out;
}
.newsletter button {
  padding: 8px 16px;
  border-radius: 10px;
  outline: none;
  background: var(--color-primary);
  cursor: pointer;
  transition: 1s;
  color: white;
}
.newsletter .write {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.newsletter p {
  color: var(--color-primary);
}
.newsletter h1 {
  font-size: 2rem;
  color: #ffffff;
  font-weight: 600;
}
.newsletter button:hover {
  color: white;
  background: var(--color-hover);
  box-shadow: var(--box-shadow);
}
footer {
  color: #dce1eb;
  position: sticky;
  display: flex;
  align-items: center;
  justify-content: space-around;
  /* padding: 1rem; */
  min-height: 50px;
  background: var(--color-secondary);
  /* box-shadow: var(--box-shadow); */
  /* margin: 2rem; */
  border-radius: (var(--border-radius-3-1));
}
div.gallery {
  margin: 5px;
  border: 1px solid #ccc;
  float: left;
  width: 100%;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

div.desc {
  padding: 15px;
  text-align: center;
  color: var(--color-white);
}
.follow {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2;
  margin: 2rem auto;
}
.follow.div{
  display: flex;
  gap: 2;
}

@media screen and (max-width: 1023px) {
  header .container {
    display: flex;
    margin: none;
    justify-content: space-evenly;
    max-width: 100%;
  }
  header .container .write-up h1 {
    font-size: 2rem;
  }
  section .container {
    max-width: 100%;
  }
  div .container {
    max-width: 100%;
  }
  section .first .cards .second-card .card1 {
    flex: 2;
    line-height: none;
  }
  section .first .cards .second-card .card2 {
    margin-right: 0;
  }
}

@media screen and (max-width: 811px) {
  header .container {
    flex-direction: column;
    max-width: 100%;
    gap: 2rem;
  }
  header .container .write-up {
    margin-left: 0;
    max-width: 100%;
    margin-right: 0;
  }
  header .container .img-stack {
    margin-right: 0;
    /* margin: 2rem; */
    padding: 0 4rem;
  }
  section .cards .card h3 {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 867px) {
  section .cards .card h3 {
    font-size: 1.5rem;
  }
}
[x-cloak] {
  display: none;
}

@media screen and (max-width: 767px) {
  section .cards {
    flex-direction: column;
  }
  section .first {
    flex-direction: column;
    gap: 2rem;
  }
  nav .menu {
    display: flex;
  }
  header .container .write-up {
    margin-top: 5rem;
    padding-left: 2rem;
  }
  section .text {
    font-size: 2rem;
    text-align: center;
  }
  section .first .cards .second-card {
    flex-direction: column;
    flex: 1;
  }
  section .first .cards .second-card .card2 {
    max-width: 100%;
  }
  .second {
    padding: 0;
    flex-direction: column;
  }
  div .cards {
    flex-direction: column;
  }
  nav .nav-items {
    display: none;
  }
}
@media screen and (max-width: 575.98px) {
  header .container {
    /* display: flex; */
    /* margin: 0 3rem 0 1rem; */
    text-align: center;
    justify-content: space-evenly;
    max-width: 100%;
    padding: 0 0 50px 0;
  }
  header .container .write-up {
    padding-left: 2rem;
    margin-left: 0;
    max-width: 90%;
  }
  header .container .img-stack {
    max-width: 90%;
  }
  header .container .img-stack img {
    max-width: 200%;
  }
  header .container .write-up h1 {
    font-size: 1.5rem;
  }
  input[type="search"] {
    /* width: 60px; */
    background-position: 10px 10px;
  }
  input[placeholder] {
    /* display: none; */
  }
  section .container {
    max-width: 100%;
    margin: none;
  }
  div .container {
    max-width: 100%;
  }
  section .first .cards .second-card .card1 {
    flex: 2;
    line-height: none;
    word-wrap: anywhere;
    text-align: center;
  }
  section .first .cards .second-card .card2 {
    margin-right: 0;
    width: auto;
    border-radius: 10px;
    text-align: center;
  }
  section .first .cards h2 {
    font-size: 2em;
  }
}
