Spaces:
Sleeping
Sleeping
File size: 3,678 Bytes
f34a8a6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 |
body {
margin: 0;
width: 100%;
background-color: var(--blanco-pagina);
display: flex;
flex-direction: column;
min-height: 100vh;
}
.container {
display: flex;
flex-direction: column;
min-height: 100vh;
}
.main-div {
display: flex;
align-items: center;
padding: 20px;
text-align: center;
flex-direction: column;
flex: 1;
width: 100vw;
padding: 0;
}
.main-div h1 {
color: var(--verde-500);
font-size: 500%;
text-shadow: -2px -2px 0 var(--verde-900), -2px 2px 0 var(--verde-900), 2px -2px 0 var(--verde-900),
2px 2px 0 var(--verde-900);
}
@media (max-width: 400px) {
.main-div h1 {
font-size: 400%;
}
}
.main-div div {
display: flex;
flex-direction: row;
margin: 20px;
align-items: center;
}
.main-div div img {
aspect-ratio: 1/1;
max-height: 400px;
min-height: 380px;
padding: 40px;
border-radius: 25%;
}
.main-div div p {
padding: 40px;
font-size: 3vh;
overflow-wrap: break-word;
background-color: #ffd7b5;
border-radius: 30px;
max-width: 800px;
border: 4px outset rgb(36, 36, 36);
}
@media (max-width: 860px) {
.main-div div {
flex-direction: column-reverse;
}
.main-div div img {
max-height: 300px;
}
}
.alert {
padding: 10px;
margin-bottom: 15px;
border-radius: 5px;
font-size: 14px;
}
.alert.error {
background-color: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}
.alert.success {
background-color: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}
.main-div div.contacto {
display: flex;
flex-direction: column;
margin: 0px 0px 15px 0px;
}
.main-div div.contacto div.flash-messages {
width: 310px;
}
.main-div div.contacto p {
border: 0;
background-color: transparent;
margin: 0;
width: 70vw;
}
.main-div div.contacto form {
display: flex;
flex-direction: column;
text-align: left;
align-items: start;
}
.main-div div.contacto form label {
font-size: x-large;
}
.main-div div.contacto form label span.symbol{
display: inline-flex;
width: 28px;
color: rgb(248, 248, 248);
background: var(--verde-600);
border-radius: 5px;
justify-content: center;
align-items: center;
}
.main-div div.contacto form input {
padding: 10px;
width: 45vw;
border-radius: 5px;
border: 2px solid grey;
margin: 15px;
font-size: large;
}
.main-div div.contacto form textarea {
padding: 10px;
width: 45vw;
border-radius: 5px;
border: 2px solid grey;
margin: 15px;
font-size: large;
min-height: 150px;
max-height: 220px;
overflow-y: auto;
resize: vertical;
}
@media (max-width: 1024px) {
.main-div div.contacto form input,
.main-div div.contacto form textarea {
width: 70vw;
}
}
div.contacto form input#Enviar {
background-color: var(--verde-400);
font-size: larger;
color: var(--negro-950);
transition: ease-out 0.3s;
}
div.contacto form input#Enviar:hover {
background-color: var(--verde-500);
cursor: pointer;
}
/* MODO OSCURO */
body.dark-mode {
background-color: var(--dark-blue);
color: rgb(0, 0, 0);
}
body.dark-mode .main-div h1 {
text-shadow: -2px -2px 0 var(--verde-900), -2px 2px 0 var(--verde-900), 2px -2px 0 var(--verde-900),
2px 2px 0 var(--verde-900);
}
body.dark-mode .main-div p {
border: 4px outset white;
background-color: #fdffc0;
}
body.dark-mode .main-div div.contacto p {
background-color: transparent;
border: 0;
color: white;
}
body.dark-mode .main-div div.contacto #form_mail{
color: white;
} |