/* 4k resolution */

@media screen and (min-width: 2000px) {
    #features #character,
    #features #world,
    #features #community {
        background-size: 100% auto;
        height: 544px;
    }
}


/* Smaller Screen Resolutions */

@media screen and (max-width: 1840px) {
    #features #character,
    #features #world,
    #features #community,
    #features #play-now,
    #features #gallery,
    #features #custom-content {
        background-size: 100% auto;
    }
    #features #character {
        height: 365px;
    }
    #features #gallery {
        height: 472px;
    }
    main section h2 {
        font-size: 27px;
    }
    #features section p {
        font-size: 15px;
    }
    #features #custom-content {
        height: 400px;
    }
    #features #community {
        height: 475px;
    }
    #features #play-now {
        height: 437px;
    }
    #introduction:before,
    #introduction:after {
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position: center bottom;
        width: 616px;
    }
    #overlay img {
        max-height: 70vh;
    }
    #features #character h2 {
        margin-top: 0;
    }
    .divider-thin {
        height: 8px;
    }
    .divider:before {
        background-size: 100% auto;
    }
}

@media screen and (max-width: 1620px) {
    .divider-thin {
        height: 0px;
    }
}

@media screen and (max-width: 1500px) {
    #community .overlay-art {
        right: -30%;
    }
    #features #world {
        background-size: 100% auto;
    }
    #features #gallery {
        height: 472px;
    }
    #features #character,
    #features #world,
    #features #community,
    #features #play-now,
    #features #gallery,
    #features #custom-content {
        background-size: 100% auto;
        height: 404px;
    }
    #features #character {
        height: 305px;
    }
    #features #gallery {
        height: 402px;
    }
    main section h2 {
        font-size: 27px;
    }
    #features section p {
        font-size: 15px;
    }
    #features #custom-content {
        height: 350px;
    }
    #features #community {
        height: 395px;
    }
    #features #play-now {
        height: 387px;
    }
    #introduction:before,
    #introduction:after {
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position: center bottom;
        width: 486px;
    }
    #logo {
        max-width: 500px;
    }
    #features #world .container #video-wrapper {
        width: 40%;
    }
    .overlay-art {
        width: 660px;
    }
    .divider-thin {
        height: 7px;
    }
    .divider-thin:before {
        height: 112px;
    }
}

@media screen and (max-width: 1280px) {
    #overlay img {
        max-width: 80vw;
    }
    #introduction {
        /* min-height: 75vh; */
    }
    #features #character {
        height: 385px;
    }
    video#bgvid {
        min-width: 150%;
    }
    #features #character,
    #features #world,
    #features #community,
    #features #play-now,
    #features #gallery,
    #features #custom-content {
        background-size: auto 100%;
    }
    #features #character h2 {
        padding-top: 0;
    }
    #features section h2 {
        padding-top: 0;
    }
    #features #play-now .play-now-text {
        max-width: 490px;
    }
    .divider-thin {
        height: 3px;
    }
    .divider-thin:before {
        background-size: 100% auto;
        height: 111px;
    }
    .underpage {
        background-size: auto 100%;
    }
}

@media screen and (max-width: 1280px) and (min-width: 1235px) {
    #features #character,
    #features #world,
    #features #community,
    #features #play-now,
    #features #gallery,
    #features #custom-content {
        background-size: 100% auto;
    }
}


/* iPad Laying */

@media screen and (max-width: 1024px) {
    #logo {
        max-width: 250px;
    }
    #features section h2 {
        padding-top: 0;
        font-size: 24px;
    }
    #features #character,
    #features #world,
    #features #community {
        height: 400px;
    }
    #features section p {
        max-width: 500px;
        font-size: 15px;
        padding-top: 15px;
    }
    #ucp-profile {
        position: static;
        transform: none;
        padding-top: 100px;
        padding-bottom: 100px;
        max-width: 100%;
        height: auto;
        float: left;
    }
}


/* iPad Standing */

@media screen and (max-width: 991px) {
    .overlay-content {
        max-width: 80%;
        width: 100%;
    }
    video#bgvid {
        min-width: 250%;
    }
    main .btn+.btn {
        margin-left: 0;
    }
    nav ul li {
        font-size: 16px;
    }
    .overlay-art {
        display: none;
    }
    #features #custom-content .container .empty-wrapper {
        display: none;
    }
    #features #custom-content .container .text-wrapper,
    #features #world .container .text-wrapper,
    #features #world .container #video-wrapper,
    #features #community .container .text-wrapper {
        padding-left: 0;
        width: 100%;
    }
    #features section#community h2 {
        text-align: center;
    }
    #features #play-now .container .empty-wrapper {
        display: none;
    }
    #features #play-now .container .custom-wrapper {
        width: 100%;
    }
    #features #custom-content:before {
        content: "";
        height: 100%;
        width: 100%;
        background-color: black;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0.6;
        pointer-events: none;
    }
    #features #custom-content .text-wrapper {
        position: relative;
        z-index: 8;
    }
    #features #world .container #video-wrapper .inner-wrapper {
        max-width: 400px;
    }
    #features #world .container .text-wrapper {
        display: none;
    }
    #introduction:before,
    #introduction:after {
        width: 346px;
    }
}


