:root {
  --navbar-bg-color: hsl(0, 0%, 100%);
  --navbar-text-color: rgb(102, 6, 54);
  --navbar-text-color-focus: white;
  --navbar-bg-contrast: hsl(0, 0%, 25%);
}

* {
  /* outline: 1px #000 solid; */
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* font-size: clamp(0.7rem, 0.5231rem + 2.5641vw, 1.17rem); */
}

body {
  
  /* overflow: hidden; */
  height: 100vh;
  background: rgb(102, 6, 54);
}



/*GRID-PAGE-WRAPPER*****GRID-PAGE-WRAPPER*****GRID-PAGE-WRAPPER*****GRID-PAGE-WRAPPER*****GRID-PAGE-WRAPPER****/

/*MOBILE FIRST*/
.wrapper {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 5px;
  grid-template-areas:
    "nav"
    "sidebar"
    "image"
    "footer";

  /* border-style: solid; */
}

/*NAV**********NAV********NAV*************NAV*************/
#navbar {
  display: flex;
height: 110px;
  grid-area: nav;
  
}

.navbar-container {
  display: flex;
  background-color: #ffffff;
  justify-content: space-between;
  flex-basis: 100%;
  
  /* align-items: center; */
}

.navbar-item {
  margin: 0.4em;
  width: 100%;
  text-transform: uppercase;
  
  /* align-items: center; */
}

.navbar-link {
  color: var(--navbar-text-color);
  transition: color 0.2s ease-in-out;
  text-decoration: none;
  display: flex;
  font-weight: 400;
  align-items: center;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
  font-weight: 600;
  
  /* justify-content: center; */
}

.home-link:focus,
.home-link:hover {
  color: var(--navbar-text-color-focus);
}

.navbar-link {
  justify-content: center;
  width: 100%;
  padding: 0.4em 0.8em;
  border-radius: 5px;
}

.navbar-link:focus,
.navbar-link:hover {
  color: var(--navbar-text-color-focus);
  background-color: var(--navbar-bg-contrast);
}



#logo {
  height: auto;
}

.navbar-toggle {
  margin-top: 35px;
  margin-right: 10px;
  cursor: pointer;
  border: none;
  background-color: transparent;
  /* width: 90px;
  height: 90px; */
  display: flex;
  /* align-items: center; */
  /* justify-content: center; */
  flex-direction: column;
}

.icon-bar {
  display: block;
  width: 45px;
  height:6px;
  margin: 4px;
  transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out,
    opacity 0.2s ease-in-out;
  background-color: var(--navbar-text-color);
}

.navbar-toggle:focus .icon-bar,
.navbar-toggle:hover .icon-bar {
  background-color:rgb(102, 6, 54);
}

#navbar.opened .navbar-toggle .icon-bar:first-child,
#navbar.opened .navbar-toggle .icon-bar:last-child {
  position: absolute;
  margin: 0;
  width: 30px;
}

#navbar.opened .navbar-logo {
  display: none;
}

#mob-logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
}

#mob-logo {
  height: auto;
  width: 90px;
}
#navbar.opened .navbar-toggle .icon-bar:first-child {
  transform: rotate(45deg);
}

#navbar.opened .navbar-toggle .icon-bar:nth-child(2) {
  opacity: 0;
}

#navbar.opened .navbar-toggle .icon-bar:last-child {
  transform: rotate(-45deg);
}

.navbar-menu {
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  height: 100%;
  left: 0;
  right: 0;
  /* background-color: pink; */
}

#navbar.opened .navbar-menu {
  background-color: rgb(79, 25, 104);
  opacity: 1;
  visibility: visible;
}

.navbar-links {
  width: 100%;

  list-style-type: none;

  overflow: hidden;
  position: absolute;
  background-color: var(--navbar-bg-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  

  
  /* height: 200px; */
}

#navbar.opened .navbar-links {
  padding: 1em;
  max-height: none;
  
  
  
}

/********SIDEBAR*********/

