﻿@import "http://fonts.googleapis.com/css?family=Ubuntu";

div#main{
    background-image: url(../images/escritorio_blanco.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    font-family: 'Ubuntu', sans-serif;
    padding-top: 50px;
    height: 1162px;
}

#main > div:first-of-type {
    padding: 20px;
    border-radius: 12px 12px 0 0;
    width: 400px;
    margin: 50px auto 0;
    background-color: whitesmoke;
}

div#form_sample{
    border: 1px solid #ccc;
    width: 600px;
    padding: 0 50px 15px;
    box-shadow: 0 0 15px;
    border-radius: 6px;
    margin: 0 auto;
    background-color: whitesmoke;
}

#main > div > h1{
    text-align: center;
}

input[type="text"]{
    width: calc(100% - 26px);
    margin-top: 10px;
    height: 15px;
    margin-bottom: 15px;
    padding: 10px;
    border: 3px solid #2BC1F2;
}

textarea{
    width: calc(100% - 26px);
    border: 3px solid #2BC1F2;
    padding: 10px;
    margin-bottom: 20px;
    margin-top: 10px;
    height: 80px;
    resize: none;
}

#btnSend {
    position: relative;
    left: 30%;
    width:40%;
    padding:10px 45px;
    background-color:#2BC1F2;
    border:none;
    color:#fff;
    font-size:18px;
    font-weight:700;
    cursor:pointer;
    font-family:'Ubuntu', sans-serif;
}

@media only screen and (max-width: 489px) {
    div#form_sample {
        width: 250px;
        padding: 0 25px 15px;
    }

    #main > div:first-of-type {
        width: 240px;
    }

    #btnSend {
        padding: 10px 5px;
    }
}

@media only screen and (min-width: 490px) and (max-width: 609px) {
    div#form_sample {
        width: 350px;
    }
}

@media only screen and (min-width: 610px) and (max-width: 759px) {
    div#form_sample {
        width: 450px;
    }
}