@font-face {
    font-family: 'Tan-Pearl';
    src: url(fonts/fonnts.com-tan-pearl.otf);
    font-weight: bold;
    font-style: normal;
}

html {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("Backgrounds/galaxy_drawn2.jpg");
    background-color: rgb(18, 18, 42);
    background-repeat: no-repeat;
    background-size: cover;
    color: rgb(250, 249, 220);
    overflow-x: hidden;
    font-family: 'Montserrat';
    margin: 0;
    padding: 0;
    background-attachment: fixed;
}

div.menu_container {
    background-color: #0E1725;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
}

div.link_container {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 0 16px;
    box-sizing: border-box;
}

div.link_container a::after {
    content: "|";
    margin-left: 12px;
}

div.link_container a:last-child::after {
    content: "";
}

div.link_container a {
    color: rgb(250, 249, 220);
    text-decoration: none;
    font-size: 13px;
}

header {
    margin: 0 auto;
    text-align: center;
    padding: 0 16px;
}

header h1 {
    transition: transform 0.6s ease;
    font-size: 26px;
    margin-top: 20px;
    font-family: 'Tan-Pearl', 'Montserrat', sans-serif;
}

header h1:hover {
    transform: scale(1.1);
}

.questions {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding-bottom: 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
}

.questions > div {
    position: relative;
    height: 160px;
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgb(250, 249, 220);
    background: linear-gradient(135deg, #05040d, #0a0929);
    border-radius: 50%;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(255, 255, 255, 0.2),
        inset 0 -5px 20px rgba(0, 0, 0, 0.1),
        inset 0 5px 20px rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    animation: float1 3s ease-in-out infinite;
}

.questions > div::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 15%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent);
    border-radius: 50%;
    filter: blur(8px);
}

.questions > div p {
    margin: 0;
    padding: 16px;
    position: relative;
    z-index: 1;
}

.questions > div:hover {
    transform: scale(1.08);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(255, 255, 255, 0.4),
        inset 0 -5px 20px rgba(0, 0, 0, 0.1),
        inset 0 5px 20px rgba(255, 255, 255, 0.6);
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

section.arrow {

    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.3s ease;


    div {

        margin: 0 auto;
        width: 0;
        height: 0;
        border-left: 20px solid transparent;
        border-right: 20px solid transparent;
        border-top: 30px solid #0E1725;

    }

}

section.further_questions {
    margin-top: 40px;
    padding: 0 16px;
    box-sizing: border-box;
}

section.further_questions h2 {
    text-align: center;
    margin: 0 auto 16px;
    font-size: 20px;
}

section.further_questions h3 {

    text-decoration: underline;

}

section.further_questions div {
    margin: 0 auto;
    width: 100%;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    
}

section.further_questions div ul {
    list-style-position: inside;
    text-align: center;
    padding-left: 0;
    width: 100%;
    margin: 0 auto;
}

section.further_questions div p {
    width: 100%;
    margin: 0 auto;
}

section.further_questions div p a {
    color: white;
}

/* Smaller tablets */
@media screen and (min-width: 480px) {
    .questions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 32px 24px;
    }

    .questions > div {
        height: 180px;
        width: 180px;
        font-size: 20px;
    }

    section.further_questions div {
        width: 90%;
    }

    section.further_questions div ul {
        width: 80%;
    }
}

/* Smaller laptop sizes */
@media screen and (min-width: 720px) {
    header h1 {
        font-size: 34px;
        margin-top: 26px;
    }

    .questions {
        padding: 40px 32px;
        gap: 32px;
    }

    .questions > div {
        height: 200px;
        width: 200px;
        font-size: 24px;
    }

    section.further_questions div {
        width: 80%;
    }

    section.further_questions div ul {
        width: 70%;
    }

    section.further_questions div p {
        width: 80%;
    }
}

