Spaces:
Sleeping
Sleeping
File size: 3,218 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 | * {
box-sizing: border-box;
}
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: 450%;
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);
margin-bottom: 20px;
}
@media (max-width: 500px) {
.main-div h1 {
font-size: 300%;
}
}
.main-div span {
font-weight: 600;
font-size: larger;
width: 80vw;
}
.main-div div.video {
position: relative;
background: var(--negro-950) url('../img/LP-banner.webp');
background-size: cover;
background-repeat: no-repeat;
width: 100vw;
z-index: 0;
min-height: 360px;
margin: 0 auto;
}
.main-div div.video div.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: var(--overlay-intensidad); /* Oscurecimiento con un fondo semitransparente */
z-index: 1;
}
.main-div div.video iframe {
width: 60%;
aspect-ratio: 16/9;
min-height: 360px;
max-height: min-content;
border: none;
z-index: 2;
position: relative;
}
.main-div section {
display: grid;
grid-template-columns: repeat(2, 1fr);
padding: 20px;
}
@media (max-width: 768px) {
.main-div section {
grid-template-columns: repeat(1, 1fr);
}
.main-div div.video iframe {
width: 90%;
}
}
@media (max-width: 520px) {
.main-div div.video iframe {
width: 100%;
}
}
.main-div section article {
margin: 10px;
border: 1px solid #121212;
color: white;
border-radius: 4px;
}
.main-div article .toggle-button {
cursor: pointer;
display: flex;
align-items: center;
padding: 10px;
border-bottom: 1px solid #121212;
font-weight: bold;
flex-direction: column;
}
.main-div article .toggle-button label {
text-shadow: -2px -2px 0 #004100, -2px 2px 0 #004100, 2px -2px 0 #004100,
2px 2px 0 #004100;
}
.main-div article .toggle-content {
max-height: 0px;
overflow: hidden;
transition: max-height 0.2s ease-out;
}
.main-div .toggle-content.show {
max-height: auto;
}
.main-div article .toggle-content p {
overflow-wrap: break-word;
text-align: justify;
margin: 20px;
}
.main-div article .toggle-content .item-content {
color: black;
}
.main-div article .toggle-content .item-content p {
line-height: 25px;
font-size: 15px;
font-weight: 600;
}
.toggle-content .item-content ul li {
font-weight: 600;
font-size: 13px;
text-align: left;
line-height: 30px;
}
/* MODO OSCURO */
body.dark-mode {
background-color: var(--dark-blue);
color: white;
}
body.dark-mode .main-div h1 {
text-shadow: -2px -2px 0 var(--verde-800), 2px 2px 0 var(--verde-800), 2px -2px 0 var(--verde-800),
2px 2px 0 var(--verde-800);
}
|