PairDrop/Website About/NEW/css/404.css

239 lines
4.7 KiB
CSS

body {
font-family: Arial, sans-serif;
background-image: url('/images/Gato-Comeu-Pagina-HTML.png');
background-size: cover;
background-position: center center;
background-attachment: fixed;
background-color: var(--background-color);
position: relative;
min-height: 100vh;
overflow-x: hidden;
}
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(
to bottom,
rgba(0, 0, 0, 0.7),
rgba(0, 0, 0, 0.5)
);
z-index: -1;
}
main {
text-align: center;
padding: 40px 16px;
max-width: 600px;
margin: 0 auto;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: relative;
z-index: 1;
background: rgba(0, 0, 0, 0.45);
border-radius: 18px;
backdrop-filter: blur(4px);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.img-container {
width: 100%;
max-width: 500px;
aspect-ratio: 16 / 9;
margin-bottom: 24px;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
display: flex;
justify-content: center;
align-items: center;
}
.img-container img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
border-radius: 10px;
filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.4));
}
h1 {
font-size: 7rem; /* Bem grande para o 404 */
margin-bottom: 8px;
color: #fff;
font-weight: bold;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
h2 {
font-size: 2.5rem; /* Maior para dar destaque */
margin-bottom: 12px;
color: #fff;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
strong {
display: block;
font-size: 1.1rem;
margin-bottom: 12px;
color: #fff;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
p {
font-size: 1.1rem;
margin-bottom: 24px;
line-height: 1.5;
color: #fff;
max-width: 480px;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.btn-voltar {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 12px 26px;
background: linear-gradient(145deg, #ffffff, #e6e6e6);
color: #000;
text-decoration: none;
border-radius: 50px;
transition: all 0.3s ease;
font-size: 1.1rem;
border: none;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
font-weight: bold;
position: relative;
overflow: hidden;
}
.btn-voltar::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
transition: 0.5s;
}
.btn-voltar:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
background: linear-gradient(145deg, #ffffff, #cccccc);
}
.btn-voltar:hover::before {
left: 100%;
}
.btn-voltar i {
font-size: 1.2rem;
transition: transform 0.3s ease;
}
.btn-voltar:hover i {
transform: scale(1.15);
}
@media (max-width: 600px) {
main {
padding: 16px 8px;
max-width: 95vw;
border-radius: 8px;
margin: 10px;
min-height: calc(100vh - 20px);
}
.img-container {
max-width: 95vw;
aspect-ratio: 16 / 9;
margin-bottom: 16px;
}
h1 {
font-size: 4rem;
margin-bottom: 4px;
}
h2 {
font-size: 1.5rem;
margin-bottom: 8px;
}
p, strong {
font-size: 0.9rem;
margin-bottom: 16px;
padding: 0 8px;
}
.btn-voltar {
padding: 8px 16px;
font-size: 0.9rem;
margin-top: 8px;
}
}
@media (max-width: 360px) {
main {
padding: 12px 6px;
margin: 8px;
}
h1 {
font-size: 3rem;
}
h2 {
font-size: 1.2rem;
}
p, strong {
font-size: 0.85rem;
padding: 0 4px;
}
.btn-voltar {
padding: 6px 12px;
font-size: 0.85rem;
}
.img-container {
margin-bottom: 12px;
}
}
@media (max-height: 700px) {
main {
padding: 12px 8px;
}
.img-container {
max-height: 200px;
margin-bottom: 12px;
}
h1 {
font-size: 3rem;
margin-bottom: 4px;
}
h2 {
font-size: 1.2rem;
margin-bottom: 6px;
}
p, strong {
margin-bottom: 12px;
}
}