html {
  box-sizing: border-box;
}

:root {
  --white: #fcfcff;
  --amber: #ffbf00;
  --raspberry: #db1a50;
  --black: #231f20;
  --turquoise: #41e1be;
  --ucla-blue: #2274a5;
}

body {
  color: var(--white);
  background-color: var(--black);
  margin-left: 20px;
  margin-right: 20px;
}

h1 {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 57px;
  font-style: normal;
  line-height: 100%;
  letter-spacing: 4px;
  text-align: left;
}

h2 {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  line-height: 100%;
  font-size: 26px;
  letter-spacing: 3px;
  text-align: left;
}

h3 {
  font-family: "Dosis", sans-serif;
  font-weight: 700;
  line-height: 150%;
  font-size: 26px;
  letter-spacing: 2px;
  text-align: left;
}

p {
  font-family: "Dosis", sans-serif;
  font-weight: 600;
  line-height: 100%;
  font-size: 20px;
  letter-spacing: 0.5px;
}

a {
  color: var(--amber);
}
.wrapper {
  display: grid;
  place-items: center;
}

/* change height width for article imgs */
.slider {
  display: flex;
  width: 100%;
  max-width: 800px;
  height: 350px;
  position: relative;
  overflow: hidden; /* <===  */
  border-radius: 15px;
}

.slide {
  width: 100%;
  max-width: 800px;
  height: 350px;
  position: absolute;
  transition: all 0.5s;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn {
  position: absolute;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: none;
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
  background-color: #fff;
  font-size: 18px;
}

.btn:active {
  transform: scale(1.1);
}
.btn-prev {
  top: 45%;
  left: 2%;
}

.btn-next {
  top: 45%;
  right: 2%;
}

a:hover {
  font-size: xx-large;
  color: var(--amber);
}
h1 {
  display: flex;
  padding: 35px;
}

.h2 {
  color: var(--amber);
}

/* media query */

/* styles for devices larger than 600px */
@media screen and (min-width: 600px) {
}

/* styles for devices larger than 1080px */
@media screen and (min-width: 1080px) {
}

/* change width size to fit larger screen */
