SEGUE CSS:
body {
font-family: "Crimson Text", "Times New Roman", serif;
background-color: #F2FFFC;
font-size: 120%;
line-height: 1.5;
}
h1,
h2,
.subtitulo-principal {
font-family: "Open Sans Condensed", "Arial", sans-serif;
}
h1 {
text-transform: uppercase;
font-size: 3em;
text-shadow: 5px 5px #000;
}
.titulo-principal {
text-align: center;
background-color: #851944;
color: #FFF;
padding: 2rem;
border-bottom: .5rem solid #000;
}
.subtitulo-texto {
font-size: 1.5em;
clear: both;
}
main a {
color: #851944;
}
main p {
text-align: justify;
margin: 1em 0;
}
.navegacao-site {
text-align: center;
background-color: #3C1D3D;
color: #F2FFFC;
padding: 1em;
}
.navegacao-site a {
color: inherit;
font-family: "Open Sans Condensed", "Arial", sans-serif;
text-transform: lowercase;
}
.navegacao-site h1 {
font-size: 1.5em;
margin-bottom: 1em;
}
.rodape-pagina {
text-shadow: 2px 2px #000;
color: #F2FFFC;
padding: 1em;
clear: both;
position: fixed;
bottom: 0;
left: 0;
box-sizing: border-box;
background-image: radial-gradient( ellipse at left bottom, rgba(60, 29, 61, 0.8), rgba(60, 29, 61, 0.8) 65%, black 65%, black 70%, transparent 70%, transparent );
width: 100%;
background-size: 25% 100%;
background-repeat: no-repeat;
}
.container {
width: 80ch;
margin-left: auto;
margin-right: auto;
padding: 1.5em 0;
}
strong {
font-weight: bold;
}
em {
font-style: italic;
}
.icones-redes-sociais li {
display: inline-block;
}
.icones-redes-sociais a {
width: 40px;
height: 40px;
display: block;
text-indent: -99999px;
position: relative;
}
.icones-redes-sociais a:hover::after,
.icones-redes-sociais a:focus::after {
content: attr(data-legenda);
position: absolute;
top: 100%;
right: 0;
text-indent: 0;
width: 300%;
background: black;
font-size: .75em;
}
.icones-redes-sociais a:hover::before,
.icones-redes-sociais a:focus::before {
content: '';
width: 1em;
height: 1em;
background-color: black;
position: absolute;
bottom: 0;
left: 0;
transform: translateY(.5em) rotate(45deg);
}
.github {
background-image: url(../imagens/github.png);
}
.twitter {
background-image: url(../imagens/twitter.png);
}
.linkedin {
background-image: url(../imagens/linkedin.png);
}
main {
width: 80%;
float: left;
padding-bottom: 4em;
}
.minha-foto,
.navegacao-site {
border-left: .5em solid black;
border-bottom: .5em solid black;
box-sizing: border-box;
}
.navegacao-site {
width: 20%;
float: right;
position: relative;
top: 300px;
}
.minha-foto {
position: absolute;
top: 0;
right: 0;
height: 300px;
}
main a:hover,
main a:focus,
footer a:hover,
footer a:focus {
color:red;
}
.navegacao-site a:hover,
.navegacao-site a:focus {
text-shadow: 0 0 5px red;
}
legend,
label[for="mensagem"] {
font-weight: bold;
margin-top: 3em;
}
label[for] {
display: block;
}
input[type="text"],
input[type="nome"],
input[type="email"],
textarea {
font-family: inherit;
font-size: 100%;
padding: .25em .5em;
width: 100%;
box-sizing: border-box;
border: 1px solid #CCC;
}
button{
border: 0;
.5em 1em;
font-family: "Open Sans Condensed", sans-serif;
background-color: #3C1D3D;
color: white;
font-size: 1.2em;
margin-left: auto;
margin-top: 1em;
display: block;
}
input:invalid {
box-shadow: 0 0 3px red;
}
input:focus,
textarea:focus {
background-color: #FFD;
}
button:hover,
button:focus {
background-color: #8C1D3D;
}
fieldset > fieldset {
display: inline;
}
label[for="outro"] {
display: inline;
}
input[name="outro-assunto"] {
width: auto;
}
input[value="Outro"] ~ input {
display: none;
}
input[value="Outro"]:checked ~ input {
display: inline;
}