/* beachTriviaPages/1-GetStarted/style.css */

* {
    color: white;
    font-family: sans-serif;
    text-decoration: none;
    list-style-type: none;
    max-width: 100%;
}

*, html, body {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    text-decoration: none;
}

body {
    position: relative;
    box-sizing: border-box;
    background-image: url('../images/BGimage2.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    max-width: 100%;
}

body::-webkit-scrollbar {
    display: none;
}

/********** MAIN BODY **********/

main {
    display: flex;
    margin-top: 80px;
    padding-top: 70px;
    padding-bottom: 100px;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: calc(100% - 115px);
    height: auto;
    margin-bottom: 100px;
}

.service {
    position: relative;
    top: 30px;
    width: 60%;
    max-width: 700px;
    height: auto;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    will-change: transform, opacity;
    z-index: 1;
}

.fade-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    z-index: 10;
    pointer-events: none;
    background-color: transparent;
}

.service-content {
    position: relative;
    z-index: 5;
}

.service h2 {
    font-weight: 400;
    color: black;
    text-decoration: underline;
    margin-bottom: 20px;
}

.service h5 {
    color: rgb(0, 0, 0);
    font-weight: 100;
    font-size: medium;
    line-height: 1.5;
}

@media screen and (max-width: 1000px) {
    main {
        box-sizing: border-box;
        display: block;
        margin-top: 80px;
        padding-top: 20px;
        padding-bottom: 100px;
        height: auto;
        width: 100vw;
        margin-bottom: 100px;
    }

    .service {
        width: 85%;
        max-width: none;
        margin: 20px auto 40px;
    }
}