2023-11-18 02:05:05 +04:00

241 lines
4.0 KiB
CSS

.root {
--color1: #363434;
--color2: #2c2a2a;
--color3: #a721fa;
}
*, *::before, *::after {
margin: 0;
padding: 0;
border: 0;
box-sizing: border-box;
}
a {
text-decoration: none;
color: inherit;
transition: .4s;
}
input {
padding-left: 20px;
}
input::placeholder {
position: absolute;
top: 0;
left: 0;
font-size: 14px;
font-weight: 400;
padding-top: 16px;
padding-left: 20px;
color: #363434;
}
button {
display: block;
border: none;
background-color: transparent;
font: inherit;
cursor: pointer;
transition: .4s;
}
ul, ol, li {
list-style: none;
padding-left: 0;
}
img {
max-width: 100%;
max-height: 100%;
vertical-align: top;
}
h1, h2, h3, h4, h5, h6 {
font-weight: inherit;
font-size: inherit;
}
html, body {
height: 100%;
line-height: 1;
font-family: Montserrat;
background-color: #363434;
}
.wrapper {
position: relative;
display: flex;
flex-direction: column;
min-height: 100%;
overflow: hidden;
}
._container {
max-width: 1680px;
margin: 0px auto;
padding: 0px 15px;
box-sizing: content-box;
}
@media (max-width: 420px) {
._container {
padding: 0px 0px;
}
}
/* Header */
.header {
position: absolute;
width: 100%;
left: 0;
top: 0;
background-color: #2c2a2a;
}
.header__container {
display: flex;
justify-content: space-between;
align-items:center;
min-height: 150px;
}
.header__logo {
display: flex;
align-items: center;
}
.logo__img {
max-width: 100px;
max-height: 100px;
}
.logo__nametag {
margin: 0px 0px 0px 30px;
line-height: 1.2;
}
@media (max-width: 992px) {
.logo__nametag {
margin: 0px 0px 0px 15px;
}
}
@media (max-width: 479px) {
.logo__nametag {
margin: 0px 0px 0px 0px;
}
}
.nametag__title {
font-size: 50px;
font-weight: 700;
color: #a721fa;
}
@media (max-width: 992px) {
.nametag__title {
font-size: 30px;
}
}
.nametag__subtitle {
font-size: 16px;
font-weight: 700;
color: #fff;
}
.nav__list {
display: flex;
flex-wrap: wrap;
}
.nav__item:not(:last-child) {
margin-right: 50px;
}
@media (max-width: 479px) {
.nav__item.nav__item:not(:last-child) {
margin-right: 10px;
}
}
.nav__link {
color: #fff;
font-size: 20px;
font-weight: 600;
}
.nav__link:hover {
color: #a721fa;
}
.account {
display: flex;
align-items: center;
margin-bottom: 20px;
}
.account__img {
width: 50px;
height: 50px;
}
.account__link {
color: #fff;
font-size: 20px;
font-weight: 600;
}
.account__link:hover {
color: #a721fa;
}
/* Main */
.main {
flex: 1 1 auto;
width: 100%;
}
.main__container {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
margin-top: 150px;
min-height: 830px;
}
/* Image */
.main__banner {
min-width: 596px;
min-height: 596px;
margin-top: 90px;
}
@media (max-width: 650px) {
.main__banner {
min-width: 375px;
max-height: 375px;
}
}
.banner__square1 {
position: absolute;
min-width: 546px;
min-height: 546px;
margin-left: 50px;
background-color: #fff;
border-radius: 70px;
}
@media (max-width: 650px) {
.banner__square1 {
min-width: 325px;
min-height: 325px;
}
}
.banner__square2 {
position: absolute;
display: flex;
justify-content: center;
align-items: center;
min-width: 546px;
min-height: 546px;
margin-top: 50px;
background-color: #a721fa;
border-radius: 70px;
border: solid 5px;
border-color: #fff;
}
@media (max-width: 650px) {
.banner__square2 {
min-width: 325px;
min-height: 325px;
}
}
/* Footer */
.footer {
width: 100%;
background-color: #2c2a2a;
}
.footer__container {
display: flex;
align-items: center;
justify-content: space-between;
min-height: 100px;
}
.footer__privacy {
color: #fff;
font-size: 20px;
font-weight: 600;
}