@font-face {
  font-family: "SN Pro";
  src: url("../assets/fonts/SNPro-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "SN Pro";
  src: url("../assets/fonts/SNPro-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

body {
  font-family: "SN Pro", sans-serif;
}

:root {
    --science-blue: #43b2d8;
    --math-green: #93bd7c;
    --compsci-yellow: #f0d261;
    --warm-bg: #f6f0cf;
}

h1 {
	text-align: center;
	font-family: "SN Pro", sans-serif;
	font-size: 3.125em;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "SN Pro", sans-serif;
}

body {
    background-color: var(--warm-bg);
    color: #333;
    display: flex;
}

.sidebar {
    width: 15em;
    height: 100vh;
    background-color: #f7d774;
    padding: 1.875em 1.25em;
    position: fixed;
    left: 0;
    top: 0;
    box-shadow: 0.25em 0 0.625em rgba(0,0,0,0.05);
}

.sidebar h2 {
    margin-bottom: 2.5em;
    font-weight: 700;
    color: #444;
}

.nav-links {
    list-style: none;
}

.nav-links li {
    margin: 1.25em 0;
}

.nav-links a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    padding: 0.625em 0.9375em;
    display: block;
    border-radius: 0.5em;
    transition: 0.3s;
}

.nav-links a:hover {
    background-color: #fff3b0;
    transform: translateX(0.3125em);
}

.main-content {
    width: min(80em, 100%);
    margin: 0 auto;
    padding: 3.75em 2em 6em;
    flex: 1;
}

.hero {
    max-width: 46em;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 1.25em;
}

.hero p {
    font-size: 1.125em;
    margin-top: -2.5em;
    margin-bottom: 2.5em;
    line-height: 1.6;
    color: #555;
}

.hero button {
    align-self: center;
    padding: 0.75em 1.562em;
    background-color: var(--compsci-yellow);
    border: none;
    border-radius: 1.562em;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    margin-right: 0;
}

.hero button:hover {
    filter: brightness(0.95);
    transform: scale(1.05);
}

.features {
    margin-top: 3.75em;
    display: grid;
    grid-template-columns: repeat(3, minmax(14em, 1fr));
    gap: 2em;
    width: min(72em, 100%);
    margin-left: auto;
    margin-right: auto;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-color: white;
    padding: 1.562em;
    border-radius: 0.9375em;
    box-shadow: 0 0.5em 1.25em rgba(0, 0, 0, 0.35);
    border-top: 0.4em solid;
    transition: 0.3s;
    min-height: 10.5em;
}

.features .card:nth-child(1) {
    border-top-color: var(--science-blue);
}

.features .card:nth-child(2) {
    border-top-color: var(--math-green);
}

.features .card:nth-child(3) {
    border-top-color: var(--compsci-yellow);
}

.card:hover {
    transform: translateY(-0.625em);
    cursor: pointer;
}

.card h3 {
    margin-bottom: 1em;
    color: #444;
}

.card p {
    color: #666;
    font-size: 0.875em;
}

@media (max-width: 48em) {
    body {
        flex-direction: column;
    }

    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
    }

    .main-content {
        padding: 1.875em;
    }
    .features {
        grid-template-columns: 1fr;
    }
}

.options {
    text-decoration: none;
    color: inherit;
    display: block;
}

#max {
    position: fixed; 
    bottom: 1em;
    right: 1em;
    transform: scale(0.85);
    transform-origin: bottom right;
    cursor: pointer;
}
.parrotContainer {
    position: relative;
    width: 5em;
    height: 7.5em;
}
.behind, .top {
  position: absolute;
  transition: opacity 0.5s;
}
.hidden {
  opacity:0;
  pointer-events:none;
}
h4 {
    font-size: 0.5em;
}
