@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&family=Poppins:wght@300;400&display=swap');

body {
    margin: 0;
}

html {
    overflow: scroll;
    overflow-x: hidden;
}
::-webkit-scrollbar {
    width: 0;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}
/* Optional: show position indicator in red */
::-webkit-scrollbar-thumb {
    background: #FF0000;
}

header {
    background-image: linear-gradient(-45deg, #fa709a 0%, #fee140 100%);
    height: 100vh;
    width: 100vw;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#scrollIndicator {
    position: absolute;
    top: 0px;
    left: 10px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    color: white;
}

header h1 {
    color: white;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    font-size: 35px;
}

header h3 {
    font-family: 'Dancing Script', cursive;
    color: white;
    font-size: 30px;
    margin: 0;
}

header #HeaderText {
    text-align: center;
    transform: translateY(-50px);
}

#headerGradient {
    position: absolute;
    bottom: 0;
    width: 100vw;
    margin: 0;
    background-image: linear-gradient(rgba(250, 250, 250, 0), #fff);
    height: 300px;
    text-align: center;
}

#headerGradient p {
    font-family: 'Poppins', sans-serif;
    transform: translateY(200px);
    font-weight: 300;
}

.define {
    font-weight: bold;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 0.2em;
    cursor: help;
    position: relative;
}

.defineDef {
    position: absolute;
    left: 50%;
    top: -30px;
    transform: translateX(-50%);
    background-color: black;
    color: white;
    padding: 3px 6px 3px 6px;
    font-weight: 300;
    font-size: 13px;
    visibility: hidden;
    max-height: 20px;
    width: fit-content;
    white-space: nowrap;
}

.active {
    visibility: visible;
}

.defineDef:after {
    content:'';
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 0;
    height: 0;
    border-top: 5px solid black;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}

section {
    position: relative;
    height: fit-content;
    width: 100vw;
}

section h2 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Poppins', sans-serif;
}

section img {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    width: 500px;
    height: auto;
}

section .content {
    position: absolute;
    top: 50%;
    left: 600px;
    transform: translateY(-50%);
    width: calc(100vw - 700px);
    height: auto;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
}

section .content table,th,td {
    border: 1px solid;
}

section .content table {
    border-collapse: collapse;
}

.content table td {
    padding: 10px;
    
}


#punnetSquare, #punnetSquare th, #punnetSquare td {
    border: none
}

#punnetSquare {
    border: 1px solid;
}

.punnet {
    border: 1px solid;
}

.apertColor {
    background-color: #ff7575;
}

.noApertColor {
    background-color: lawngreen;
}

footer {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}