/* Mobile and down */

@media screen and (max-width: 767px) {
    #ucp_info {
        padding-left: 30px;
        padding-right: 30px;
    }
    #ucp-actions {
        overflow: visible;
        max-height: 200px;
    }
    .info-area strong {
        min-width: 120px;
    }
    .btn {
        line-height: 23px;
    }
    .gallery-wrapper .gallery {
        grid-template-columns: 1fr;
    }
    #mobile-menu-icon {
        display: block;
    }
    video#bgvid {
        min-width: 400%;
    }
    #features #character,
    #features #world,
    #features #community {
        background-position: initial;
    }
    #features section p {
        max-width: 100%;
    }
    #logo {
        max-width: 240px;
        margin-bottom: 20px;
    }
    #introduction h1 {
        font-size: 20px;
    }
    main .btn+.btn {
        margin-top: -30px;
    }
    .icon-scroll,
    .icon-scroll:before {
        transform: translate(-50%, -50%);
    }
    .overlay-content {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
    }
    #features #character,
    #features #world,
    #features #community {
        height: auto;
        padding-top: 75px;
        padding-bottom: 75px;
    }
    #features #world .container .text-wrapper,
    #features #world .container #video-wrapper,
    #features #community .container .text-wrapper {
        width: 100%;
    }
    #features section h2 {
        padding-top: 20px;
    }
    #features #world .container .text-wrapper,
    #features #world .container #video-wrapper {
        padding: 0;
    }
    .container {
        max-width: 1199px;
        padding-left: 30px;
        padding-right: 30px;
        margin: auto;
        height: auto;
        width: 100%;
        float: left;
    }
    #features #character h2 {
        margin-top: 0;
        margin-bottom: 10px;
    }
    #features section h2 {
        font-size: 21px;
    }
    #features #character,
    #features #world,
    #features #community {
        background-size: cover;
    }
    #features #character h2,
    .text-wrapper {
        text-align: left;
    }
    #features #play-now .play-now-text {
        margin-top: 20px;
    }
    .divider-thin {
        height: 3px;
    }
    .divider-thin:before {
        height: 113px;
        background-size: 1600px auto;
    }
    #features #gallery .container .gallery-wrapper {
        padding-top: 60px;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        padding-bottom: 60px;
    }
    #features #character h2,
    .text-wrapper {
        text-align: center;
    }
    #features #custom-content {
        padding-top: 45px;
    }
    #introduction:before,
    #introduction:after {
        width: 146px;
    }
    #features section#community h2 {
        padding-top: 0;
    }
    #overlay img {
        max-height: 70vh;
        max-width: calc(100vw - 100px);
    }
    #features #play-now h3 {
        font-size: 22px;
    }
    #features #custom-content {
        height: 450px;
    }
    #features #play-now .container .custom-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
    footer {
        padding-top: 30px;
    }
    #features #play-now .play-now-text {
        max-width: 100%;
    }
    footer {
        padding-left: 15px;
        padding-right: 15px;
        background-size: auto 100%;
    }
    #features #custom-content .container .empty-wrapper,
    #features #custom-content .container .text-wrapper {
        padding-right: 0;
    }
    #features #gallery {
        height: auto;
        margin-bottom: -3px;
    }
    img.gallery-image {
        max-width: 100%;
    }
    footer iframe {
        max-width: 100%;
    }
    .btn {
        min-width: 205px;
        font-size: 16px;
        padding: 19px 0px 45px;
    }
    /* Navigation */
    nav#primary ul li:not(:first-of-type),
    #account-menu ul {
        display: none
    }
    #account-menu {
        padding-right: 30px;
        padding-top: 20px;
    }
    nav#primary {
        padding-top: 15px;
        background-image: none;
    }
    #account-menu {
        background-image: none;
    }
}


/* Small Mobile */

@media screen and (max-width: 540px) {
    video#bgvid {
        min-width: 670%;
    }
}

@media (min-width: 1600px) {
    .divider:before {
        background-size: 100%;
    }
}