:root {
  --primary-color: #c6ae99;
  --secondary-color: #f1dec0;
}

/* reset styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

ul[class],
ol[class] {
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

ul[class],
ol[class] {
  list-style: none;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img,
video {
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
}
/* /reset styles */

.container {
  margin: 0 auto;
  width: 80%;
}

.title h1 {
  padding: 20px;
  text-align: center;
  color: var(--primary-color);
  text-shadow: var(--secondary-color) 3px 1px 5px;
}

/* img */
.max-height {
  text-align: center;
}

.max-height img {
  width: auto;
  max-height: 400px;
}
/* /img */

/* Random Kitten styles */
.kitten-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
}

.kitten-image {
  width: 400px;
  height: 400px;
  margin-bottom: 20px;
  object-fit: cover;
}

.kitten-btn-random {
  margin-bottom: 50px;
  background-color: var(--secondary-color);
  border-color: var(--primary-color);
  border-radius: 5px;
  cursor: pointer;
}
/* /Random Kitten styles */

@media only screen and (max-width: 600px) {
  body {
    min-width: 120px;
  }

  .container {
    width: 100%;
  }
}