.side {
  display: grid;
  grid-area: sidebar;
  width: 100%;
  /* height: 100%; */
  align-items: center;

  align-content: center;
  background-image: linear-gradient(45deg, #b67388, #753a88);
}

.side p {
  display: grid;
  align-items: center;
  line-height: 1.1;
  color: blanchedalmond;
  font-size: 1rem;
  font-weight: 650;
  margin-left: 2em;
  margin-right: 2em;
  margin-bottom: 0;
  text-decoration: none;
  padding: 0;

  text-align: left;
  font-style: italic;
}

h2 {
  width: 100%;
  color: blanchedalmond;
  text-decoration: none;
  font-size: 1.5em;
  text-align: left;
  /* margin-top: 0.1em; */
  margin-left: 0.2em;
  margin-right: auto;
  margin-bottom: 1.4em;
}

.jp-quote {
  font-family: cardo;
  color: blanchedalmond;
  font-variant-ligatures: normal;
  font-variant-caps: normal;
  font-variant-numeric: normal;
  font-variant-east-asian: normal;
  font-weight: 500;
  font-stretch: normal;
  line-height: 1.4;
  font-style: italic;
  text-decoration: none;
}

/******MAIN-IMAGE*********/

.grid-img-container {
  align-items: center;
  justify-content: center;
  justify-items: center;
  justify-self: center;
width:100%;
  grid-area: image;
  background: blueviolet;
}

#main-img {
  object-fit: cover;
  width:100%;
  max-width: 100%;
  height: auto;
  display: block;
}

/****MOB-FOOTER*********MOB-FOOTER*********MOB-FOOTER*********MOB-FOOTER*****/
.main-footer {
  margin: 0;
  padding: 0;

  grid-area: footer;
  align-items: center;

  background: linear-gradient(130deg, #7e0e92, #3b0864, #b67388);
  /* background-size: 400% 400%; */
  -webkit-animation: gradient 16s ease infinite;
  animation: gradient 16s ease infinite;
  text-align: left;
  font-style: italic;
  line-height: 1.4 !important;
  overflow: hidden;
}

/**keyframes****Footer gradient change**/

@-webkit-keyframes gradient {
  0% {
    background-position: 5% 0%;
  }
  50% {
    background-position: 96% 100%;
  }
  100% {
    background-position: 5% 0%;
  }
}

@keyframes gradient {
  0% {
    background-position: 5% 0%;
  }
  50% {
    background-position: 96% 100%;
  }
  100% {
    background-position: 5% 0%;
  }
}

/********New Media Quries****************************NEW MEDIA QUERIES*******/

@media screen and (min-width: 688px) {
  .wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 150px auto auto auto;
    grid-template-areas:
      "nav"
      "sidebar"
      "image"
      "footer";
  }

  #navbar {
    display: grid;
    grid-area: nav;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
  }

  .navbar-container {
    height: 100%;
    width: 100%;
  }

  .navbar-menu {
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    opacity: 0;
    visibility: hidden;
    position: absolute;

    left: 0;
    right: 0;
  }

  .navbar-toggle {
    display: none;
  }

  #navbar .navbar-menu,
  #navbar.opened .navbar-menu {
    visibility: visible;
    opacity: 1;
    width: 100%;
    
    
  }

  #navbar .navbar-links,
  #navbar.opened .navbar-links {
    /* margin: 20px; */
    flex-direction: row;
    padding: 0;
    box-shadow: none;
    list-style-type: none;
    height: 150px;
    
  }

  #navbar .navbar-link:last-child {
    margin-right: 0;
  }
  .navbar-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    /* width: 150px; */
    /* margin: auto auto; */
    /* padding: 0; */
  }
  #logo {
    /* border-radius: 10%; */
    max-width: 250px;
    height: auto;
    margin: 20px;
  }

  #mob-logo {
    display: none;
  }

  .side p {
    font-size: 22px;
    margin-left: 1em;
  }

  .grid-img-container {
    width: 100%;
    
  }
  #main-img {
    object-fit: cover;
    width:100%;
    max-width: 100%;
    height: auto;
    display: block;
}
  }

/* MEDIA QUERIES */

@media screen and (min-width: 800px) {

  .wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 600px 350px;
    grid-template-areas:
      "nav nav"
      "sidebar image"
      "footer footer";
  }

  #navbar {
    margin-top: 0;
    padding: 0;
  }

  .navbar-toggle {
    display: none;
  }

  #navbar .navbar-menu,
  #navbar.opened .navbar-menu {
    visibility: visible;
    opacity: 1;
    height: 100%;
    
    
  }

  #navbar .navbar-links,
  #navbar.opened .navbar-links {
    display: flex;
    flex-direction: row;
    padding: 0;
    box-shadow: none;
    list-style-type: none;
    max-height: max-content;
    align-items: center;
    gap: 122px;
  
    
  }

  #navbar .navbar-link:last-child {
    margin-right: 0;
  }
  .navbar-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    width: 150px;
    margin: 0;
    padding: 0;
  }
  #logo {
    border-radius: 10%;
    max-width: 250px;
    height: auto;
  }


  .grid-img-container {
    width: 100%;
    
  }
  #main-img {
    object-fit: cover;
    max-width: 100%;
    height: auto;
    display: block;
}
}



