/* GENERAL */
html,
header,
body,
div,
ul {
    margin: 0px;
    padding: 0px;
}
.center,
button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
li,
a {
    text-decoration: none;
}

.items {
    display: flex;
    width: fit-content;
    left: 0;
    right: 0;
    margin: 0 auto;
}

/* Margin between secondary title */
.items li {
    margin: 20px;
}

.title {
    /* Grid position */
    grid-column: 3/7;
    grid-row: 2/4;

    background: rgba(0, 0, 0, 0.7);
    /* Color features of title */
    font-size: 15px;
    font-family: "Bebas Neue";
    color: white;
    /* set width */
    width: fit-content;
    /* padding */
    padding-left: 40px;
    padding-right: 40px;
    /* borders */
    border-radius: 30px;
}

html {
    background-color: white;
}

#background {
    height: 100vh;
    background-image: url("img/backgroundsky.jpeg");
    background-size: cover;
    display: block;
    justify-content: center;
    align-items: center;
}

/* HEADER */
header {
    z-index: 2;
    height: 60px;
    width: fit-content;
    padding-left: 10px;
    padding-right: 10px;

    /* Keeps header centered on page */
    /* NOTE: Need to read a little more on why this works */
    left: 0;
    right: 0;
    margin: 0 auto;

    /* Content stays no matter where you scroll */
    position: fixed;
    /* Elements are in flex box and aligned in the center vert and horiz */
    display: flex;
    align-items: center;
    /* justify-content: center; */
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    transition: all 1s;
}

header:hover {
    background-color: white;
}

/* Header elements are inline */
header * {
    display: inline;
}
/* Spacing between Header elements */
header li {
    margin: 20px;
}
/* Text styling */
header li a {
    color: #07152c;
    font-family:
        "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
    font-weight: 600;
    /* Make clickable area bigger */
    padding: 21px 20px 20.5px;
    margin: -21px -20px -20.5px;
    transition: all 1s;
}

header li a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

header li a:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* MAIN */

main {
    display: none;
    background-color: white;
    height: 100vh;
}

#background * {
    text-align: center;
}

/* Button */

.grid {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(8, 12.5vw);
    grid-template-rows: repeat(5, 20vh);
    justify-content: center;
}

.grid * {
    justify-self: start;
}

.bigbutton {
    z-index: 1;
    width: 20px;
    height: 20px;
    background-color: red;
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 50%;
    font-size: 20px;
    transition: all 10s cubic-bezier(0.15, 0.9, 0.15, 0.9);
}

.hiddenRing {
    width: 20px;
    height: 20px;
    border: 5px solid red; /* Adjust the border width and color as desired */
    border-radius: 50%;
    box-sizing: border-box;
    transition: all 5s cubic-bezier(0.15, 0.9, 0.15, 0.9);
}
.one,
.two,
.three,
.four,
.five,
.six,
.seven,
.eight {
    grid-row: 1/2;
}

.nine {
    grid-column: 1/2;
    grid-row: 2/3;
}
.ten {
    grid-column: 2/3;
    grid-row: 2/3;
}
.eleven {
    grid-column: 7/8;
    grid-row: 2/3;
}
.twelve {
    grid-column: 8/9;
    grid-row: 2/3;
}
.thirteen {
    grid-column: 1/2;
    grid-row: 3/4;
}
.fourteen {
    grid-column: 2/3;
    grid-row: 3/4;
}
.fifteen {
    grid-column: 7/8;
    grid-row: 3/4;
}
.sixteen {
    grid-column: 8/9;
    grid-row: 3/4;
}
.seventeen,
.eighteen,
.nineteen,
.twenty,
.twenty-one,
.twenty-two,
.twenty-three,
.twenty-four {
    grid-row: 4/5;
}
.one,
.seventeen,
.twenty-five {
    grid-column: 1/2;
}
.two,
.eighteen,
.twenty-six {
    grid-column: 2/3;
}
.three,
.nineteen,
.twenty-seven {
    grid-column: 3/4;
}
.four,
.twenty,
.twenty-eight {
    grid-column: 4/5;
}
.five,
.twenty-one,
.twenty-nine {
    grid-column: 5/6;
}
.six,
.twenty-two,
.thirty {
    grid-column: 6/7;
}
.seven,
.twenty-three,
.thirty-one {
    grid-column: 7/8;
}
.eight,
.twenty-four,
.thirty-two {
    grid-column: 8/9;
}

.twenty-five,
.twenty-six,
.twenty-seven,
.twenty-eight,
.twenty-nine,
.thirty,
.thirty-one,
.thirty-two {
    grid-row: 5/6;
}

.bigbutton:hover + .hiddenRing {
    width: 120px;
    height: 120px;
    border: 5px solid rgb(201, 4, 4);
}

.bigbutton:hover {
    background-color: rgb(201, 4, 4);
}

.bigbutton::before {
    content: "";
    position: absolute;
    top: -5.4vh; /* Increase top position to expand clickable area */
    left: -5.5vw; /* Increase left position to expand clickable area */
    right: -5.5vw; /* Increase right position to expand clickable area */
    bottom: -5.4vh; /* Increase bottom position to expand clickable area */
    border-radius: 50px;
}
