@import url("https://fonts.googleapis.com/css?family=Amiko");

body {
  background-image: url("../images/supermariops4.jpg");
  background-position: center;
  font-family: "Amiko";
  font-size: 12px;
}

header {
  text-align: center;
  font-size: 30px;
  margin-bottom: 50px;
}

#container {
  display: flex;
  flex-direction: column;
  width: 80%;
  margin: .5em auto;
  padding: 1em;
}

h1,
h2 {
  text-align: center;
}

h3 {
  text-align: center;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  flex: 0 0 250px;
  margin: 10px;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 6px 0px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
  overflow: hidden;
}

.card img {
  max-width: 100%;
  margin: 0;
}

.card .text {
  padding: 0 20px 10px;
}

.card p:nth-of-type(1) {
  padding-bottom: 1em;
  border-bottom: solid lightgray 1px;
}

.card p:nth-of-type(2) {
  color: red;
}

.card:hover {
  transform: scale(1.1);
}

form,
.card,
.title,
iframe,
.main {
  background: rgba(255, 255, 255, 0.705);
  backdrop-filter: blur(5px);
  border-radius: 60px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  corner-shape: squircle;
}

form {
  padding: 1em;
  width: 50%;
  margin: 1em auto;
}

.form-row {
  display: flex;
}

.form-row>label {
  flex: 0 1 30%;
  font-weight: bold;
  font-size: 1.2em;
}

form input {
  flex: 2;
  padding: 0.5em;
  margin-bottom: 1em;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 15px;
}


form button,
#delete {
  padding: 0.5em;
  background: #00ABE4;
  color: white;
  margin-top: 1em;
  border-radius: 15px;
  corner-shape: circle;
}

.title,
.main {
  text-align: center;
  font-size: 1.5em;
  width: 50%;
  margin: 1em auto;
}

.videos {
  margin: 1em auto;
}

a {
  color: red;
  margin: 1em;
}

.bottom-ticker {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  background: #111; /* Dark background color */
  color: yellow;       /* White text color */
  padding: 10px 0;
  font-family: sans-serif;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;     /* Keeps it above other content */
}

/* The moving track */
.ticker-track {
  display: flex;
  width: max-content;
  animation: scroll-left 15s linear infinite;
}

/* The text blocks */
.ticker-item {
  padding: 0 2rem;
  font-size: 16px;
  white-space: nowrap;
}

/* The continuous looping animation */
@keyframes scroll-left {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-100%);
  }
}