/* Bebas Neue Pro Font */
@import url("https://use.typekit.net/cez4jma.css");

/* All */
*{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

/* Body */
body{
    background-color: black;
    color: whitesmoke;
    font-family: bebas-neue-pro, sans-serif;
}

/* Links */
a{
    text-decoration: none;
    color: rgb(210, 36, 42);
    display: inline-block;
}

/* Links, hover */
a:hover{
    color: rgb(248, 71, 77);
    transform: scale(1.5);
    transition: 0.1s;
}

/* Logo link */
.logo-link:hover{
    transform: none;
}

/* Nav list items */
nav li{
    list-style-type: none;
    position: relative;
    font-size: large;
}

/*==== Header ====*/
header {
    display: flex;
    flex-direction: column;
}

/* H1 */
header h1{
    order: 2;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    align-self: center;
    font-size: xxx-large;
}

/*---- Navigation Bar ----*/
nav {
    background-color: #222;
    padding: 0.25em 0.25em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    order: -1;
}

/* Navigation list */
nav ul {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/*---- Dropdown ----*/

/* Dropdown items, hidden */
.dropdown-items{
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    position: absolute; /* Position relative to the parent */
    top: 120%;
    background-color: #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    min-width: 150px;
    z-index: 10;
    display: block;
    border-radius: 20%;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

/* Dropdown list items */
.dropdown-items li{
    list-style: none;
}

/* Dropdown items links */
.dropdown-items a {
    color: whitesmoke;
    padding: 0.5rem 1rem;
    display: block;
    background-color: #333;
    transition: background-color 0.2s ease;
    border-radius: 0px;
}

/* Last dropdown item link, curved bottom for better hover effect */
.last-dropdown-item a {
    color: whitesmoke;
    padding: 0.5rem 1rem;
    display: block;
    background-color: #333;
    transition: background-color 0.2s ease;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}

/* First dropdown item link, curved top for better hover effect */
.first-dropdown-item a {
    color: whitesmoke;
    padding: 0.5rem 1rem;
    display: block;
    background-color: #333;
    transition: background-color 0.2s ease;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

/* Dropdown items, hover */
.dropdown-items a:hover {
    background-color: #444;
    transform: none;
}

/* First dropdown item, hover */
.first-dropdown-item a:hover{
    background-color: #444;
    transform: none;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

/* Last dropdown item, hover */
.last-dropdown-item a:hover{
    background-color: #444;
    transform: none;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}

/* Dropdown fade-in */
.dropdown:hover .dropdown-items {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Move to default position */
    display: block;
}

/* Logo Nav image */
nav li img {
    height: 4em;
    width: auto;
}

/* Header tagline */
header p {
    padding-top: 0.5rem;
    padding-bottom: 1rem;
    font-size: 1rem;
    font-style: italic;
    color: gray;
    text-align: center;
    order: 3;
}

/* WIP home link */
header p a{
    font-style: normal;
}

/* WIP home link hover */
header p a:hover{
    transform: scale(1.1);
}


/*==== Main Start ====*/


/* Main section, might change naming*/
main section{
    display: flex;
    justify-content: center;
    margin: 1rem;
    gap: 1rem;
}

main section img{
    width: 50%;
    height: auto;
}

/* Page Arrows */
.page-arrows{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 4em 1em;
}

.page-arrows a{
    display: flex;
    align-items: center;
    gap: 1em;
}


.page-arrows a:hover{
    transform: scale(1.1);
}

.page-arrows img{
    width: 30px;
}

/*==== Footer ====*/

.footer-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 0;
    margin-top: 3em;
}

footer div{
    display: block;
    margin: 1em;
    font-size: x-small;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: lighter;
}

.footer-links{
    display: flex;
    justify-content: end;
}

.footer-links img{
    display: flex;
    flex-direction: row;
    width: 3em;
    height: auto;
    padding: 0 1em;
    margin: 0;
}

/*==== WIP Navigation ====*/

.wip-nav{
    display: flex;
    justify-content: center;
    margin: 2rem;
}

.wip-nav ul{
    display: flex;
    flex-direction: row;
}

.wip-nav li{
    font-size: larger;
    background-color: rgb(210, 36, 42);
    padding: 1em;
    margin: 0 2em;
    border-radius: 7px;
}

.wip-nav li:hover{
    color: rgb(141, 6, 6);
    transform: scale(0.9);
    transition: 0.3s;
}

.wip-nav a{
    color: black;
}

.wip-nav a:hover {
    color: black;
    transform: scale(1);
}