Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 5

style.

css
@import url("https://fonts.googleapis.com/css2?
family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

:root {
--primary-color: #225e69;
--secondary-color: #ff6f00;
--white: #ffffff;
--max-width: 1200px;
}

* {
padding: 0;
margin: 0;
box-sizing: border-box;
}

a {
text-decoration: none;
transition: 0.3s;
}

body {
font-family: "Montserrat", sans-serif;
min-height: 100vh;
}

.container {
display: flex;
width: 100%;
max-width: 100%;
margin: 0 auto;
}

nav {
position: fixed;
width: 100%;
background-color: var(--primary-color);
z-index: 9;
}

.nav__bar {
width: 100%;
max-width: var(--max-width);
margin: 0 auto;
}

.nav__header {
padding: 1rem;
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
background-color: var(--primary-color);
}

.nav__logo a {
font-size: 1.5rem;
font-weight: 600;
color: var(--white);
}

.nav__logo a span {
color: var(--secondary-color);
}

.nav__menu__btn {
font-size: 1.5rem;
color: var(--white);
cursor: pointer;
}

.nav__links {
position: absolute;
top: 60px;
left: 0;
width: 100%;
padding: 2rem;
list-style: none;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 2rem;
background-color: var(--primary-color);
transition: 0.5s;
z-index: -1;
transform: translateY(-100%);
}

.nav__links.open {
transform: translateY(0);
}

.nav__links a {
white-space: nowrap;
color:var(--white) ;
transition: 0.3s;
}

.nav__links a:hover {
color: var(--secondary-color);
}

.content {
position: relative;
min-height: 100vh;
width: 50%;
padding: 8rem 1rem;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
text-align: center;
background-color: rgba(1, 19, 27, 0.9);
}

.content h1 {
margin-bottom: 2rem;
font-size: 4rem;
font-weight: 700;
line-height: 4rem;
color: var(--white);
}

.content h4 {
margin-bottom: 2rem;
font-size: 1.5rem;
font-weight: 200;
color: var(--white);
}

.content form {
width: 100%;
max-width: 450px;
margin: 0 auto;
display: flex;
justify-content: left;

.start-button {
padding: 10px 20px;
outline: none;
border: none;
font-size: 1.75rem;
color: var(--white);
background-color: var(--secondary-color);
cursor: pointer;
border-radius: 5px;
}

.content p {
margin-bottom: 4rem;
font-weight: 200;
color: var(--white);
line-height: 1.75rem;
}

.socials {
display: flex;
align-items: center;
gap: 1rem;
}

.socials a {
font-size: 1.5rem;
color: var(--primary-color);
}

.socials a:hover {
color: var(--white);
}

.image-container {
width: 50%;
height: 100vh;
overflow: hidden;
}

.image-container img {
width: 100%;
height: 100%;
object-fit: cover;
}

.about {
padding: 4rem 1rem;
background-color: rgba(1, 19, 27, 0.8);
text-align: center;
color: var(--white);
}

.about h2 {
font-size: 2.5rem;
margin-bottom: 2rem;
}

.image-row {
display: flex;
justify-content: space-between;
}

.image-row img {
width: calc(33.33% - 10px);
height: auto;
max-width: 300px;
margin-right: 5px;
}

.image-row img:last-child {
margin-right: 0;
}

@media (min-width: 540px) {


.content h1 {
font-size: 4.5rem;
line-height: 4.5rem;
}

.content h4 {
font-size: 1.75rem;
}
}

@media (min-width: 768px) {


nav {
position: static;
background-color: rgba(1, 19, 27, 1);
}

.nav__bar {
padding: 2rem 1rem;
display: flex;
align-items: center;
justify-content: space-between;
gap: 2rem;
}

.nav__header {
padding: 0;
background-color: transparent;
}

.nav__menu__btn {
display: none;
}

.nav__links {
position: static;
padding: 0;
flex-direction: row;
justify-content: flex-end;
background-color: transparent;
transform: none;
z-index: unset;
}

.content {
padding: 5rem 1rem;
align-items: flex-start;
text-align: left;
}

.content h1 {
font-size: 5rem;
line-height: 5rem;
}

.content h4 {
font-size: 2rem;
}
}

You might also like