html {
    overflow-x: hidden;
}
body {
    padding: 0;
    margin: 0;
}

nav {
    display: flex;
    justify-content: space-between;
    background-color: white;
    position: fixed;
    top: 0;
    width: 100%;
    border-bottom: solid #d6d6d6 1px;
    z-index: 999;
    transition: 0.3s ease-in-out;
}
.nav-logo {
    width: 100px;
    padding: 10px;
}

.nav-logo img{
    width: 100px;
    padding-left: 5px;
}

.nav-links {
    display: flex;
    justify-content: center;
    margin: auto 0;
}

.nav-links a {
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 1em;
    border: solid transparent 1px;
    color: black;
    text-decoration: none;
}

.nav-links a:hover {
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 1em;
    border: solid #4b4b4b 1px;
}

.topnav-hamburger-icon-closed {
   display: none;
}

.nav-account {
    width: 30px;
    height: 30px;
    display: block;
    position: relative;
}

.nav-account img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    cursor: pointer;
    object-fit: cover;
}

.nav-controls {
    display: flex;
    gap: 15px;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 20px;
}

.nav-account-panel-hidden {
    display: none;
}

.nav-account-panel-show {
    background-color: white;
    position: absolute;
    top: 40px;
    right: 0;
    box-shadow: 0 0 20px gray;
    border-radius: 0.5em;
    width: 300px;
    padding: 10px;
}

.nav-account-panel-show .panel-header {
    display: flex;
    gap: 10px;
}

.nav-account-panel-show .panel-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: auto 0;
    object-fit: cover;
    cursor: default !important;
}

