214 lines
3.0 KiB
CSS
214 lines
3.0 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
|
|
@import url('https://fonts.googleapis.com/css2?family=Alkatra&family=Delicious+Handrawn&family=Roboto:wght@300&display=swap');
|
|
|
|
*
|
|
{
|
|
font-family: "Roboto Light", sans-serif;
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
li, a, button
|
|
{
|
|
font-weight: 500;
|
|
font-size: 16px;
|
|
color: #ecf0f1;
|
|
text-decoration: none;
|
|
}
|
|
|
|
@media only screen and (max-width: 18cm)
|
|
{
|
|
li, a, button
|
|
{
|
|
font-size: 25px;
|
|
}
|
|
|
|
.hideOnMobile
|
|
{
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
header
|
|
{
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 30px 10%;
|
|
background-color: #24242A;
|
|
}
|
|
|
|
.navLinks
|
|
{
|
|
list-style: none;
|
|
}
|
|
|
|
@media only screen and (max-width: 18cm)
|
|
{
|
|
.navLinks
|
|
{
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.navLinks li
|
|
{
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
padding: 0px 20px;
|
|
}
|
|
|
|
|
|
.navLinks li a
|
|
{
|
|
transition: all 0.5s ease 0s;
|
|
}
|
|
|
|
.navLinks li a:hover, .navLinks li:hover
|
|
{
|
|
color: #0088a9;
|
|
}
|
|
|
|
button
|
|
{
|
|
padding: 9px 25px;
|
|
background-color: rgba(0, 136, 169, 1);
|
|
border: none;
|
|
border-radius: 50px;
|
|
cursor: pointer;
|
|
transition: all 0.5s ease 0s;
|
|
}
|
|
|
|
button:hover
|
|
{
|
|
background-color: rgba(0, 136, 169, 0.3);
|
|
}
|
|
|
|
nav
|
|
{
|
|
order: 1;
|
|
}
|
|
|
|
h1
|
|
{
|
|
text-align: center;
|
|
font-size: 50px;
|
|
|
|
color: white;
|
|
}
|
|
|
|
.margin-top
|
|
{
|
|
margin-top: 50px;
|
|
}
|
|
|
|
body
|
|
{
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background-size: cover;
|
|
background-color: #31313a;
|
|
}
|
|
|
|
|
|
.dropdown div
|
|
{
|
|
display: none;
|
|
position: absolute;
|
|
padding: 20px;
|
|
margin-left: -90px;
|
|
background-color: #24242A;
|
|
border-radius: 50px
|
|
}
|
|
|
|
.dropdown div ul li
|
|
{
|
|
margin-top: 10px;
|
|
margin-bottom: 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
@media only screen and (max-width: 18cm)
|
|
{
|
|
.dropdown div ul li
|
|
{
|
|
margin-top: 5px;
|
|
margin-bottom: 5px;
|
|
text-align: center;
|
|
padding: 0;
|
|
}
|
|
|
|
.dropdown div ul li
|
|
{
|
|
margin-top: 5px;
|
|
margin-bottom: 5px;
|
|
text-align: center;
|
|
padding: 0;
|
|
}
|
|
|
|
.dropdown div
|
|
{
|
|
right: 150px;
|
|
border-radius: 50px 0px 0 50px;
|
|
top: 10px;
|
|
}
|
|
|
|
}
|
|
|
|
.dropdown:hover div ul, .dropdown:hover div
|
|
{
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.mobileMenuButton
|
|
{
|
|
background-color: rgba(0, 0, 0, 0);
|
|
display: none;
|
|
}
|
|
|
|
@media only screen and (max-width: 18cm)
|
|
{
|
|
.mobileMenuButton
|
|
{
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
.mobileMenuButton svg
|
|
{
|
|
width: 50px;
|
|
height: 50px;
|
|
position: absolute;
|
|
right: 30px;
|
|
top: 30px
|
|
}
|
|
|
|
.mobileMenuDropDown
|
|
{
|
|
display: none;
|
|
background-color: #24242A;
|
|
}
|
|
|
|
|
|
.mobileMenuDropDown li
|
|
{
|
|
list-style: none;
|
|
margin-top: 10px;
|
|
margin-bottom: 10px;
|
|
text-align: center;
|
|
padding: 20px;
|
|
}
|
|
|
|
|
|
.mobileMenuButton:hover .mobileMenuDropDown
|
|
{
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: absolute;
|
|
right: 0;
|
|
height: 100vh;
|
|
margin-top: 20px;
|
|
}
|