|
|
|
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap'); |
|
|
|
|
|
:root { |
|
--primary-color: #FF5C5C; |
|
--secondary-color: #FFF; |
|
--tertiary-color: #333; |
|
} |
|
|
|
|
|
body { |
|
font-family: 'Roboto', sans-serif; |
|
background-color: var(--secondary-color); |
|
color: var(--tertiary-color); |
|
margin: 0; |
|
padding: 0; |
|
} |
|
|
|
|
|
header { |
|
display: flex; |
|
align-items: center; |
|
justify-content: space-between; |
|
background-color: var(--primary-color); |
|
padding: 1rem; |
|
} |
|
|
|
|
|
.logo { |
|
font-size: 2rem; |
|
font-weight: 700; |
|
color: var(--secondary-color); |
|
} |
|
|
|
|
|
button { |
|
background-color: var(--secondary-color); |
|
color: var(--primary-color); |
|
border: none; |
|
border-radius: 5px; |
|
padding: 0.5rem 1rem; |
|
font-size: 1rem; |
|
font-weight: 700; |
|
cursor: pointer; |
|
transition: background-color 0.3s ease, color 0.3s ease; |
|
} |
|
|
|
button:hover { |
|
background-color: var(--primary-color); |
|
color: var(--secondary-color); |
|
} |
|
|
|
|
|
main { |
|
display: flex; |
|
flex-wrap: wrap; |
|
justify-content: space-between; |
|
max-width: 1200px; |
|
margin: 0 auto; |
|
padding: 2rem; |
|
} |
|
|
|
|
|
.video-wrapper { |
|
position: relative; |
|
width: 100%; |
|
padding-top: 56.25%; |
|
} |
|
|
|
|
|
#video { |
|
position: absolute; |
|
top: 0; |
|
left: 0; |
|
width: 100%; |
|
height: 100%; |
|
} |
|
|
|
|
|
#play-button { |
|
position: absolute; |
|
top: 50%; |
|
left: 50%; |
|
transform: translate(-50%, -50%); |
|
z-index: 1; |
|
font-size: 2rem; |
|
} |
|
|