:root {
    --degs: 245deg;
}

body {
    background: conic-gradient(from var(--degs), purple, gold);
    padding: 0;
    margin: 0;
    height: 100vh;
    overflow: hidden;
    animation: bg 2s infinite;
}

.card.main {
    background: white;
    height: 64vh;
    width: 344px;
    border-radius: 16px;
    margin-left: 24px;
    margin-top: 24px;
    padding: 0;
    max-width: calc(100% - 48px);
}

.main h1 {
    font-family: "Roboto", sans-serif;
    text-align: center;
    margin: 0;
    margin-bottom: 64px
}

input {
    border: 2px solid #afbdcf;
    border-radius: 5px;
    height: 32px;
    width: calc(100% - 26px);
    color: #000000;
    font-size: 14px;
    padding-left: 20px;
    box-shadow: none;
}

/* Label style after Input feild is in focus. Can also use input:focus ~ label to select sibling. */

input:focus+label,
input:valid+label {
    font-size: 12px;
    color: #afbdcf;
    top: -5px;
    left: 10px;
    background: #ffffff;
    padding: 0px 5px 0px 5px;
}

.input_wrap {
    width: auto;
    height: auto;
    position: relative;
}

.input_wrap label {
    font-family: arial;
    font-size: 16px;
    color: #afbdcf;
    padding: 10px;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
    pointer-events: none;

}

input[type="text"]:focus {
    outline: none;
}


.main button:hover {
    background: #ca7868;
}

.card.sso {
    border: 2px solid white;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    height: 10vh;
    width: 276px;
    border-radius: 16px;
    margin-left: 24px;
    margin-top: 24px;
    padding: 32px;
    max-width: calc(100% - 115px);
}

.card.sso p {
    margin: 0;
}

.user {
    height: 96px;
    border-radius: 16px 16px 0 0;
    background-color: #D3D3D3;
    text-align: center;
}

.content {
    padding: 32px;
}

.img {
    margin-top: 64px;
    transform: scale(6);
    background: #d3d3d3;
    border-radius: 100px;
}

.main button {
    height: 34px;
    background: #bd5742;
    border: none;
    color: white;
    display: inline;
    float: right;
    position: relative;
    bottom: 36px;
    right: 2px;
    border-radius: 3px;
    width: 36px;
    opacity: 0;
    transition: opacity 0.5s;
    display: none;
}

button .bi {
    transform: scale(1.3);
    margin-top: 2px;
}

.social {
    margin-top: 16px
}

.go,
.ms,
.fb,
.apl {
    width: 35px;
    height: 35px;
    background: #bd5742;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}

.go:hover,
.ms:hover,
.fb:hover,
.apl:hover {
    background: #ca7868
}

div.card.side {
    position: absolute;
    right: 24px;
    top: 24px;
    width: 32%;
    margin: 0;
    height: calc(100vh - 64px);
    border: 2px solid white;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-align: center;
    font-family: 'Roboto', Open-Sans, BlinkMacSystemFont, sans-serif
}

.card.side img {
    border-radius: 13px 13px 0 0;
    width: 100%
}

@media only screen and (max-width: 875px) {
    .card.side {
        display: none
    }

}