html, body {
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background: url("./bluecloud chronicles of you-min.png");
    background-size: cover;
    font-family: 'Montserrat', sans-serif;
    backdrop-filter: blur(5px);

    /* disable scrollbars */
    overflow: hidden;
    position: relative;
}

.main {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 95vh;
}

.content {
    background-color: #00cbff;
    margin: 0 auto;
    width: 40%;
    padding: 20px;
    height: 50%;
    border-radius: 10px;
    box-shadow: 5px 5px 0px 0 rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 20%;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0px 0px 10px 0 rgba(0, 0, 0, 0.3);
}

.social-media {
    margin-top: 25px;
    text-align: center;
}

.social-media a {
    display: inline-block;
    margin: 0 15px;
    color: white;
    text-decoration: none;
    font-size: 2em;
}

.social-media a:hover {
    color: #dcf8ff;
}

.toptext {
    text-align: center;
    color: white;
    font-size: 2em;
    margin-top: 25px;
    margin-bottom: 0px;
    font-weight: 600;
}

.subtext {
    text-align: center;
    color: white;
    font-size: 1.2em;
    margin-bottom: 0px;
    margin-top: 25px;
    font-weight: 500;
    white-space: nowrap;
}

@media only screen and (max-width: 610px) {
    .content {
        width: 80%;
    }
}

@media only screen and (max-width: 610px) {
    .toptext {
        font-size: 1.5em;
    }

    .subtext {
        font-size: 1em;
    }
}

@media only screen and (max-width: 610px) {
    img {
        width: 30%;
    }
}

@media only screen and (max-width: 610px) {
    .social-media a {
        font-size: 1.5em;
        margin: 0 10px;
    }
}

@media only screen and (max-width: 1300px) {
    .content {
        width: 60%;
    }
}

@media only screen and (max-width: 1300px) {
    .toptext {
        font-size: 1.8em;
    }

    .subtext {
        font-size: 1.2em;
    }
}

@media only screen and (max-width: 1300px) {
    img {
        width: 30%;
    }
}

@media only screen and (max-width: 1300px) {
    .social-media a {
        font-size: 1.8em;
        margin: 0 10px;
    }
}

@media only screen and (max-width: 880px) {
    .content {
        width: 80%;
    }
}

/* make it responsive for 500px */
@media only screen and (max-width: 530px) {
    .content {
        width: 90%;
    }
}

@media only screen and (max-width: 530px) {
    .toptext {
        font-size: 1.2em;
    }

    .subtext {
        font-size: 0.8em;
    }
}

@media only screen and (max-width: 530px) {
    img {
        width: 40%;
    }
}

@media only screen and (max-width: 530px) {
    .social-media a {
        font-size: 1em;
        margin: 0 10px;
    }
}

/* subtext is still too big on mobile devices */
@media only screen and (max-width: 400px) {
    .subtext {
        font-size: 0.7em;
    }
}