* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "Dot16";
    src: url(../font/DotGothic16-Regular.ttf) format("truetype");
}

html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-size: 3.5vh;
    font-family: "Dot16";
}

@media (min-width:1200px) {

body {
    height: 100%;
    background-image: url(../img/bg_07.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    margin: 0;
    user-select: none;
}

a {
    text-decoration: none;
}

div.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

div.title {
    flex: 4;
    height: 40%;
    justify-items: center;
    align-content: center;
}

img.title {
    width: 50%;
    display: block;
}

#splash {
    position: fixed;
    display: flex;
    z-index: 101;
    font-size: 5vh;
    color: yellow;
    text-shadow: 0.2rem 0.2rem #404000;
    transform: rotate(-13deg);
    display: inline-block;
    animation: pulse 0.5s infinite;
    margin-bottom: 30px;
    top: 23vh;
    left: 65vw;
    font-weight: bold;
}

@keyframes pulse {
    0% { transform: scale(1) rotate(-13deg); }
    50% { transform: scale(1.1) rotate(-13deg); }
    100% { transform: scale(1) rotate(-13deg); }
}

div.main {
    flex: 6;
    display: flex;
}

div.box {
    flex: 1;
}

div.left {
    display: flex;
    flex-direction: column;
}

.left-top {
    flex: 7;
    width: 85%;
    margin-left: 15%;
    display: flex;
    flex-direction: column;
}

.left-top-top {
    flex: 6;
    align-content: center;

}

div.pop {
    width: 85%;
    height: 50%;
    text-align: center;
    align-content: center;
    display: inline-block;
    padding: 1%;
    border: 0.6vh solid #3f0602;
    background-color: #de0000;
    text-align: left;
    font-size: 2.5vh;
    font-weight: 40vw;
    line-height: 1.5em;
    color: white;
}

.left-top-bottom {
    flex: 4;
    align-content: center;
}

a.event {
    height: auto;
    padding: 2.5% 5% 2.5% 5%;
}

.left-bottom {
    flex: 3;
    display: flex;
}

.left-bottom-left {
    flex: 3;
    display: flex;
    justify-content: flex-end;
}

.left-bottom-right {
  flex: 7;
}

a.sub-link {
    height: 5vh;
    text-align: center;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: #c6c6c6;
    border-top: #f7f7f7;
    border-left: #f7f7f7;
    border-right: #656456;
    border-bottom: #656456;
    border-width: 0.15em;
    border-style:solid ;
    outline: 0.15em solid black;
    color: #4c4c4c;
}

a.sub-link:hover {
    background-color: #218306;
    border-top: #17cd07;
    border-left: #17cd07;
    border-right: #004e00;
    border-bottom: #004e00;
    border-width: 0.15em;
    border-style:solid ;
    outline: 0.15em solid white;
    color: white;
}

a.news {
    display: flex;
    width: 50%;
    height: 50%;
    right: 0;
    justify-content: center;
    justify-items: center;
    align-content: center;
    align-items: center;
}

img.bell {
    width: 1lh;
    height: 1lh;
    margin: auto;
    margin-top: 10%;
}

a.profile {
    display: flex;
    width: 70%;
    height: 50%;
    justify-content: center;
    justify-items: center;
    align-items: center;
    align-content: center;
    margin-left: 10%;
}

a.main-link {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 18%;
    cursor: pointer;
    background-color: #c6c6c6;
    border-top: #f7f7f7;
    border-left: #f7f7f7;
    border-right: #656456;
    border-bottom: #656456;
    border-width: 0.15em;
    border-style:solid ;
    outline: 0.15em solid black;
    color: #4c4c4c;
    margin: 0% 0% 3% 0%;
}

a.main-link:hover {
    background-color: #218306;
    border-top: #17cd07;
    border-left: #17cd07;
    border-right: #004e00;
    border-bottom: #004e00;
    border-width: 0.15em;
    border-style:solid ;
    outline: 0.15em solid white;
    color: white;
}

a.main-link:nth-child(3) {
    background-color: #7245e5;
    border-top: #a164f2;
    border-left: #a164f2;
    border-right: #4a1cac;
    border-bottom: #4a1cac;
    border-width: 0.15em;
    border-style:solid ;
    outline: 0.15em solid black;
    color: white;
}

a.rule:nth-child(3):hover {
    background-color: #5d2cc6;
    border-top: #ad69ee;
    border-left: #ad69ee;
    border-right: #270e6b;
    border-bottom: #270e6b;
    border-width: 0.15em;
    border-style:solid ;
    outline: 0.15em solid white;
}

.right {
    display: flex;
    flex-direction: column;
}

.right-top {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

a.gametag {
    width: 40%;
    font-size: 75%;
    text-align: center;
    align-items: center;
    align-content: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
}

.right-center {
    flex: 6;
    display: flex;
    align-items: center;
    justify-content: center;
}

model-viewer {
    display: flex;
    width: 40%; height: 100%;
}

.right-bottom {
    flex: 3;
    display: flex;
    justify-content: center;
}

a.skin {
    width: 40%;
    height: 50%;
    padding: auto;
    align-content: center;
}

span.other {
    position: fixed;
    display: flex;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    bottom: 0;
    padding-left: 0.5%;
    padding-right: 0.5%;
}

span.version {
    right: 0;
}

span.copyright {
    left: 0;
}

}

@media (max-width: 1200px) {

    body {
        height: 100dvh;
        background-image: url(../img/bg_04.png);
        background-repeat: no-repeat;
        background-position: center center;
        background-attachment: fixed;
        background-size: cover;
        margin: 0;
        padding: 0;
        user-select: none;
    }

    a {
        text-decoration: none;
    }

    div.container {
        display: flex;
        flex-direction: column;
        height: 100dvh;
    }

    div.title {
        height: 20%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    img.title {
        width: 80%;
        display: block;
    }

    #splash {
        position: fixed;
        display: flex;
        z-index: 101;
        font-size: 2.5vh;
        color: yellow;
        text-shadow: 0.1rem 0.1rem #404000;
        transform: rotate(-13deg);
        display: inline-block;
        animation: pulse 0.5s infinite;
        margin-bottom: 30px;
        top: 14vh;
        left: 63vw;
        font-weight: bold;
    }

    @keyframes pulse {
        0% { transform: scale(1) rotate(-13deg); }
        50% { transform: scale(1.1) rotate(-13deg); }
        100% { transform: scale(1) rotate(-13deg); }
    }

    div.box {
        flex: 1;
    }

    .center {
        position: fixed;
        height: 35%;
        justify-content: center;
        justify-items: center;
        align-items: center;
        align-content: center;
        width: 100%;
        left: 0;
        display: flex;
        flex-direction: column;
        order: 2;
    }
    
    a.main-link {
        display: flex;
        text-align: center;
        justify-content: center;
        align-items: center;
        height: 18%;
        width: 80%;
        cursor: pointer;
        background-color: #c6c6c6;
        border-top: #f7f7f7;
        border-left: #f7f7f7;
        border-right: #656456;
        border-bottom: #656456;
        border-width: 0.15em;
        border-style:solid ;
        outline: 0.15em solid black;
        color: #4c4c4c;
        margin: 0% 0% 3% 0%;
    }
    
    a.main-link:hover {
        background-color: #218306;
        border-top: #17cd07;
        border-left: #17cd07;
        border-right: #004e00;
        border-bottom: #004e00;
        border-width: 0.15em;
        border-style:solid ;
        outline: 0.15em solid white;
        color: white;
    }
    
    a.main-link:nth-child(3) {
        background-color: #7245e5;
        border-top: #a164f2;
        border-left: #a164f2;
        border-right: #4a1cac;
        border-bottom: #4a1cac;
        border-width: 0.15em;
        border-style:solid ;
        outline: 0.15em solid black;
        color: white;
    }
    
    a.rule:nth-child(3):hover {
        background-color: #5d2cc6;
        border-top: #ad69ee;
        border-left: #ad69ee;
        border-right: #270e6b;
        border-bottom: #270e6b;
        border-width: 0.15em;
        border-style:solid ;
        outline: 0.15em solid white;
    }

    div.left {
        position: fixed;
        height: 45%;
        justify-content: center;
        width: 50%;
        left: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        order: 2;
    }

    .left-top {
        flex: 7;
        width: 85%;
        margin-left: 15%;
        display: flex;
        flex-direction: column;
    }

    .left-top-top {
        flex: 6;
        align-content: center;
    }

    div.pop {
        width: 90%;
        height: 100%;
        text-align: center;
        align-content: center;
        display: inline-block;
        padding: 1%;
        border: 0.6vh solid #3f0602;
        background-color: #de0000;
        text-align: left;
        font-size: 2.5vh;
        font-weight: 40vw;
        line-height: 1.5em;
        color: white;
    }

    .left-top-bottom {
        flex: 4;
        align-content: center;
    }

    a.event {
        height: auto;
        padding: 2.5% 5% 2.5% 5%;
    }

    .left-bottom {
        flex: 3;
        display: flex;
    }

    .left-bottom-left {
        flex: 3;
        display: flex;
        justify-content: flex-start;
    }

    .left-bottom-right {
        flex: 7;
    }

    a.sub-link {
        height: 5vh;
        text-align: center;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        background-color: #c6c6c6;
        border-top: #f7f7f7;
        border-left: #f7f7f7;
        border-right: #656456;
        border-bottom: #656456;
        border-width: 0.15em;
        border-style:solid ;
        outline: 0.15em solid black;
        color: #4c4c4c;
    }

    a.sub-link:hover {
        background-color: #218306;
        border-top: #17cd07;
        border-left: #17cd07;
        border-right: #004e00;
        border-bottom: #004e00;
        border-width: 0.15em;
        border-style:solid ;
        outline: 0.15em solid white;
        color: white;
    }

    a.news {
        display: flex;
        width: 100%;
        height: 50%;
        padding: 0 3% 0 3%;
        margin-left: 50%;
        justify-content: center;
        justify-items: center;
        align-content: center;
        align-items: center;
    }

    img.bell {
        width: 1lh;
        height: 1lh;
        margin: auto;
        margin-top: 10%;
    }

    a.profile {
        display: flex;
        width: 100%;
        height: 50%;
        justify-content: center;
        justify-items: center;
        align-items: center;
        align-content: center;
        margin-left: 20%;
        font-size: 80%;
    }

    .right {
        position: fixed;
        height: 45%;
        justify-content: center;
        width: 50%;
        right: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        order: 3;
    }

    .right-top {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    a.gametag {
        width: 70%;
        font-size: 75%;
        text-align: center;
        align-items: center;
        align-content: center;
        color: white;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .right-center {
        flex: 6;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    model-viewer {
        display: flex;
        width: 80%;
        height: 100%;
    }

    .right-bottom {
        flex: 3;
        display: flex;
        justify-content: center;
    }

    a.skin {
        width: 50%;
        height: 50%;
        padding: auto;
        align-content: center;
    }

    span.other {
        position: fixed;
        display: flex;
        color: white;
        background-color: rgba(0, 0, 0, 0.5);
        bottom: 0;
        padding-left: 0.5%;
        padding-right: 0.5%;
    }

    span.version {
        right: 0;
    }
}