@import url('https://fonts.googleapis.com');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
}

html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

body {
    background-color: #000;
    color: #fff;
}

.container {
    width: 100%;
}

section {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    scroll-snap-align: start;
}

h1 {
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

p {
    font-weight: 300;
    color: #888;
    margin-bottom: 2rem;
    line-height: 1.4;
    max-width: 400px;
}

input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    color: #fff;
    padding: 12px;
    width: 100%;
    max-width: 300px;
    font-size: 1rem;
    text-align: center;
    transition: border-color 0.3s ease;
    margin-bottom: 1rem;
}

input:focus {
    outline: none;
    border-color: #fff;
}

button {
    background-color: #fff;
    color: #000;
    border: none;
    padding: 15px 30px;
    margin-top: 10px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #ccc;
}

.secondary-btn {
    background: transparent;
    color: #fff;
    border: 1px solid #333;
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 0.8rem;
}

.grade-list {
    width: 100%;
    max-width: 400px;
    max-height: 40vh;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.grade-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

#final-result {
    font-size: 5rem;
    margin: 20px 0;
}
#step-4 {
    position: relative;
}

.result-content {
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-footer {
    position: absolute;
    bottom: 2rem;
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
}

body {
  overflow: hidden;
}
