Files
loi-phan-internship/practice/practice-01/src/style/main.css
T
2023-06-29 17:02:14 +07:00

178 lines
3.0 KiB
CSS

@import url("./abstracts/variables.css");
@import url("./base/typo.css");
.header__background {
background-color: var(--primary-color);
margin-bottom: 60px;
}
.container {
display: flex;
width: 1175px;
align-items: center;
justify-content: space-between;
padding-top: 35px;
padding-bottom: 40px;
margin: auto;
color: var(--white);
font-family: var(--ff-primary-regular);
font-size: var(--fs-md);
}
.logo {
cursor: pointer;
}
.nav__lists {
list-style: none;
display: flex;
justify-content: space-between;
gap: 30px;
}
.nav__item-link {
text-decoration: none;
color: var(--white);
transition: 0.3s;
}
.nav__item-link:hover {
color: var(--text-dark);
}
/* Welcome section */
.welcome {
margin: auto;
width: 1180px;
display: flex;
gap: 120px;
padding-bottom: 82.87px;
align-items: center;
}
.welcome__content {
display: flex;
flex-direction: column;
gap: 15px;
}
.welcome__image {
width: 644.279px;
height: 378.13px;
}
.welcome__title {
font-family: var(--ff-primary-bold);
letter-spacing: 5px;
text-transform: uppercase;
color: var(--white);
}
.welcome__heading {
font-size: var(--fs-lg);
font-family: var(--ff-secondary-bold);
line-height: 125%;
color: var(--white);
}
.welcome__description {
text-transform: none;
font-size: var(--fs-sm);
letter-spacing: 0px;
font-family: var(--ff-primary-regular);
line-height: 125%;
color: var(--white);
margin-bottom: 25px;
}
.btn {
/* Display & Box Models */
border-radius: 5px;
display: flex;
align-items: center;
justify-content: center;
width: 170px;
height: 48px;
border: none;
/* Text */
font-family: var(--ff-primary-regular);
font-size: var(--fs-md);
text-decoration: none;
line-height: 125%;
/* Other */
cursor: pointer;
transition: 0.2s;
}
/* Button */
.btn-primary {
color: var(--black);
background-color: var(--white);
}
.btn-primary:hover {
background-color: var(--black);
color: var(--white);
}
.btn-secondary {
color: var(--white);
background-color: var(--black);
border: 1px solid var(--black);
}
.btn-secondary:hover {
background-color: var(--white);
color: var(--black);
}
/* Pattern Section */
.sponsor__container {
width: 100%;
max-width: var(--max-width);
margin: auto;
display: flex;
flex-direction: column;
align-items: center;
gap: 55px;
margin-bottom: 73px;
}
.sponsor__content {
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
max-width: 411px;
}
.sponsor__title {
font-family: var(--ff-primary-bold);
font-style: inherit;
line-height: 125%;
letter-spacing: 5px;
text-transform: uppercase;
color: var(--primary-color);
}
.sponsor__heading {
font-size: var(--fs-lg);
font-family: var(--ff-secondary-bold);
font-style: normal;
line-height: 125%;
}
.sponsor__description {
font-size: var(--fs-md);
font-family: var(--ff-primary-regular);
line-height: 125%;
text-align: center;
}
.sponsor__logo {
display: flex;
gap: 68px;
}