html
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<title>contato</title>
<link rel="stylesheet" href="reset.css">
<link rel="stylesheet" href="contato.css">
</head>
<body>
<header>
<div class="caixa">
<h1>
<a href="inicio.html">
<img src="logo.png" alt="logo">
</a>
</h1>
<nav>
<ul>
<li><a href="inicio.html">home</a></li>
<li><a href="produto.html">produtos</a></li>
<li><a href="contato.html">contato</a></li>
</ul>
</nav>
</div>
</header>
<main>
<form>
<label for="nomesobrenome">nome e sobronome</label>
<input type="text" id="nomesobrenome" class="input-padrão" required >
<label for="email" >email</label>
<input type="email" id="email" class="input-padrão" required placeholder="seuemail@gmail.com">
<label for="telefone">telefone</label>
<input type="tel" id="telefone" class="input-padrão" required placeholder="(xx)xxxxx-xxxx">
<label for="mensagem">mensagem</label>
<textarea cols="60" rows="10" id="mensagem"></textarea>
<fieldset>
<legend>como prefere o nosso contato?</legend>
<label for="radio-email"><input type="radio" name="contato" value="email" id="radio-email">Email</label>
<label for="radio-telefone"><input type="radio" name="contato" value="telefone" id="radio-telefone">telefone</label>
<label for="radio-whatsapp"><input type="radio" name="contato" value="whatsapp" id="radio-whatsapp" checked>whatsapp</label>
</fieldset>
<fieldset class="horario">
<legend>qual horario prefere ser atendido? </legend>
<select>
<option>manha</option>
<option>tarde</option>
<option>noite</option>
</select>
</fieldset>
<label class="checkbox"><input type="checkbox" checked >gostaria de receber nossas novidades por email?</label>
<input type="submit" value="enviar formulário" class="enviar">
</form>
<table>
<thead>
<tr>
<th>dia</th>
<th>horario</th>
</tr>
</thead>
<tbody>
<tr>
<td>segunda</td>
<td>08h - 20h</td>
</tr>
<tr>
<td>quarta</td>
<td>08h - 20h</td>
</tr>
<tr>
<td>sexta</td>
<td>08h - 20h</td>
</tr>
</tbody>
</table>
</main>
<footer>
<img src="logo-branco.png" alt="logo">
<p class="copyright">© copyright barberia alura - 2019</p>
</footer>
</body>
</html>
css
header{
background: #bbbbbb;
padding: 20px 0;
}
.caixa{
position: relative;
width: 940px;
margin: 0 auto;
}
nav{
position: absolute;
top: 110px;
right: 0;
}
nav li{
display: inline;
margin: 0 0 0 15px;
}
nav a{
text-transform: uppercase;
color: black;
font-weight: bold;
font-size: 22px;
text-decoration: none;
}
nav a:hover{
color: rgba(186, 148, 79, 0.493);
text-decoration: underline;
}
main{
width: 940px;
margin: 0 auto;
}
form{
margin: 40px 0;
}
form label, form legend{
display: block;
font-size: 20px;
margin: 0 0 10px;
}
.input-padrão{
display: block;
margin: 0 0 10px;
padding: 10px 25px;
width: 50%;
}
.horario{
margin: 30px 0;
cursor: pointer;
}
.checkbox{
margin: 30px 0;
cursor: pointer;
}
footer{
text-align: center;
background-color: black;
padding: 40px 0;
}
.copyright{
color: #ffffff;
font-size: 13px;
}
.enviar{
width: 40%;
padding: 15px 0;
background: orange;
color: #ffffff;
font-weight: bold;
font-size: 18px;
border: none;
border-radius: 5px;
transition: 0.5s all;
cursor: pointer;
}
.enviar:hover{
background: darkorange;
transform: scale(1.1);
}
table{
margin: 20px 0 40px;
}
thead{
background: #555555;
color: white;
font-weight: bold;
}
td,th{
border: 1px solid black;
padding: 8px 15px;
}