* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --panthanon-color: #4d4545;
    --batman-color: linear-gradient(to top, black, #041732);
}

body, html {
    width: 100%;
    height: 100%;
}

.title {
    position: absolute;
    top: 7%;
    right: 5%;
    font-family: lato;
    margin: 10px;
    color: rgb(12, 31, 71);
    font-size: 10vw;
    font-weight: bolder;
    text-shadow: 2px 2px 1px rgba(0, 0, 0, 1);
}
.heading-img {
    position: relative;
    height: 70vh;
    width: 100%;
    background-image: url(heading.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border: 2px solid black;
    border-bottom: none;
}
#discord-btn {
    position: absolute;
    left: 0;
    margin: 5px;
    background-image: url(discord.png);
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    background-color: transparent;

    aspect-ratio: 4 / 1;
    width: 150px;
    color: black;
    text-align: left;
    padding: 2px;
    font-weight: bolder;
    font-size: 0.8em;
}

#discord-btn:hover{
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5);
}

#main-body {
    margin-top: -1px; /* remove subpixel render issue */
    background-color: rgb(12, 31, 71);
    border: 2px solid black;
    border-top: none;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.divider {
    display: block;          
    width: 80%;             
    height: 6px;  /* total height */            
    margin: 10px auto;          
    position: relative;     
}

.divider::before,
.divider::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;  /* thickness of each line */
}

.divider::before {
    top: 0;
    background-color: #2c525f;  /* top line color */
}

.divider::after {
    bottom: 0;
    background-color: #426f80;  /* bottom line color */
}
#welcome, #discord, #meetings, #contact {
    border: 1px solid #4a90a8;
    border-radius: 20px;
    box-shadow: 3px 3px 1px 5px rgba(1, 24, 55, 0.5);
    background-color: #1e2f4b;
    color: #f2f2f2;
    width: 90%;
    padding: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-family: lato;
    font-size: 20px;
}
#welcome {
    margin-top: 15px;
}
.heading{
    font-weight: bolder;
    text-align: center;
}
.center {
    text-align: center;
}

.meeting-imgs {
    display: flex;
    justify-content: center;
}

img {
    margin: 5px;
    width: 100px;
    height: 100px;
    border: 3px solid black;
}
a {
    color: inherit;  
}
#contact {
    margin-bottom: 15px;
}

@media screen and (min-width: 800px) {
    #welcome, #discord, #meetings, #contact {
        max-width: 60%;
    }
    .page-container {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        background: radial-gradient(ellipse at center, #111 30%, #302f2f 80%) fixed,
                linear-gradient(to left, rgba(0,0,0,0.7), transparent 30%),
                linear-gradient(to right, rgba(0,0,0,0.7), transparent 30%);
         background-color: #000;
    }
    #main-body, .heading-img {
        width: 60%;
        border: 5px solid rgb(7, 7, 46);
    }

    .heading-img {
        margin-top: 30px;
        border-bottom: none;
    }
    #main-body {
        margin-bottom: 30px;
        border-top: none;
    }
    .title {
        font-size: 5vw;
    }
}

@media screen and (min-width: 1100px){
    #main-body, .heading-img {
        width: 50%;
    }
}

