* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    transition: .2s;
}

body.active {
    background-color: #363636;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 85vh;
    flex-direction: column;
    margin: 0 auto;
}

.keyboard_wrapp {
    max-width: 1008px;
    width: 100%;
    background-color: #e7e7e7;
    overflow: hidden;
    position: relative;
    order: 2;
}

.keyboard_wrapp.active {
    background-color: #585855;
}

.row {
    display: flex;
}

.keys {
    width: 60px;
    height: 60px;
    background-color: #fff;
    justify-content: center;
    align-items: center;
    margin: 4px;
    transition: .2s;
    text-align: center;
    font-weight: 500;
    line-height: 60px;
    z-index: 5;
    cursor: pointer;
}

.keys:hover {
    border: 1px solid #222222;
}

.delete_key {
    width: 120px;
    background-color: #f7f5f5;
}

.delete_key.active {
    background-color: #333;
    color: #fff;
}

.tab_key {
    width: 90px;
    background-color: #f7f5f5;
}

.slash_key {
    width: 90px;
}

.caps_lock_key {
    width: 128px;
    background-color: #f7f5f5;
}

.enter_key {
    width: 120px;
    background-color: #f7f5f5;
}

.shift_key {
    width: 151px;
    background-color: #f7f5f5;
}

.space_key {
    max-width: 400px;
    width: 100%;
    background-color: #f7f5f5;
}

.command {
    max-width: 100px;
    width: 100%;
}

.arrow {
    width: 90px;
}

.text {
    max-width: 1008px;
    width: 100%;
    height: 150px;
    margin-bottom: 30px;
    border: 2px solid;
    outline: none;
    font-size: 26px;
    background-color: #f7f7f7f7;
    padding-left: 10px;
    transition: .2s;
}

.keys.active {
    background-color: #333;
    color: #fff;
    animation: keys_animation 1s forwards;
    transition: 1s;
}

.keys.remove {
    animation: keys_animation 1s forwards;
    transition: 1s;
}

@keyframes keys_animation {
    0% {
        background-color: #333;
        color: #fff;
    }

    100% {
        background-color: #fff;
        color: #333;
    }
}


.night_mode {
    width: 80px;
    height: 30px;
    background-color: #e6e6e6;
    position: absolute;
    right: 25px;
    top: 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: .2s;
}

.night_mode.active {
    background-color: #222222;
}

.toggle_circle {
    width: 20px;
    height: 20px;
    background-color: #363636;
    border-radius: 50px;
    margin: 0 5px;
    position: absolute;
    left: 0;
    transition: .2s;
}

.toggle_circle.active {
    left: 60%;
    background-color: #fff;
}

.keys.keys_night {
    background-color: #3c3c3c;
    color: #fff;
}

.text.active {
    background-color: #2b2b2b;
    color: #fff;
}

.keys.keys_night.active {
    background-color: #fff;
    color: #333;
}

.keys.keys_night.remove {
    animation: keys_night_animation 0.5s forwards;
}

@keyframes keys_night_animation {
    0% {
        background-color: #fff;
        color: #333;
    }

    100% {
        background-color: #333;
        color: #fff;
    }
}

.change_light_color {
    width: 50px;
    height: 50px;
    position: absolute;
    right: 130px;
    top: 15px;
    justify-content: center;
    align-items: center;
}

.colors_input {
    width: 50px;
    height: 50px;
    border: none;
    outline: none;
    background-color: transparent;
}

.keyboard_light {
    position: absolute;
    width: 100%;
    height: 100%;
}

p {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    color: #BDAE82;
    font-weight: 800;
    line-height: 60px;
    text-decoration: none;
    margin: 0 auto;
    position: absolute;
    left: 150px;
}

.logo:hover {
    filter: invert(26%) sepia(15%) saturate(638%) hue-rotate(7deg) brightness(92%) contrast(87%);
}