halfheart.net/style.css

158 lines
No EOL
2.6 KiB
CSS

@import url(https://fonts.googleapis.com/css?family=Audiowide);
h1 {
font-family: "Audiowide", serif;
font-weight: 400;
font-style: normal;
color: red;
text-align: center;
}
h2 {
font-family: "Audiowide", serif;
font-weight: 300;
font-style: normal;
color: red;
text-align: center;
}
h3 {
font-family: "Audiowide", serif;
font-weight: 300;
font-style: normal;
color: red;
text-align: center;
}
p {
font-family: Arial, Helvetica, sans-serif;
font-weight: normal;
color: white;
text-align: center;
}
body {
min-height: 100vh;
display: flex;
flex-direction: column;
gap: 30px;
margin: 0;
background-color: #1e1d20;
}
site-footer {
margin-top: auto;
width: 100%;
}
.row {
display: flex;
align-items: center;
margin-left: 10%;
margin-right: 10%;
}
.column {
flex: 50%;
align-items: center;
padding-left: 10px;
padding-right: 10px;
}
img {
display: block;
max-width: 100%;
height: auto;
border: 5px solid red;
border-radius: 15px;
}
.form-container {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
padding: 20px 0;
}
.form-container form {
background-color: #4b4b5a;
padding: 30px;
border-radius: 24px;
width: 100%;
max-width: 400px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
display: flex;
flex-direction: column;
color: white;
}
.form-container label {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
margin-bottom: 8px;
text-align: left;
}
.form-container input[type="text"] {
background-color: #1e1d20;
border: 2px solid #ff2a2a66;
border-radius: 8px;
padding: 12px;
color: white;
font-size: 14px;
margin-bottom: 20px;
outline: none;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-container input[type="text"]:focus {
border-color: #ff2a2a;
box-shadow: 0 0 8px rgba(255, 42, 42, 0.6);
}
.form-container .radio-group {
display: flex;
flex-direction: column;
gap: 12px;
margin-bottom: 25px;
}
.form-container .radio-group label {
display: flex;
align-items: center;
gap: 10px;
cursor: pointer;
margin: 0;
}
.form-container input[type="submit"] {
background-color: rgb(167, 0, 0);
color: white;
font-family: "Audiowide", serif;
font-size: 16px;
border: none;
border-radius: 8px;
padding: 12px;
cursor: pointer;
transition: background-color 0.2s ease, transform 0.1s ease;
}
.form-container input[type="submit"]:hover {
background-color: red;
}
@media screen and (max-width: 768px) {
.row {
flex-direction: column;
}
.column {
flex: 100%;
padding-bottom: 20px;
}
p {
text-align: center;
}
}