@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300&display=swap');
body {
    font-family: Raleway, sans-serif;
    color: #353639;
    font-size: 1.4em;
    width: 860px;
    margin: auto;
    background-color: #f6ce98;
}

header{
    height: 40px;
}

img{
	margin-top: -10px;
	float: right;
}

h1 {
	margin-top: 40px;
    border-left: 8px solid #353639;;
	padding-left: 16px;
	width: 70%;
}

#imagen {
    margin-right: auto;
    margin-left: auto;
	background-image: url(img/fondo.jpg);
    width: 960px;
    height: 400px;
	text-align: center;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	position: relative;
    margin-top: 20px;
}

#imagen:before {
	content:'';
	position: absolute;
    top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(0,0,0,0.5);
}

#imagen h2 {
	color: #fff;
	position: relative;
}

#imagen h3 {
    color: #fff;
    position: relative;
    font-size: 30px;
}

#imagen form {
	color: #fff;
	position: relative;
}

#imagen button {
	position: relative;
}


form {
    background-color: #f6ce98;
    border: 1px solid #ccc;
    padding: 25px;
    border-radius: 5px;
    width: 50%;
    margin-right: auto;
    margin-left: auto;
}

input,
textarea {
    border: 1px solid #353639;
    padding: 10px;
    border-radius: 5px;
    width: 97%;
    margin-bottom: 10px;
}

input:hover,
input:focus,
textarea:hover,
textarea:focus {
    box-shadow: 0px 0px 3px #5da2a7;
    border: 1px solid #ccc;
}

textarea {
    height: 180px;
    resize: none;
}

input[type='submit'] {
    background-color: #353639;
    color: #f6ce98;
    border: 1px solid #ccc;
    padding: 8px 10px;
    border-radius: 5px;
    border: 1px solid #999;
    cursor: pointer;
    font-size: .6em;
    margin-top: 15px;
	text-decoration: none;
	width: 30%;
}

input[type='submit']:hover {
    background-color: #f6ce98;
    color: #353639;
}

button a {
    color: #f6ce98;
    padding: 10px 35px;
    border-radius: 5px;
    cursor: pointer;
    font-size: .8em;
    margin-top: 15px;
	text-decoration: none;
}

button:hover {
    background-color: #f6ce98;
    color: #353639;
}

button a:hover {
    background-color: #f6ce98;
    color: #353639;
}

button {
    background-color: #353639;
    color: #f6ce98;
    border: 1px solid #ccc;
    padding: 5px 25px;
    border-radius: 5px;
    border: 1px solid #999;
    cursor: pointer;
    font-size: .8em;
    margin-top: 15px;
	text-decoration: none;
}

button:hover {
    background-color: #f6ce98;
    color: #353639;
}

table{
    background-color: #353639;
    color: #f6ce98;
}

#tabla {
    width: 100%;
    height: auto;
    background-color: #f7f7f7;
    border-radius: 5px;
}

td{
	text-align: center; width: 100px; height: 50px;
}

@media all and (min-width: 600px) and (max-width: 1023px) {

    @import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300&display=swap');
    body {
        font-family: Raleway, sans-serif;
        color: #353639;
        font-size: 1.4em;
        width: auto;
        margin: auto;
        background-color: #f6ce98;
    }
    
    header{
        height: 140px;
    }
    
    img{
        margin-top: -10px;
        float: right;
    }
    
    h1 {
        margin-top: 40px;
        border-left: 8px solid #353639;
        font-size: 85px;
        width: 100%;
    }
    
    #imagen {
        margin-right: auto;
        margin-left: auto;
        background-image: url(img/fondo.jpg);
        width: auto;
        height: 1100px;
        text-align: center;
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        position: relative;
        margin-top: 20px;
    }
    
    #imagen:before {
        content:'';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: rgba(0,0,0,0.5);
    }
    
    #imagen h2 {
        color: #fff;
        position: relative;
        font-size: 80px;
    }
    
    #imagen h3 {
        color: #fff;
        position: relative;
        font-size: 80px;
    }

    #imagen form {
        color: #fff;
        position: relative;
    }
    
    #imagen button {
        position: relative;
    }
    
    
    form {
        background-color: #f6ce98;
        border: 1px solid #ccc;
        padding: 25px;
        border-radius: 5px;
        width: 70%;
        margin-right: auto;
        margin-left: auto;
        height: 450px;
    }
    
    input,
    textarea {
        border: 1px solid #353639;
        padding: 10px;
        border-radius: 5px;
        width: 97%;
        height: 100px;
        margin-bottom: 10px;
        font-size: 35px;
    }
    
    input:hover,
    input:focus,
    textarea:hover,
    textarea:focus {
        box-shadow: 0px 0px 3px #5da2a7;
        border: 1px solid #ccc;
    }
    
    textarea {
        resize: none;
    }
    
    input[type='submit'] {
        background-color: #353639;
        color: #f6ce98;
        border: 1px solid #ccc;
        padding: 8px 10px;
        border-radius: 5px;
        border: 1px solid #999;
        cursor: pointer;
        font-size: 40px;
        margin-top: 15px;
        text-decoration: none;
        width: 60%;
    }
    
    input[type='submit']:hover {
        background-color: #f6ce98;
        color: #353639;
    }
    
    button a {
        color: #f6ce98;
        padding: 10px 35px;
        border-radius: 5px;
        cursor: pointer;
        margin-top: 15px;
        text-decoration: none;
    }
    
    button:hover {
        background-color: #f6ce98;
        color: #353639;
    }
    
    button a:hover {
        background-color: #f6ce98;
        color: #353639;
    }
    
    button {
        background-color: #353639;
        color: #f6ce98;
        border: 1px solid #ccc;
        padding: 5px 25px;
        border-radius: 5px;
        border: 1px solid #999;
        cursor: pointer;
        font-size: 40px;
        margin-top: 15px;
        text-decoration: none;
    }
    
    button:hover {
        background-color: #f6ce98;
        color: #353639;
    }
    
    table{
        background-color: #353639;
        color: #f6ce98;
    }
    
    #tabla {
        width: 100%;
        height: auto;
        background-color: #f6ce98;
        border-radius: 5px;
        font-size: 50px;
    }

    #tabla a button{
        width: 90%;
        margin-right: auto;
        margin-left: auto;
        height: auto;
        border-radius: 5px;
    }
    
    #tabla td{
        text-align: center; 
        height: 100px;
    }

    #tabla tr{
        text-align: center; 
        height: 100px;
    }

    footer {
        font-size: 50px;
    }

    .formulario  a button {
        color: #f6ce98;
        padding: 25px 45px;
        border-radius: 5px;
        cursor: pointer;
        margin-top: 15px;
        margin: 30px;
        text-decoration: none;
        font-size: 55px;
    }