@font-face {
    font-family: Montserrat;
    src: url(font/Montserrat-Regular.ttf);
    font-weight: 300;
}

@font-face {
    font-family: Montserrat;
    src: url(font/Montserrat-Medium.ttf);
    font-weight: 400;
}

@font-face {
    font-family: Montserrat;
    src: url(font/Montserrat-SemiBold.ttf);
    font-weight: 500;
}

@font-face {
    font-family: Montserrat;
    src: url(font/Montserrat-Bold.ttf);
    font-weight: 600;
}

@font-face {
    font-family: Montserrat;
    src: url(font/Montserrat-ExtraBold.ttf);
    font-weight: 700;
}

@font-face {
    font-family: Montserrat;
    src: url(font/Montserrat-Light.ttf);
    font-weight: 200;
}

@font-face {
    font-family: Montserrat;
    src: url(font/Montserrat-Thin.ttf);
    font-weight: 100;
}

body{
    font-family: Montserrat;
    display: flex;
    margin-right: auto;
    margin-left: auto;
    width: 60%;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    max-width: 800px;
    transition: width .3s ease-in-out;
}

.header{
    display: flex;
    justify-content: space-between;
}

.header img{
    max-width: 70px;
}

input{
    border:  solid 2px #000000;
    font-weight: 700;
    font-size: 100%;
    border-radius: 10px;
    font-family: Montserrat;
    padding: 15px;
    color: #000;
}

#content{
display: flex;
flex-direction: column;
gap: 10px;
padding: 20px;
outline: #000 3px solid;
box-shadow: 0px 10px 0px #000000a2;
border-radius: 10px;
}

button{
    border:  solid 2px #a3a3a3;
    font-weight: 700;
    font-size: 100%;
    border-radius: 10px;
    font-family: Montserrat;
    background-color: #000000;
    padding: 15px;
    color: #ffffff;
    cursor: pointer;
    transition: transform .2s ease-in-out;
}

button:hover{
    transform: translateY(-3px);
}

.longName{
    display: block;
}

.shortName{
    display: none;
}

h3{
    margin-top: 10px;
    font-size: 130%;
}

.logo{
    filter: brightness(-100%);
}

#code{
   text-transform:uppercase
}

.text{
    text-align: center;
}

.logo{
    max-width: 200px;
    margin-right: auto;
    margin-left: auto;
}

.ingameName{
    font-weight: 700;
}

#UpError{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    background: #fdfdfd;
    padding: 13px;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    box-shadow: 0px 5px 0px #000000a2;
    animation: showError .2s ease-out;

}

inError{
    width: 60%;
    display: flex;
    margin-right: auto;
    margin-left: auto;
    justify-content: space-around;
}

inError button{
    padding: 10px;
    width: 100px;
}

#UpError div h3, p{
    margin: 0;
}

center p{
    margin: 10px !important;
}

.impGroups{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    *:hover{
        transform: translateY(-3px);
    }
}

.group{
    border:  solid 2px #a3a3a3;
    font-weight: 700;
    font-size: 100%;
    border-radius: 10px;
    font-family: Montserrat;
    background-color: #000000;
    padding: 15px;
    color: #ffffff;
    cursor: pointer;
    transition: transform .2s ease-in-out;
}

@keyframes showError {
    0%{
        box-shadow: 0px 1px 0px #000000a2;
        transform: translateY(-100%);
    }
    100%{
        box-shadow: 0px 5px 0px #000000a2;
        transform: translateY(0%);
    }
}

@media screen and (max-width: 600px) and (-webkit-min-device-pixel-ratio: 1){
    body{
        width: calc(100% - 40px);
        height: 100%;
    }

}

@media screen and (max-width: 370px) and (-webkit-min-device-pixel-ratio: 1){
    .shortName{
        display: block;
    }
    
    .longName{
        display: none;
    }
}