* {
    margin: 0px;
    font-family: Ubuntu;
}

html {
    background: url('background/bg3.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#main {
    height: auto;
    width: 25%;
    margin: auto;
    margin-top: 7%;
    height: auto;
    padding-bottom: 2%;
    background-color: rgba(245, 245, 255, 0.8);
    text-align: center;
    vertical-align: middle;
    overflow: auto;
    box-shadow: 10px 10px 40px 10px;
    border-radius: 10px;
}

#logo_trexmo {
    width: 55%;
    margin: 20px;
}

form {
    margin: auto;
    width: 70%;
    padding: 20px;
}

input {
    display: block;
    margin-top: 20px;
    font-size: 16px;
    padding-left: 10px;
    box-sizing: border-box;
    height: 30px;
    width: 100%;
    border: 1px solid silver;
    border-radius: 8px;
}

#logInButton {
    background-image: linear-gradient(white, silver);
    border: none;
    outline: none;
    font-size: 18px;
    border-radius: 5px;
    color: rgba(0, 0, 0, 0.856);
    font-family: fontAwesome;
}

#logInButton:hover {
    color: rgba(255, 0, 0, 0.75);
    font-weight: bold;
    cursor: pointer;
    animation-duration: 0.5s;
}

input:focus {
    background-color: rgb(255, 250, 180);
}

@media screen and (max-width:1200px) {
    #main {
        width: 40%;
    }
}

@media screen and (max-width:800px) {
    #main {
        width: 60%;
    }
}

@media screen and (max-width:400px) {
    #main {
        width: 90%;
    }
}

@media screen and (max-device-width: 8in) {
    html,
    body {
        height: 100%;
    }
    #logo_trexmo {
        height: 40%;
    }
    #main {
        width: 90%;
        background-color: rgba(255, 255, 255, 0.7);
        height: 80%;
        overflow: auto;
        font-size: 50px;
    }
    form {
        width: 90%;
    }
    input {
        width: 100%;
        height: 100px;
        font-size: 40px;
    }
    #logInButton {
        font-size: 40px;
    }
}
