:root {
  --gray: #ccc;
  --dark-gray: #777;
  --blue:#0a2240;

  --grid-unit: 1rem;
  --border-radius-base: 0.5rem;
  --color-bg: #ffffff;
  --color-fg: #000000;
  --color-border: #ff6f69;
  --color-button: var(--gray);
  --hero-text-color: var(--blue);
  --hero-text-responsive: var(--color-fg);
  --color-button-text: black;
}

[data-theme="light"] {
  --color-bg: #ffffff;
  --color-fg: #000000;
  --color-border: #ffcc5c;
  --hero-text-color: var(--blue);
  --hero-text-responsive: var(--color-fg);
  --color-button:lightgreen;
}

[data-theme="dark"] {
  --color-bg: #000000;
  --color-fg: #ffffff;
  --color-border: #5cff64;
  --hero-text-color: var(--white);
  --hero-text-responsive: var(--color-fg);
  --color-button:lightgreen;
  --color-button-text: black;
}

body,
html {
  background-color: var(--color-bg);
  color: var(--color-fg);
  width: 90%;
  margin: auto;
  height: 100%;
  padding: 0;
  position: relative;
}

#google_translate_element {
  text-align: right;
}
  
/* controls */
.controls {
  width: 100%;
  height: 40px;
}

.btn-container {
  width: 84%;
  float: left;
}

.sort-container {
  width: 16%;
  float: left;
}

button {
  background-color: var(--color-button);
  border: 0.15rem solid var(--color-button);
  color: var(--color-button-text);
  padding: 5px 2px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 4px 0px;
  cursor: pointer;
  border-radius: 16px;
}

.bigButton{
  border: 0.25rem solid var(--color-button);
  color: var(--color-button-text);
  padding: 5px 10px;

}

button:hover {
  background-color: var(--color-bg);
  color: var(--color-fg);
}

* {
  box-sizing: border-box;
}

/* sort toggle */
.arrow {
  border: solid lightgreen;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 5px;
  position: relative;
  left: 85%;
  top: 10px;
}

.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}


/* IMAGE GALLEY STYLES */

.imageCard.hidden {
  display: none;
}

.imageCard.shown {
  display: block;
}

div.gallery {
  padding: 15px;
  border: 1px solid #ccc;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: 100%;
  height: auto;
}

div.desc {
  padding: 10px;
  text-align: center;
}

div.desc p {
  padding: 0px;
  margin: 0px;
}

div.desc p {
  padding: 0px;
  margin: 0px;
}

* {
  box-sizing: border-box;
}

.responsive {
  padding: 0px 6px;
  float: left;
  width: 24.99999%;
  margin: 0px 0px 0px 0px;
}


/* HERO CARD STYLES */
.artist {
  h1 {
    padding: 0%;
    margin: 0px 0px 6px 0px;
    font-weight: 100;
    font-size: 30px;
    font-family: 'Montserrat', sans-serif;
  }
}

.line {
  border-top: 1px solid lightgray;
}

.hero-card {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 40%;
  background-image: linear-gradient(to right, rgba(0, 100, 0, 0), rgba(0, 100, 0, 0.5));
  position: relative;
  overflow: hidden;
}

.hero-image {
  width: 25%;
  height: 86%;
  top: 7%;
  left: 5%;
  float: left;
  padding: 0;
  margin: 0;
  position: relative;
  border-radius: 180%;
  background-size: cover;
  background-position: center top;
}

.hero-text {
  width: 55%;
  right: 5%;
  top: 7%;
  text-align: left;
  position: absolute;
  color: var(--hero-text-color);
  font-family: 'Montserrat', sans-serif;
  font-weight: 2;
  font-size: 1.4em;
}

/* RESPONSIVE STYLES */


/* image gallery: 3 images display */
@media only screen and (max-width: 1200px) {
  .responsive {
    width: 32.99999%;
    margin: 6px 0;
  }
}

/* image gallery: 2 images display */
@media only screen and (max-width: 1030px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}


/* image gallery: 1 image display */
@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
}

/* HERO CARD adjustments */

@media only screen and (max-width: 1200px) {

  .hero-image {
    height: 75%;
  }

  .hero-text {
    padding-top: 0px;
  }
}

@media only screen and (max-width: 1030px) {
  .hero-image {
    width: 30%;
    height: 65%;
  }

  .hero-text {
    font-size: 1.2em;
  }
}

@media only screen and (max-width: 900px)  {
  
  .hero-card {
    height: 35%;
  }

  .hero-text {
    font-size: 1.1em;
  }
}

@media only screen and (max-width: 850px) {
  .hero-card {
    height: 55%;
  }

  .hero-image {
    width: 45%;
    height: 50%;
    top: 5%;
    left: 25%;
  }

  .hero-text {
    top: 57%;
    padding-top: 15px;
    left: 10%;
    width: 80%;
    right: 2%;
    text-align: justify;
    font-size: 1em;
  }
}

/* ipad */
@media only screen and (min-height:1000px){
  .hero-card {
    height: 35%;
  }
}

@media only screen and (min-height:1200px){
  .hero-card {
    height: 25%;
  }
}

@media only screen and (max-width: 550px) {

  .hero-image {
    height: 45%;
  }
  .hero-text {
    top: 50%;
    padding-top: 5px;
  }
  .arrow {
    left:60%;
  }
}

@media only screen and (max-width: 450px) {
  .hero-image {
    height: 40%;
    width: 60%;
    left: 15%;
  }
}


@media only screen and (max-width: 400px) {
  .hero-card {
    height: 60%;
  }

}

@media only screen and (max-width: 375px)  {
  .hero-card {
    height: 65%;
  }
  .hero-text {
    font-size: .9em;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
