Style
Style
margin: 0;
padding: 0;
font-family: var(--font-family);
box-sizing: border-box;
}
:root {
--color-primary: #029ee0;
--color-primary-dark1: #0092ce;
--color-secondary: #006f9e;
--color-dark: #0a0908;
--color-background: #fff;
--color-background2: #f5f7fa;
--font-family: "Roboto", sans-serif;
}
body {
width: 100vw;
height: 100vh;
background-color: var(--color-background);
overflow: hidden;
}
li {
display: inline-block;
}
a {
text-decoration: none;
}
header {
height: 100%;
}
.topbar {
display: flex;
justify-content: space-between;
padding: 0.75rem 3rem;
}
.topbar .info {
display: flex;
gap: 2rem;
}
.topbar .info p,
.topbar .info a {
display: inline-block;
}
.topbar .info a {
color: var(--color-secondary);
}
.topbar .info a:hover {
text-decoration: underline;
}
.topbar .info p {
cursor: pointer;
color: var(--color-dark);
}
.topbar ul li a {
color: var(--color-primary-dark1);
margin-left: 1rem;
}
.topbar ul li a:hover {
color: var(--color-secondary);
}
.navbar {
padding: 0.95em 2em 0.95em 1em;
background: var(--color-primary);
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
width: 100%;
}
.navbar ul li a {
/* margin-left: 1.5rem; */
font-size: 1.1rem;
color: #fff;
}
.navbar ul li a:hover {
text-decoration: underline;
}
li[aria-current="page"] a:hover{
text-decoration: none !important;
}
/*
#close-side-nav {
border: none;
font-size: 1.5rem;
background-color: transparent;
display: none;
} */
/* Hamburger menu */
.hamburger {
/* border: thin solid #fff; */
display: flex;
flex-direction: column;
gap: .3em;
cursor: pointer;
margin-left: auto;
z-index: 999;
display: none;
}
.hamburger.active .line3 {
transform: rotate(-45deg) translateY(-8px);
}
.hamburger.active .line2 {
opacity: 0;
display: none;
}
.hero-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
place-content: center;
place-items: center;
gap: 2em;
/* border: 2px solid red; */
padding: 0.5em 0;
min-height: 80vh;
background: linear-gradient(45deg, rgb(0 0 0 / .12), rgb(0 0 0 / rgb(0 0
0 / .12)));
}
.hero-container :where(.hero-text){
flex-basis: 50%;
display: flex;
}
.hero-btns {
display: grid;
/* border: 3px solid var(--color-primary-dark1); */
grid-template-columns: repeat(2, 1fr);
}
/* .hero-container .hero-img {
} */
.hero-container .hero-text {
flex-direction: column;
justify-content: center;
align-items: flex-start;
gap: 2.5rem;
text-shadow: 3px 3px 10px rgb(0 0 0 / .12);
padding: 1em 0 0 3em;
}
.hero-container .hero-text h1 {
font-size: 10vmin;
color: var(--color-primary);
line-height: 5rem;
}
.hero-container .hero-text h1 a {
color: transparent;
-webkit-text-stroke: var(--color-primary) 3px;
}
/* Media */
@media screen and (max-width: 750px) {
.hero-text {
text-align: center;
}
.navbar {
justify-content: unset;
/* align-items: unset; */
}