﻿.main {
    height: 500px;
}

.keyboard {
    margin: auto;
    width: 700px;
    color: #eee;
}

.keyboardLeft {
    width: 590px;
    display: inline-block;
    text-align: center;
    float: left;
}

.keyboardRight {
    width: 110px;
    display: inline-block;
    text-align: center;
}

.drop {
    width: 30%;
    height: 50px;
    border-radius: 5px;
    line-height: 29px;
    border-radius: 5px;
    margin-bottom: 5px;
    background-color: #fff;
    color: #7d7d7d;
    padding-left: 10px;
    font-size: 16px;
}

.field {
    width: 91%;
    height: 50px;
    display: inline-block;
    border: 1px solid #7d7d7d;
    border-radius: 5px;
    margin-bottom: 6px;
    color: black;
    padding-left: 10px;
    font-size: 16px;
}

.key {
    width: 50px;
    height: 50px;
    display: inline-block;
    font-size: 16px;
    color: #B2A595;
    background-color: #4f473e;
    box-shadow: 0px 2px 0px #333333;
    border-radius: 5px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: box-shadow 0.7s ease;
    line-height: 50px;
    text-align: center;
    padding-left: 0;
    user-select: none;
}

.key:active {
    background-color: #4d4d4d;
}

.divHeader {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 50px;
    background-color: white;
}

.btnClean, .btnSearch, .btnKeyboard {
    width: 100px;
}

.btnClean {
    font-size: 16px;
}

.btnSearch, .btnKeyboard {
    font-size: 25px;
}

@media only screen and (min-width: 801px) {
    .mobile {
        display: none;
    }  
}

@media only screen and (max-width: 800px) {
    .keyboard {width: 100%;}
    .keyboardLeft {width: 100%;margin: 0 auto;}
    .keyboardRight {display: none;}

    .drop {
        width: 90%;
    }

    .field {
        width: 90%;
        height: 50px;
    }

    .key {
        width: 8%;
        height: 40px;
        line-height: 40px;
        margin-left: 0;
        font-size: 16px;
    }

    .keyboardRightMobile {
        display: flex;
        justify-content: center;
    }

    .btnClean, .btnSearch, .btnKeyboard {
        width: 100px;
    }

    .btnSearch, .btnKeyboard {
        font-size: 25px;
        margin-left: 5px;
    }
      
    .divHeader {
        margin-top: 0;
        margin-bottom: 10px;
        background-color: white;
    }

    .divHeader div img {
        width: 250px;
    }
}

@media only screen and (max-width: 800px) and (orientation: landscape) {    
    .drop {
        width: 30%;
    }

    .field {
        width: 91%;
    }    
}
