2024-02-19 20:54:29 +00:00
|
|
|
/*#region Variables*/
|
2024-02-19 20:16:52 +00:00
|
|
|
:root {
|
|
|
|
--black: black;
|
2024-02-19 20:54:29 +00:00
|
|
|
--trancelucent: rgba(0, 0, 0, 0.5);
|
2024-02-19 20:16:52 +00:00
|
|
|
--white: white;
|
|
|
|
--blue: #007ea7;
|
|
|
|
--navy-blue: #003459;
|
|
|
|
--ice_blue: #c2eafc;
|
2024-02-19 20:54:29 +00:00
|
|
|
|
|
|
|
--spacing-small: 4px;
|
|
|
|
--spacing-big: 16px;
|
2024-02-19 20:16:52 +00:00
|
|
|
}
|
|
|
|
/*#endregion*/
|
2024-02-19 20:34:04 +00:00
|
|
|
/*#region Base Styling*/
|
|
|
|
html,
|
|
|
|
body {
|
2024-02-10 15:34:23 +00:00
|
|
|
margin: 0;
|
2024-02-19 19:40:06 +00:00
|
|
|
padding: 0;
|
2024-02-19 20:16:52 +00:00
|
|
|
}
|
|
|
|
body {
|
|
|
|
font-family: Arial, sans-serif;
|
|
|
|
background-color: var(--ice_blue);
|
2024-02-19 20:54:29 +00:00
|
|
|
color: var(--black);
|
2024-02-19 19:40:06 +00:00
|
|
|
}
|
2024-02-20 01:51:52 +00:00
|
|
|
|
2024-02-19 20:16:52 +00:00
|
|
|
button {
|
|
|
|
background-color: var(--blue);
|
2024-02-20 01:51:52 +00:00
|
|
|
color: var(--white);
|
2024-02-19 20:54:29 +00:00
|
|
|
padding: var(--spacing-small);
|
2024-02-19 20:16:52 +00:00
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
button:hover {
|
2024-02-19 20:54:29 +00:00
|
|
|
background-color: var(--navy-blue);
|
2024-02-19 20:16:52 +00:00
|
|
|
}
|
|
|
|
/*#endregion*/
|
|
|
|
header {
|
2024-02-19 20:54:29 +00:00
|
|
|
position: sticky;
|
2024-02-19 20:16:52 +00:00
|
|
|
background-color: var(--navy-blue);
|
2024-02-19 20:54:29 +00:00
|
|
|
box-shadow: 0 var(--spacing-small) var(--spacing-small) var(--trancelucent);
|
2024-02-19 20:16:52 +00:00
|
|
|
color: var(--white);
|
2024-02-19 20:54:29 +00:00
|
|
|
height: 64px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2024-02-20 01:51:52 +00:00
|
|
|
header > h3 {
|
2024-02-19 20:54:29 +00:00
|
|
|
margin: 0;
|
2024-02-20 01:51:52 +00:00
|
|
|
margin-right: 70%;
|
|
|
|
}
|
|
|
|
header > img {
|
|
|
|
position: fixed;
|
|
|
|
padding-right: 89%;
|
|
|
|
aspect-ratio: 1/1;
|
|
|
|
object-fit: cover;
|
|
|
|
width: 8%;
|
|
|
|
height: 8%;
|
2024-02-19 19:40:06 +00:00
|
|
|
}
|
2024-02-20 01:51:52 +00:00
|
|
|
|
|
|
|
/* Add a black background color to the top navigation */
|
|
|
|
nav {
|
|
|
|
background-color: #333;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Style the links inside the navigation bar */
|
|
|
|
nav a {
|
|
|
|
float: left;
|
|
|
|
color: #f2f2f2;
|
|
|
|
text-align: center;
|
|
|
|
padding: 14px 16px;
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 17px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Change the color of links on hover */
|
|
|
|
nav a:hover {
|
|
|
|
background-color: #ddd;
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Add a color to the active/current link */
|
|
|
|
nav a.active {
|
|
|
|
background-color: #04aa6d;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
2024-02-19 20:16:52 +00:00
|
|
|
/*#region Entries*/
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
display: grid;
|
2024-02-19 20:34:04 +00:00
|
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
2024-02-19 20:54:29 +00:00
|
|
|
gap: var(--spacing-big);
|
2024-02-19 19:40:06 +00:00
|
|
|
}
|
2024-02-19 20:16:52 +00:00
|
|
|
li {
|
|
|
|
background-color: var(--white);
|
2024-02-19 20:54:29 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: var(--spacing-big);
|
2024-02-19 20:16:52 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2024-02-19 19:40:06 +00:00
|
|
|
}
|
2024-02-19 20:16:52 +00:00
|
|
|
li :nth-child(3) {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2024-02-20 01:51:52 +00:00
|
|
|
li > figure {
|
2024-02-19 20:54:29 +00:00
|
|
|
position: relative;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
li > figure > img {
|
2024-02-19 20:16:52 +00:00
|
|
|
aspect-ratio: 5/2;
|
|
|
|
object-fit: cover;
|
2024-02-19 20:54:29 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2024-02-19 20:34:04 +00:00
|
|
|
}
|
2024-02-19 20:54:29 +00:00
|
|
|
li > figure::before {
|
|
|
|
content: "";
|
2024-02-19 20:34:04 +00:00
|
|
|
position: absolute;
|
2024-02-19 20:54:29 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
box-shadow: inset 0 0 16px 2px var(--trancelucent);
|
2024-02-19 20:16:52 +00:00
|
|
|
}
|
|
|
|
/*#endregion*/
|
2024-02-19 19:40:06 +00:00
|
|
|
footer {
|
2024-02-19 20:16:52 +00:00
|
|
|
background-color: var(--blue);
|
|
|
|
outline: 5px solid var(--black);
|
|
|
|
color: var(--white);
|
2024-02-19 20:54:29 +00:00
|
|
|
height: 64px;
|
2024-02-19 19:40:06 +00:00
|
|
|
width: 100%;
|
2024-02-19 20:54:29 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
footer > p {
|
|
|
|
margin: 0;
|
|
|
|
height: min-content;
|
2024-02-19 19:40:06 +00:00
|
|
|
}
|