

/* end of scroll css */


/* here */
.row .columns img {
    width: 100%;
}

.survey-stats {
    width: 100%;
}
.card {
    width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 15px 15px;
    min-height: 440px;
}
.card:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    cursor: pointer;
}
.current-market-card:hover {
    cursor: pointer;
}

/* Slideshow container */
.slideshow-container {
    max-width: 70%;
    position: relative;
    margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
		margin-right: -0px;
		right: 97.8%;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 5px;
    color: black;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: white;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.prev:hover,
.next:hover {
    background-color: #504A4B;
    color: white;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #000000;
  font-size: 10px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: #c3c3c3;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active1 {
    background-color: black;
}


/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
		-webkit-animation-fill-mode: forwards;
    animation-name: fade;
    animation-duration: 1.5s;
		animation-fill-mode: forwards;
}

@-webkit-keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

@keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

.custom-row {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin-bottom: 10px;
}
.custom-row .row-child {
    flex-basis: 48%;
}
.custom-row .row-child a {
    text-decoration: none;
    color: black;
}
.surveys .custom-row .row-child {
    flex-basis: 40%;
}
.surveys .custom-row .row-child .card {
    min-height: 350px;
}


.modal {
    display: none;
    position: fixed;
    z-index:7;
    padding-top: 200px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.7);
}


#img01 {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 800px;
		border-radius: 30px;
}
#img02 {
    margin: auto;
    display: block;
    width: 90%;
    /* max-width: 700px; */
}

.long-image-modal:hover,.modal-image:hover {
    cursor: pointer;
}

.modal-content {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}


/* end here */




















* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Lucida Bright;
  background-color: #E6CB99;
  color: #000000;


}



/* Centering all the content, and justify them and displaying them on the same row */
.top-bar-container {
  margin: auto;
  width: 40%;
  height: 100%;
  padding: 0 10px;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: center;
}

.top-bar-misc-container {
  grid-column: 2/-1;
  padding-right: 15px;
  justify-self: end;
}




img{

max-width: 100%;


}





/* ----------------------MOBILE VERSION------------------------------- */

/* Depending on the size, we adjust the width to make it look better */
@media only screen and (max-width: 1440px) {
  /* Remove the min-width and width conditions from the containers */
  .container {
    width: 100%;
    min-width: none;
    height: auto;
    float: left;
  }

  .div {
    width: 100%;
    min-width: none;
    height: auto;
    float: left;
  }

  .section-nav {
  width: 100%;

  }

}

@media only screen and (max-width: 768px) {
  /* Remove the min-width and width conditions from the containers */
  .container {
    width: 100%;
    min-width: none;
    height: auto;
    float: left;
  }

  .div{
    width: 100%;
    min-width: none;
    height: auto;
    float: left;
  }

  .section-nav {
  width: 50%;

  }

}

@media only screen and (max-width: 480px) {
  /* Remove the min-width and width conditions from the containers */
  .container {
    width: 100%;
    min-width: none;
    height: auto;
    float: left;
  }

  .div {
    width: 100%;
    min-width: none;
    height: auto;
    float: left;
  }

  .section-nav {
  width: 50%;

  }

}

/*=========================================================================
3. Working on the navigation bar
===========================================================================*/

/* -----------------------MOBILE VERSION------------------------------------ */

/* Contains everything */

.nav-container {
  font-weight: 700;
  background-color: black;
  color: white;
  height: auto;
  padding: 1em 0;
}


/* In mobile the anchors need to be in column form */
.nav-content {
  display: flex;
  flex-direction: column;
  gap: 2em;
  font-family: monospace ;
}



/* --------------------DESKTOP VERSION----------------------- */

@media only screen and (min-width: 1024px) {
  /* hides menu and cross button when in desktop */
  .nav {
    width: 50%;
    /* margin: auto; */

  }

  /* .div {
    width: 50%;
  } */

  /* .section-nav {
  width: 50%;

  } */

  .nav-toggle {
    display: none;
  }

  /* removing padding for better appearance */
  .nav-container {
    padding: 1em;
  }

  /* The content needs to be displayed in a row in desktop mode */
  .nav-content {
    /* flex-direction: row; */
    gap: 0;
    height: 100%;
    /* text-align: justify;
    text-justify: inter-word; */
    font-family: monospace ;
  }

}

/*---------------------------------------------------------------
4.Working on the End bar (search, cart, catchphrase)
----------------------------------------------------------------- */

/* ------------------------DESKTOP VERSION----------------------- */

/* Centering all of the content */
.end-header-bar-container {
  height: 80px;
}

.end-header-bar {
  width: 50%;
  height: 100%;
  margin: auto;
  padding: 0 10px;

  justify-items: center;
  align-items: center;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-flow: column;
  column-gap: 30px;
}



/* ----------------------MOBILE VERSION------------------------------- */
/* Depending on the size, we adjust width it to make look as good as possible */
@media only screen and (max-width: 1440px) {
  /* Remove the min-width and width conditions from the containers */
  .end-header-bar {
    width: 75%;
    min-width: none;
  }
}

@media only screen and (max-width: 1024px) {
  /* Remove the min-width and width conditions from the containers */
  .end-header-bar {
    width: 90%;
    min-width: none;
  }
}

@media only screen and (max-width: 768px) {
  /* Remove the min-width and width conditions from the containers */
  .end-header-bar {
    width: 100%;
    min-width: none;
  }

}