@media screen and (min-width: 1200px) {
  .wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 414px auto;
    gap: 5px;
    grid-template-areas:
      "nav nav"
      "sidebar image"
      "footer footer";
  }

  #navbar {
    display: grid;
    grid-area: nav;
    padding: 0;
    margin: 0;
    width: 100%;
    
    /* height: 100%; */
  }

  .navbar-container {
    width: 100%;
  }

  .navbar-menu {
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    opacity: 0;
    visibility: hidden;
    
    
  }

  .navbar-toggle {
    display: none;
  }

  #navbar .navbar-menu,
  #navbar.opened .navbar-menu {
    visibility: visible;
    opacity: 1;
    
  }

  #navbar .navbar-links,
  #navbar.opened .navbar-links {
    margin: 0;
    flex-direction: row;
    padding: 0;
    box-shadow: none;
height: 180px;
    list-style-type: none;
    gap: 22px;
    
    
    
  }

  #navbar .navbar-link:last-child {
    margin-right: 0;
  }
  .navbar-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    width: 150px;
    margin: 0;
    padding: 0;
  }
  #logo {
    position: absolute;
    border-radius: 10%;
    width: 170px;
    height: auto;
    margin: 0;
    padding: 0;
  }

  #mob-logo {
    display: none;
  }
 

  .side {
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .grid-img-container {
    
    
    grid-area: image;
    width: 100%;
    
  }

  
  #main-img {

    
    object-fit: cover;
    
    height: 414px;
    width: 666px;
    display: block;
    
  }

  .side {
    width: 100%;
  }

  .side p,
  .jp-quote {
    font-size: 35px;
    margin-left: 1em;
    margin-top: 10%;
  }
}



@media screen and (min-width: 1380px) {
  .wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 414px auto;
    gap: 5px;
    grid-template-areas:
      "nav nav"
      "sidebar image"
      "footer footer";
  }

  .grid-img-container {
    width: 100%;
    height:min-content;
  }

  #main-img {
    object-fit:cover;
    width:956px;
    max-width: 1000px;
    height: 413px;
    display: block;
    
  }
}


/***********************END OF MEDIA QUEIRES*****************************/





/******FOOTER******

/*slider styles*/

.footer-content {
  /* margin: auto;
  padding: 15px; */
  margin-right: auto;
  margin-left: auto;

  height: 315px;
  
  max-width: 100%;
  min-width: 300px;
}

.slick-slider {
  margin: 30px auto 50px;
  width: 100%;
}
.slick-prev,
.slick-next {
  color: white;
  opacity: 1;
  height: 40px;
  width: 40px;
  margin-top: -20px;
}
.slick-prev path,
.slick-next path {
  fill: rgba(255, 255, 255, 0.4);
}
.slick-prev:hover path,
.slick-next:hover path {
  fill: #ffffff;
}

.slick-prev {
  left: -35px;
}

.slick-next {
  right: -35px;
}

.slick-prev:before,
.slick-next:before {
  content: none;
}

.slick-dots li button:before {
  color: rgba(255, 255, 255, 0.4);
  opacity: 1;
  font-size: 8px;
}

.slick-dots li.slick-active button:before {
  color: #ffffff;
}

.quote-container {
  min-height: 200px;
  color: #666666;
  font-size: 36px;
  margin: 0;
  padding: 90;
  position: relative;
}
.quote-container:hover {
  cursor: -webkit-grab;
  cursor: grab;
}

.quote-container .quote {
  position: relative;
  z-index: 600;

  margin: 0;
  font-size: 20px;
  font-style: italic;
  line-height: 1.4 !important;
  font-family: Calibri;
  color: white;
}
.quote-container .quote p {
  position: relative;
  margin-bottom: 20px;
}
.quote-container .quote p:first-child:before {
  content: "“";
  color: rgba(255, 255, 255, 0.44);
  font-size: 7.5em;
  font-weight: 700;
  opacity: 1;
  position: absolute;
  top: -0.4em;
  left: -0.2em;
  text-shadow: none;
  z-index: -10;
}
.quote-container .quote cite {
  display: block;
  font-size: 14px;
}
.quote-container .quote cite span {
  font-size: 16px;
  font-style: normal;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.dragging .quote-container {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.content {
  color: #333333;
  border-top-width: 5px;
  border-style: groove;

  grid-area: content;
}

section {
  border-bottom: 1px solid rgba(131, 16, 83, 0.2);
  border-top: 1px solid rgba(131, 16, 83, 0.2);

  color: #333333;
}

h2 {
  margin-top: 2rem;
  text-align: center;
  text-decoration: none;
  color: rgb(102, 6, 54);
}

p {
  margin-top: 1rem;
  text-align: left;
  padding: 2%;
}

/* FOOTER */


