113 lines
1.8 KiB
CSS
113 lines
1.8 KiB
CSS
.header {
|
|
display: flex;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
.menu__link, .valut__title, label, .button {
|
|
color: var(--color-white-100);
|
|
text-shadow: 0.3125rem 0.0625rem 0.1875rem var(--color-black);
|
|
}
|
|
|
|
|
|
.menu {
|
|
display: flex;
|
|
gap: 4rem;
|
|
list-style: none;
|
|
margin-top: 3rem;
|
|
}
|
|
|
|
.menu__link {
|
|
font-size: 1.4rem;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.menu__link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.img {
|
|
display: flex;
|
|
position: relative;
|
|
}
|
|
|
|
.valut {
|
|
position: relative;
|
|
top: 3rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32rem;
|
|
height: 32rem;
|
|
}
|
|
|
|
.valut__title {
|
|
position: absolute;
|
|
top: clamp(-9.5rem, -10vh ,-7.5rem);
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
font-size: 3.5rem;
|
|
font-family: 'Anton', sans-serif;
|
|
line-height: 1;
|
|
letter-spacing: 0.1875rem;
|
|
text-transform: uppercase;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.valut__content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.6rem;
|
|
position: absolute;
|
|
bottom: -3.875rem;
|
|
left: 48.5%;
|
|
transform: translateX(-50%);
|
|
background: var(--color-background-secondary);
|
|
padding: 0.8rem 2.4rem;
|
|
border-radius: 0.5rem;
|
|
border: 0.25rem solid var(--color-black);
|
|
}
|
|
|
|
.valut__item {
|
|
display: flex;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.valut__item label{
|
|
width: 2.4rem;
|
|
text-align: right;
|
|
}
|
|
|
|
.valut__img {
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.valut__img img {
|
|
position: relative;
|
|
top: -1.5rem;
|
|
left: -0.25rem;
|
|
width: 31.25rem;
|
|
height: 31.25rem;
|
|
}
|
|
|
|
.valut__button {
|
|
position: absolute;
|
|
bottom: -3.25rem;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.section {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100vh;
|
|
}
|
|
|
|
.section--hero {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|