209 lines
3.9 KiB
CSS
209 lines
3.9 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500;700&display=swap');
|
|
|
|
*, *::before, *::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
height: 100vh;
|
|
font-family: 'Quicksand', sans-serif;
|
|
margin: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
header.navbar-container {
|
|
max-width: 1200px;
|
|
width: 100%;
|
|
margin-inline: auto;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding-block: 1rem;
|
|
z-index: 999;
|
|
position: sticky;
|
|
display: flex;
|
|
}
|
|
|
|
header.navbar-container .logo img {
|
|
width: 150px;
|
|
}
|
|
|
|
header.navbar-container .nav-list ul {
|
|
padding-left: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 2rem 1rem;
|
|
}
|
|
|
|
header.navbar-container .nav-list li {
|
|
list-style-type: none;
|
|
}
|
|
|
|
header.navbar-container .nav-list li a {
|
|
text-decoration: none;
|
|
font-size: 1.05rem;
|
|
font-weight: 500;
|
|
color: #435ebe;
|
|
padding: .5rem 1.5rem;
|
|
border-radius: 999px;
|
|
transition: all .2s ease-in-out;
|
|
}
|
|
|
|
header.navbar-container .nav-list li:hover a {
|
|
background-color: #435ebe;
|
|
color: white;
|
|
}
|
|
|
|
header.navbar-container .nav-list .button {
|
|
font-size: 1.05rem;
|
|
font-weight: 500;
|
|
color: #435ebe;
|
|
padding: .5rem 2rem;
|
|
transition: all .2s ease-in-out;
|
|
border: 2px solid #435ebe;
|
|
background-color: transparent;
|
|
border-radius: 500px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
main {
|
|
max-width: 1200px;
|
|
width: 100%;
|
|
margin-inline: auto;
|
|
padding: 2rem 1.5rem;
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
main .content {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
main .content .content-description {
|
|
flex: 1 1;
|
|
}
|
|
|
|
main .content .content-description .title {
|
|
font-size: 3.5rem;
|
|
margin-block: 1rem;
|
|
color: #435ebe;
|
|
}
|
|
|
|
main .content .content-description p {
|
|
line-height: 1.7rem;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
main .content .content-description button {
|
|
padding: .8rem 2.5rem;
|
|
margin-block-start: 1rem;
|
|
text-transform: uppercase;
|
|
font-weight: 700;
|
|
font-size: 1rem;
|
|
font-family: 'Quicksand', sans-serif;
|
|
color: white;
|
|
border: 3px solid transparent;
|
|
border-radius: 999px;
|
|
background-color: #435ebe;
|
|
cursor: pointer;
|
|
transition: all .15s ease-in;
|
|
}
|
|
|
|
main .content .content-description button:hover {
|
|
border: 3px solid #435ebe;
|
|
color: #435ebe;
|
|
background-color: transparent;
|
|
}
|
|
|
|
main .content .content-image {
|
|
flex: 1;
|
|
display: flex;
|
|
}
|
|
|
|
main .content .content-image img {
|
|
margin: auto;
|
|
min-width: 250px;
|
|
width: 400px;
|
|
}
|
|
|
|
main aside {
|
|
position: fixed;
|
|
inset-block: 0;
|
|
inset-inline-end: 0;
|
|
}
|
|
|
|
main aside .social-media {
|
|
height: 100%;
|
|
display: flex;
|
|
}
|
|
|
|
main aside .social-media ul {
|
|
padding: 1.5rem 1rem;
|
|
margin: auto;
|
|
border-top-left-radius: 12px;
|
|
border-bottom-left-radius: 12px;
|
|
background-color: #435ebe;
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
main aside .social-media li {
|
|
list-style-type: none;
|
|
}
|
|
|
|
main aside .social-media li a {
|
|
text-decoration: none;
|
|
font-size: 1.5rem;
|
|
color: white;
|
|
transition: all .1s ease-in-out;
|
|
}
|
|
|
|
main aside .social-media li a:hover {
|
|
color: #8a805b;
|
|
}
|
|
|
|
footer {
|
|
padding: 10px;
|
|
color: white;
|
|
background-color: #435ebe;
|
|
text-align: center;
|
|
font-weight: bold;
|
|
}
|
|
|
|
@media screen and (max-width: 768px) {
|
|
header.navbar-container {
|
|
flex-direction: column;
|
|
}
|
|
|
|
header.navbar-container .nav-list ul {
|
|
flex-wrap: wrap;
|
|
column-gap: .5rem;
|
|
}
|
|
|
|
main {
|
|
padding: 1rem 3rem;
|
|
}
|
|
|
|
main .content {
|
|
flex-direction: column;
|
|
gap: 2rem;
|
|
}
|
|
|
|
main .content .content-description .title {
|
|
font-size: 3rem;
|
|
}
|
|
|
|
main .content .content-description p {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
main .content .content-image {
|
|
order: -1;
|
|
}
|
|
} |