
/* base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

a {
    color: black;
}
a:visited {
    color: black;
}
a:hover {
    color: #77cc8b;
}

body {
    background-color: rgb(239, 234, 234);
    font-family: sans-serif;
}

/* off-screen-menu */
.off-screen-menu {
    background-color: rgb(239, 234, 234);
    height: 100vh;
    width: 100%;
    max-width: 250px;
    position: fixed;
    top: 0;
    right: -450px;
    display: flex;
    flex-direction: column;
    align-items: center;    
    justify-content: center;
    text-align: center;
    font-size: 3rem;
    transition: .3s ease;
}
.off-screen-menu.active {
    right: 0;
}

/* nav */
nav {
    padding: 1rem;
    display: flex;
    background-color: rgb(239, 234, 234);
}

/* ham menu */
.ham-menu {
    height: 50px;
    width: 40px;
    margin-left: auto;
    position: relative;
}
.ham-menu span {
    height: 5px;
    width: 100%;
    background-color: black;
    border-radius: 25px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .3s ease;
}
.ham-menu span:nth-child(1) {
    top: 25%;
}
.ham-menu span:nth-child(3) {
    top: 75%;
}
.ham-menu.active span {
    background-color: black;
}
.ham-menu.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
.ham-menu.active span:nth-child(2) {
    opacity: 0;
}
.ham-menu.active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.header {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
}

.img {
    display: block;
    margin: auto;
    cursor: pointer;
    padding-left: 170px;
}
.img:hover {
    content: url('img/headshot-talking2.png');  /* Changes image on hover */
}

.hide-objects {
    visibility: hidden;
    top: 0;
    transform: translate(-50%, -50%) scale(0.1);
}

#board {
    width: 850px;
    height: 400px;
    background: url('img/track_b.png') repeat-x;
    background-position: 0 0;;
    /*border-bottom: 1px solid black;*/
    /*border-image: url('img/track.png') 28 round;*/
}

canvas {
    padding: 0;
    margin-top:0px;
    margin: auto;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.contact-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-top: -60px;
}

.contact-left {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
}

.contact-left-title h2 {
    font-weight: 600;
    color: black;
    font-size: 40px;
    margin-bottom: 5px;
}

.contact-left-title hr {
    border: none;
    width: 120px;
    height: 5px;
    background-color: black;
    border-radius: 10px;
    margin-bottom: 20px;
}

.contact-inputs {
    width: 400px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    border-radius: 20px;
}

.contact-left textarea {
    height: 140px;
    padding-top: 15px;
    border-radius: 20px;
}

.contact-inputs:focus {
    border: 2px solid #77cc8b;
}

.contact-left button {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    font-size: 16px;
    color: #fff;
    gap: 10px;
    border: none;
    border-radius: 50px;
    background-color: rgb(0, 153, 106);
    cursor: pointer;
}

.contact-left button:hover {
    background-color: #77cc8b;
}