/* Budget laptops or older models */
@media screen and (min-width: 1366px) {
    div.menu_container {
        width: 1500px;
        height: 35px;
        margin-top: -10px;
        margin-left: -10px;
        font-size: 20px;
    }

    div.link_container {
        width: 600px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    div.link_container a::after {
        content: "|";
        margin-left: 20px;
    }

    div.link_container a:last-child::after {
        content: "";
    }

    div.link_container a {
        color: rgb(250, 249, 220);
        text-decoration: none;
        margin-top: 8px;
        font-size: 16px;
    }

    header {
        margin: 0 auto;
        text-align: center;
        top: 30px;
    }

    header h1 {
        transition: transform 0.6s ease;
        font-size: 40px;
        margin-top: 30px;
    }

    header h1:hover {
        transform: scale(1.1);
    }

    .questions {
        position: relative;
        width: 100%;
        height: calc(100vh - 150px);
        display: block;
        padding: 0;
    }

    .questions > div {
        position: absolute;
        height: 225px;
        width: 225px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: rgb(250, 249, 220);
        background: linear-gradient(135deg, #05040d, #0a0929);
        border-radius: 50%;
        box-shadow:
            0 10px 30px rgba(0, 0, 0, 0.3),
            0 0 40px rgba(255, 255, 255, 0.2),
            inset 0 -5px 20px rgba(0, 0, 0, 0.1),
            inset 0 5px 20px rgba(255, 255, 255, 0.5);
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 30px;
        animation: none;
    }

    .questions > div:nth-child(1) {
        top: 15%;
        left: 10%;
        animation: float1 3s ease-in-out infinite;
    }

    .questions > div:nth-child(2) {
        top: 60%;
        left: 75%;
        animation: float2 3.5s ease-in-out infinite;
    }

    .questions > div:nth-child(3) {
        top: 30%;
        left: 50%;
        animation: float3 4s ease-in-out infinite;
    }

    .questions > div:nth-child(4) {
        top: 60%;
        left: 20%;
        animation: float4 3.2s ease-in-out infinite;
    }

    .questions > div:nth-child(5) {
        top: 20%;
        left: 80%;
        animation: float5 3.8s ease-in-out infinite;
    }

    @keyframes float1 {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-15px); }
    }

    @keyframes float2 {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-20px); }
    }

    @keyframes float3 {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-12px); }
    }

    @keyframes float4 {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-18px); }
    }

    @keyframes float5 {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-14px); }
    }

    .questions > div:hover {
        transform: scale(1.1) translateY(-10px);
        box-shadow:
            0 15px 40px rgba(0, 0, 0, 0.4),
            0 0 60px rgba(255, 255, 255, 0.4),
            inset 0 -5px 20px rgba(0, 0, 0, 0.1),
            inset 0 5px 20px rgba(255, 255, 255, 0.6);
    }

    .questions > div::before {
        content: '';
        position: absolute;
        top: 10%;
        left: 15%;
        width: 40%;
        height: 40%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent);
        border-radius: 50%;
        filter: blur(10px);
    }

    .questions > div p {
        margin: 0;
        padding: 20px;
        position: relative;
        z-index: 1;
    }

    section.further_questions {
        margin-top: 50px;
    }

    section.further_questions h2 {
        text-align: center;
        margin: 0 auto;
    }

    section.further_questions div {
        margin: 0 auto;
        width: 1400px;
        text-align: center;
        padding: 0;
    }

    section.further_questions div ul {
        list-style-position: inside;
        text-align: center;
        padding-left: 0;
        width: 900px;
        margin: 0 auto;
    }

    section.further_questions div p {
        width: 900px;
        margin: 0 auto;
    }

    section.further_questions div p a {
        color: white;
    }
}

/* Higher end laptops and PCs */
@media screen and (min-width: 1920px) {
    header h1 {
        font-size: 52px;
    }

    .questions > div {
        height: 270px;
        width: 270px;
        font-size: 34px;
    }

    section.further_questions div {
        width: 1100px;
    }

    section.further_questions div ul {
        width: 900px;
    }

    section.further_questions div p {
        width: 900px;
        font-size: 18px;
    }
}