/* import fonts */
@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Playwrite+NZ+Basic:wght@100..400&display=swap');


/* general, applies to all text in the body/on the page under styled */
.newstyle {
    font-size: 20px;
    font-family: "Playwrite NZ Basic", cursive;
    font-style: normal;
    text-align: center;
    color: black;
    background-color: #faedeb;
}

/* only applies to h1*/
.h1s,.h2s {
    font-size: 40px;
    font-family: "Bree Serif", serif;
    font-weight: 400;
    font-style: normal;
    padding: 20px;
    background-color: #e0a79f;
    border: 10px groove #d17c71;
}

/* only applies to h2 */
.h2s {
    font-size: 25px;
    font-family: Cambria, "Times New Roman", serif;
    font-style: normal;
    padding: 8px;
}


/* only applies to unordered lists */
.uls { 
	padding-left: 0;
	margin-left: 100px;
  list-style-position: inside;
	list-style-type: circle;
	text-align: left;
}

/* only applies to paragraph text */
.ps {
    text-align: left;
    margin-left: 100px;
}

/*transition, changes color on hover*/
#transition-box {
    padding: 15px;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    background: white;
    transition: background 1.5s ease-in;
}
#transition-box:hover {
    background: #eb412a;
}

/* transformation, rotate and change shape on hover*/
#translation-box {
    padding: 15px;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    background: #b5eaeb;
    transition: width 1s, height 1s, transform 1s;
}
#translation-box:hover {
    width: 65vw;
    transform: rotate(360deg) skewX(-20deg);
}

/* animation, changes color and shape */
#anim-box {
    padding: 50px;
    width: 400px;
    height: 170px;
    position: relative;
    background: black;
    animation-name: red-car-move;
    animation-duration: 3s;
    animation-direction: alternate-reverse;
    animation-iteration-count: infinite;
  
}

/* animation keyframs */
@keyframes red-car-move {
  0% {
    transform: translateX(0); /* Start position */
  }
  100% {
    transform: translateX(500px); /* End position */
  }
}


/* button styling */
.button {
    background: white;
    color:black;
    font-size: 20px;
    font-weight: 500;
    padding: 10px;
    text-decoration: none;
}
.button:hover {
    background: #b5eaeb;
}

/* center navigation buttons */
.nav {
    text-align: center;
    margin: 0 auto;
}


/* unvisited link black */
a:link {
    color: black;
    font-style: italic;
}

/* visited link redlish orange */
a:visited {
    color: #961605;
}

/* link hover color seagreen */
a:hover {
    color: #05968d;
}
