* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
:root {
--primary-color: #000000;
--secondary-color: #0973a4;
--secondary-color-dark: #047780;
--text-dark: #0d1319;
--text-light: #9ca3af;
--white: #ffffff;
--max-width: 1200px;
}
.section__container {
max-width: var(--max-width);
margin: auto;
padding: 5rem 1rem;
}
.section__title {
font-size: 2rem;
font-weight: 600;
text-align: center;
}
.section__title span {
color: var(--secondary-color);
}
.section__subtitle {
font-size: 1rem;
font-weight: 500;
text-align: center;
}
img {
width: 100%;
}
.btn {
padding: 1rem;
font-size: 0.9rem;
font-weight: 600;
outline: none;
border: none;
border-radius: 5px;
color: var(--white);
background-color: var(--secondary-color);
cursor: pointer;
transition: 0.3s;
}
.btn:hover {
background-color: var(--secondary-color-dark);
}
a {
text-decoration: none;
color: var(--white);
}
body {
color: var(--white);
font-family: "Poppins", sans-serif;
}
nav {
position: absolute;
width: 100%;
top: 0;
left: 50%;
transform: translateX(-50%);
max-width: var(--max-width);
padding: 1rem;
}
nav .nav__logo a {
font-size: 1.5rem;
font-weight: 600;
}
nav .nav__logo a span {
color: var(--secondary-color);
}
header {
height: 100vh;
background-image: url("https://images.pexels.com/photos/959284/pexels-photo-959284.jpeg?auto=compress&cs=tinysrgb&w=600");
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
}
.header__container {
height: 100%;
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
}
.header__container p {
color: var(--text-light);
max-width: 400px;
margin: 1rem 0;
}
.header__container p span {
color: var(--white);
padding: 0.5rem 1rem;
background-color: var(--secondary-color);
border-radius: 5px;
margin-right: 1rem;
}
.header__container h1 {
font-size: 3rem;
line-height: 3rem;
}
.action__btns {
display: flex;
align-items: center;
gap: 1rem;
flex-wrap: wrap;
}
.action__btns .video {
display: flex;
align-items: center;
gap: 1rem;
cursor: pointer;
}
.action__btns .video .play {
height: 50px;
width: 50px;
display: grid;
place-content: center;
font-size: 1.5rem;
border-radius: 100%;
background-color: var(--secondary-color);
transition: 0.3s;
}
.action__btns .video span {
font-size: 1rem;
font-weight: 600;
}
.action__btns .video:hover .play {
background-color: var(--secondary-color-dark);
}
@media (min-width: 640px) {
.section__title {
font-size: 2.5rem;
}
.header__container p {
margin: 2rem 0;
}
.header__container h1 {
font-size: 4rem;
line-height: 4rem;
}
.action__btns {
gap: 2rem;
}
.about__container {
flex-direction: row;
}
.about__content {
align-items: flex-start;
}
.about__details {
text-align: left;
}
Social Plugin