.nav-account-panel-show .panel-controls {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-account-panel-show .panel-controls button {
    border: none;
    border-radius: 0.5em;
    color: white;
    padding: 10px;
    background-color: #00b7ff;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
}

.nav-account-panel-show .panel-header h1 {
    font-family: Arial, Helvetica, sans-serif;
}

@media screen and (max-width: 430px) {
    .nav-account-panel-show {
        width: 200px;
    }
}

footer {
    background-color: #eeeeee;
    color: black;
    grid-template-columns: auto auto;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}

footer .hr-container {
    padding-left: 20px;
    padding-right: 20px;
}

footer hr {
    width: 100%;
    box-sizing: border-box;
    border: none;
    background-color: black;
    height: 1px;
}

.footer-links-container {
    display: flex;
    flex: 1 1 0;
    flex-wrap: wrap;
    margin: auto;
    justify-content: center;
}

.footer-links {
    margin-left: 30px;
    margin-right: 30px;
    display: block;
}

.footer-links h1 {
    color: black;
    font-size: x-large;
    font-family: 'Inter';
}

.footer-links ul{
    list-style-type: none;
    padding-left: 0;
    line-height: 40px;
}

.footer-links a {
    color: black;
    font-family: 'Inter';
    font-size: large;
    text-decoration: underline;
}

.footer-social {
    display: flex;
    flex: 1 1 0px;
    justify-content: left;
    margin-left: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.footer-social h1 {
    font-size: x-large;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 0;
    padding: 0;
    font-family: 'Inter';
    margin-right: 20px;
}

.footer-social img {
    width: 30px;
    height: 30px;
    padding: 10px;
    object-fit: contain;
    cursor: pointer;
}

@media screen and (max-width: 430px) {
    .footer-social {
        display: none;
    }

    .hr-container {
        display: none;
    }
}

@media screen and (max-width: 700px) { 
    .nav-links a {
        display: none;
    }

    .topnav-hamburger-icon-closed {
        display: initial;
        text-align: right;
        background-color: transparent;
        border: none;
        font-size: xx-large;
        color: black;
        font-weight: 300;
        margin: 0;
        width: 20px;
        padding: 0;
     }
     
     .topnav-hamburger-icon-closed span {
        display: block;
        width: 100%;
        height: 2px;
        margin-bottom: 6px;
        background-color: black;
        border-radius: 1em;
        transition: 0.3s ease-in-out;
        margin-top: 5px;
     }

     .topnav-hamburger-icon-open {
        display: initial;
        text-align: right;
        background-color: transparent;
        border: none;
        font-size: xx-large;
        color: black;
        font-weight: 300;
        margin: 0;
        width: 20px;
        padding: 0;
        transition: 0.3s ease-in-out;
     }
     
     .topnav-hamburger-icon-open span {
        display: block;
        width: 100%;
        height: 2px;
        margin-bottom: 6px;
        background-color: black;
        border-radius: 1em;
        transition: 0.3s ease-in-out;
        margin-top: 5px;
     }

     .topnav-hamburger-icon-open span:nth-of-type(1) {
        transform: rotate(45deg) translateY(11px);
     }

     .topnav-hamburger-icon-open span:nth-of-type(2) {
        width: 0;
        opacity: 0;
     }

     .topnav-hamburger-icon-open span:nth-of-type(3) {
        transform: rotate(-45deg) translateY(-11px);
     }
} 

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
  

.hamburger-menu-show {
    background-color: white;
    position: fixed;
    height: 100%;
    width: 100%;
    right: 0; 
    top: 0;
    z-index: 998;
    transition: 0.3s;
    padding-top: 20px;
    opacity: 1;
}

.hamburger-menu-show ul {
    list-style: none;
    display: table;
    margin: 60px auto;
    padding: none;
    margin-right: 20px;
    text-align: center;
    font-size: x-large;
    margin-left: auto;
    margin-right: auto;
}

.hamburger-menu-show li {
    opacity: 0;
    transform: translateX(40px);
    animation: slideIn 0.5s ease forwards;
}

.hamburger-menu-show a {
    padding-top: 20px;
    font-family: Arial, Helvetica, sans-serif;
    color: black;
    display: block;
}

/*Make links slide in 1 at a time*/
.hamburger-menu-show li:nth-child(1) {
    animation-delay: 0.1s;
}

.hamburger-menu-show li:nth-child(2) {
    animation-delay: 0.2s;
}

.hamburger-menu-show li:nth-child(3) {
    animation-delay: 0.3s;
}

.hamburger-menu-show li:nth-child(4) {
    animation-delay: 0.4s;
}

.hamburger-menu-show button {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgb(224, 224, 224);
    border: none;
    color: white;
    font-size: large;
    border-radius: 3em;
    padding: 4px;
    padding-left: 10px;
    padding-right: 10px;
}

.hamburger-menu-show button:active {
    transform: scale(0.90);
}

.hamburger-menu-hide {
    background-color: white;
    position: fixed;
    height: 100%;
    width: 0;
    right: 0; 
    top: 0;
    white-space: nowrap;
    z-index: 998;
    transition: 0.3s;
    padding-top: 20px;
    opacity: 0;
}

.hamburger-menu-hide button {
    display: none;

}

.hamburger-menu-hide ul {
    list-style: none;
    display: table;
    margin: 60px auto;
    padding: none;
    margin-right: 20px;
    text-align: center;
    font-size: x-large;
    margin-left: auto;
    margin-right: auto;
}

.hamburger-menu-hide a {
    padding-top: 20px;
    font-family: Arial, Helvetica, sans-serif;
    color: black;
    display: block;
}

.hamburger-menu-hide button {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgb(187, 186, 186);
    border: none;
    color: white;
    font-size: large;
    border-radius: 5em;
    padding: 3px;
    padding-left: 10px;
    padding-right: 10px;
}

/* Cookie Banner Notice */
.cookie-banner-open {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: row;
    background-color: white;
    font-family: Arial, Helvetica, sans-serif;
    border-top: 1px solid black;
    z-index: 999;
    flex-wrap: wrap;
    animation-name: cookie-banner-animation;
    animation-duration: 0.3s;
}

.cookie-banner-open div {
    margin: 5px;
}

.cookie-banner-open button {
    text-align: center;
    display: block;
    background: linear-gradient(90deg,#0edb8f,#00d4ff);
    height: max-content;
    border: none;
    padding: 10px;
    color: white;
    font-weight: bold;
    border-radius: 0.5em;
    align-self: center;
    margin-left: 50px;
    margin-right: 10px;
    transition: 0.3s;
}

.cookie-banner-open button:hover {
    opacity: 0.5;
}

@keyframes cookie-banner-animation {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@media screen and (max-width: 581px) {
    .cookie-banner-open button {
       justify-self: center;
       margin-bottom: 10px;
       margin-left: auto;
       margin-right: auto;
    }

    .cookie-banner-open h1 {
        text-align: center;
        margin-right: 5px;
        margin-left: 5px;
    }

    .cookie-banner-open p {
        text-align: center;
        margin-right: 5px;
        margin-left: 5px;
    }
}

.cookie-banner-closed {
    display: none;
}