@import url('http://fonts.cdnfonts.com/css/bahnschrift');

:root{
    --primary-color:#4CAF50;
    --second-color:#28862c;
}

:focus {
    outline: 0;
}

body {
    background: var(--primary-color);
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    font-family: 'Bahnschrift', sans-serif;
}

.profile {
    background: #e0e0e0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);

}

.profile .skin-head {
    border: 0;
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
}

.logo {
    width: 50%;
    margin: 15px
}

.play-page {
    padding-top: 60px;
}

.main {
    text-align: center;
    background: #FFF;
    padding: 45px;
    max-width: 520px;
    position: relative;
    margin: 0 auto 100px;
    box-sizing: border-box;
}

.main select {
    font-family: 'Bahnschrift', sans-serif;
    width: 100%;
    padding: 10px;
}

.main button {
    font-family: 'Bahnschrift', sans-serif;
    text-transform: uppercase;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
    border: 0px;
    background: var(--primary-color);
    color: #FFFFFF;
    width: 100%;
    transition: background 400ms;
    padding: 12.5px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.main button:hover {
    background: var(--second-color);
}

.main button a{
    text-decoration: none;
    color: #FFF;
}

.main .waiting-animation span::before {
    content: "";
    animation: waiting 1.5s infinite;
}

@keyframes waiting {
    0% {
        content: "";
    }

    25% {
        content: ".";
    }

    50% {
        content: "..";
    }

    100% {
        content: "...";
    }
}

.main .service-connect {
    display: flex;
}

.main .hide {
    animation: hideButtons 500ms ease-in-out;
    /* display: none; */
    opacity: 0;
}

@keyframes hideButtons {
    0% {
        opacity: 1;
        display: flex;
    }

    99% {
        opacity: 0;
        display: flex;
    }

    100% {
        opacity: 0;
        display: none;
    }
}

.main .show {
    animation: showButtons 500ms ease-in-out;
    display: flex;
    opacity: 1;

}

@keyframes showButtons {
    from {
        display: none;
        opacity: 0;
    }

    to {
        display: flex;
        opacity: 1;
    }
}

.main .service-connect p {
    display: inline-block;
}

.main .service-connect .connect-1,
.main .service-connect a .connect-2 {
    margin-right: 10px;
}

.main .service-connect .connect-3,
.main .service-connect a .connect-2 {
    margin-left: 10px;
}

.main .service-connect .connect-1 svg {
    width: 20px;
    padding-right: 5px;
    align-items: stretch;
    vertical-align: middle;
}

.main .service-connect .connect-2 svg {
    width: 20px;
    padding-right: 5px;
    align-items: stretch;
    vertical-align: middle;
}

.main .service-connect .connect-3 svg {
    width: 20px;
    height: 20px;
    padding-right: 5px;
    align-items: stretch;
    vertical-align: middle;
}

.main .connect-pseudo {
    display: none;
    width: 100%;
    position: relative;
}

.main .connect-pseudo .pseudo-input {
    box-sizing: border-box;
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: 'Bahnschrift', sans-serif;
    width: 100%;
    padding: 10px;
    border: 0;
    border-bottom: 2px solid #ccc;
    transition: 0.4s;
}

.main .connect-pseudo .pseudo-input:focus{
    border-color: transparent;
}

.main .connect-pseudo .focus-border {
    position: absolute;
    left: 0;
    bottom: 72px;
    height: 2px;
    width: 0;
    background-color: var(--primary-color);
    transition: 0.4s;
}

.main .connect-pseudo .pseudo-input:focus~.focus-border {
    width: 100%;
}

.main .errors {
    color: rgb(190, 0, 0);
}

@media screen and (max-width:540px){
    .main .service-connect .connect-1 svg{
        display: none;
    }
    .main .service-connect .connect-2 svg{
        display: none;
    }
    .main .service-connect .connect-3 svg{
        display: none;
    }
}

@media screen and (max-width:400px){
    .main .show{
        display: block;
    }
    .main .service-connect .connect-1{
        margin-right: 0;
        margin-left: 0;
    }
    .main .service-connect .connect-2{
        margin-right: 0;
        margin-left: 0;
    }
    .main .service-connect .connect-3{
        margin-right: 0;
        margin-left: 0;
    }
}