body {
  background-repeat: no-repeat;
  background-position: top,left;
  background-attachment: fixed;
  background-image: url('https://svenskaflashcards.neocities.org/graphics/bg/YT_bg_mid.png');
  background-color: #CDD3D0;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}
header {
  display: block;
}
h1 {
  font-size: 60px;
}
/* link decorations*/
a:link {
  color: #70cfd0;
  text-decoration: none
}
a:visited {
  color: #70cfd0;
  text-decoration: none;
}

a:hover {
  color: #27aba0;
  text-decoration: none;
}

a:active {
  color: #2d5650;
  text-decoration: none;
}
.menu_buttons {
  max-width: 100%;
  height: auto;
}
.home_link {
  text-align: center;
  padding: 5px;
  font-size: 40px;
  color: #70cfd0;
  text-decoration: none;
  font-weight: bold;
}
/*flashcards*/
div.flip-card {
  background-color: transparent;
  width: 213px;
  height: 337px;
  perspective: 1000px;
}

div.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.6);
}

div.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

div.flip-card-front, div.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

div.flip-card-front {
  background-color: #bbb;
  color: #bbb;
}

div.flip-card-back {
  background-color: #70cfd0;
  color: #2d5650;
  transform: rotateY(180deg);
}
/*flashcard gallery*/
div.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding-top: none;
  padding-right: 50px;
  padding-bottom: 70px;
  padding-left: 50px;
}

div.gallery-item {
  margin: 20px;
  border: none;
  max-width: 400px;
}

div.gallery-item:hover {
  border: none;
}

div.gallery-item img {
  width: 100%;
  height: auto;
}
div.ordlista {
  padding-top: none;
  padding-right: 50px;
  padding-bottom: none;
  padding-left: 50px;
}
.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: rgba(236, 172, 20, 0.67);
  color: white;
  text-align: center;
}

.column {
  float: left;
  width: 25%;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}
@media screen and (max-width: 600px) {
  .column {
    width: 100%;
  }
}