@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;700&family=Comfortaa:wght@300;400;700&display=swap');

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5vw;
    padding: 2vh;
    flex-wrap: wrap;
}

.embed-box,
.embed-box-small {
  position: relative;
  width: 100%;
  max-width: 1000px;
  overflow: hidden;
  border: 2px dashed #8e8e8e;
  border-radius: 10px;
  margin: 20px 0;
}

.embed-box::before {
  content: '';
  display: block;
  padding-top: 56.25%;
}

.embed-box-small {
  position: relative;
  width: 100%;
  max-width: 950px;
  overflow: hidden;
  border: 2px dashed #8e8e8e;
  border-radius: 10px;
  margin: 20px 0;
  height: 500px !important;
  background: #fafdff;
}
.embed-box-small::before {
  content: '';
  display: none;
}
.embed-box iframe,
.embed-box-small iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
}

.text-box {
    font-size: clamp(1.2rem, 2.5vw, 2.2vw);
    color: #000;
    font-weight: bold;
    margin-top: 18px;
    margin-bottom: 0;
    font-family: 'Fredoka', sans-serif;
}

.subtext {
    font-size: clamp(0.9rem, 1.5vw, 1.1vw);
    margin-bottom: 10px;
    text-align: center;
    color: #222;
    font-family: 'Fredoka', sans-serif;
}

.subtext a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s, background 0.2s, text-decoration 0.2s;
}
.subtext a:hover {
    color: #3f3f3f;
    text-decoration: underline;
}

.bottom-links {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: #f5f5f5;
    font-size: 1.2vw;
    width: 100%;
    box-sizing: border-box;
    min-height: 60px;
}

.bottom-links a {
    width: 100%;
    text-align: center;
    margin: 0;
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.assignments-row {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    background: none !important;
    padding: 10px 0 20px 0;
    border-radius: 0;
}

/*.assignment {
    flex: 1 1 400px;
    width: 90vw;
    height: 40vw;
    max-width: 420px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    margin: 0 4px;
    padding-bottom: 10px;
    position: relative;
}*/

.assignment {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        text-align: center;
    }

    .embed-box {
        width: 60vw;
        height: 60vh;
    }

    .text-box {
        font-size: 4vw;
    }

    .subtext a {
        font-size: 3vw;
    }
}

.topbar { 
    position: fixed;
    top: 15px;
    left: 15px;
    width: calc(100vw - 30px);
    background: rgb(255, 255, 255);
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 10px;
    box-sizing: border-box;
}

.topbar a {
    text-decoration: none;
    color: black;
    margin: 0 15px;
}
.topbar  {
    text-decoration: none;
    color: black;
    margin: 0 3px;
    text-align: center;
    font-size: 110%;
    font-family: 'Fredoka', sans-serif;
}
.title {
    flex-grow: 1;
    display: flex;
    color: black;
    justify-content: center;
    text-align: center;
    font-size: 110%;
    font-family: 'Fredoka', sans-serif;
}
.section1 {
    min-height: 100vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.starter-background {
    background: linear-gradient(to right, #6dc4ff, #ccebff);
}

h1 {
    font-size: 30px;
}
p {
    font-size: 18px;
}
button {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(to right, #30acff, #7bcaff);
    color: white;
    padding: 20px 30px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Comfortaa', sans-serif;
    font-weight: bolder;
    transition: transform 0.2s ease-in-out;
    z-index: 1;
    margin: 16px 16px;
}

button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, #4bb7ff, #8ed2ff);
    transition: transform 0.5s ease-in-out;
    z-index: 0;
}

button:hover::before {
    transform: translateX(50%);
}

button:hover {
    transform: scale(1.05);
}

button span {
    position: relative;
    z-index: 2;
}

.bottom-links {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: #f5f5f5;
    font-size: 1.2vw;
    width: 100%;
    box-sizing: border-box;
    min-height: 60px;
}
.bottom-links a {
    width: 100%;
    text-align: center;
    margin: 0;
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.assignments-row {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 10px 0 20px 0;
    border-radius: 0;
}
.assignment {
    flex: 1 1 400px;
    max-width: 420px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    margin: 0 4px;
    padding-bottom: 10px;
    position: relative;
    background: none !important;
}

@media (max-width: 1200px) {
    .assignments-row {
        flex-direction: column;
        align-items: center;
    }
    .assignment {
        max-width: 98vw;
        min-width: 0;
    }
    .embed-box {
        width: 98vw;
        max-width: 98vw;
        height: 300px;
    }
    .text-box {
        font-size: 4vw;
    }
    .subtext {
        font-size: 2.5vw;
    }
}

@media (max-width: 600px) {
    .embed-box {
        width: 98vw;
        height: 60vw;
        max-width: 98vw;
        max-height: 300px;
    }
}
.neonify {
    color:#972c00

}
.lukecastro {
    color: #9b3047
}
