/* Variables */
@import url('https://googleapis.com');
@property --angle{
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}
:root {
    --primary: rgb(0, 215, 215);
    --secondary: rgb(255, 180, 0);
    --third: blue;
    --fourth: black;

    interpolate-size: allow-keywords;
}

/* Other Styles */
html {
    scroll-behavior: smooth;
}
body {
    font-family: monospace;
    line-height: 1.6;
    background-image: linear-gradient(
      in srgb var(--angle), 
      color-mix(in srgb, var(--primary) 5%, #02001d),
      #0e0e0e);
      animation: 6s spin linear infinite;
    color: #333;
    height: 100%;
    min-height: 100vh;
    margin: 0; 
}
* {
    transition: all 0.25s ease-in-out;
}


/* width */
/* ::-webkit-scrollbar {
  width: 15px;
} */

/* Track */
/* ::-webkit-scrollbar-track {
  background: #333; 
} */
 
/* Handle */
/* ::-webkit-scrollbar-thumb {
  background: var(--primary); 
  box-sizing: border-box;
  border: 1px solid #121212;
  border-radius: 10px;
} */

/* Handle on hover */
/* ::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--primary) 75%, #121212 25%);
} */

/* Side Bar */
.sidebar {
    background-color: #333;
    width: 100%;
    max-width: 220px;
    height: 100%;
    top: 0;
    position: fixed;
    text-align: center;
    left: 25px;
    z-index: 100;
    flex: 0 1 220px;
    overflow: auto;
    border-right: 2px #555 solid;
    border-left: 2px #555 solid;
    overflow-x: hidden;
}
.sidebar.active {
    left: 0px;
}
.sidebar p {
    font-size: 1.4rem;
    font-weight: bolder;
    border-top: var(--primary) solid 4px;
    border-bottom: var(--secondary) solid 4px;
    color: white;
    padding: 10px;
    margin: 10px;
    margin-top: 4vh;
    margin-bottom: 4vh;
    clip-path: shape(
        from 0% 5px,
        line to 40% 5px,
        line to 40% 0%,
        line to 100% 0%,
        line to 100% calc(100% - 5px),
        line to 65% calc(100% - 5px),
        line to 65% 100%,
        line to 0% 100%,
        line to 0% 0%,
        close
    );
}
.sidebar a {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: bold;
    text-decoration: none;
    display: block;
    padding: 20px;
}
.sidebar a:hover {
    color: var(--secondary);
    font-size: 1.05rem;
}
.sidebar a.active {
    font-size: larger;
    color: #121212;
    text-decoration: underline;
    text-decoration-color: var(--secondary);
}
h2 {
    color: var(--primary);
    font-size: 0.95rem;
}
h2.active {
    font-size: 1.25rem;
    color: var(--secondary);
}
.sidebar-close {
    height: 50px;
    width: 50px;
    border: 4px solid transparent;
    border-radius: 10px;
    opacity: 0;
    cursor: default;
}
.sidebar-close span {
    height: 5px;
    width: 55px;
    margin-top: 25px;
    background-color: white;
    border-radius: 25px;
    position: absolute;
}
.sidebar-close span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}
.sidebar-close span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}
.sidebar-close:hover span {
    background-color: var(--secondary);
}

.topbar {
    position: fixed;
    width: calc(100% - 54px);
    top: -100dvh;
    height: auto;
    background-color: #333;
    border: #555 2px solid;
    border-top: none;
    z-index: 1000;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}
.topbar.active {
    top: 0;
}
.topbar-p1 {
    text-align: center;
    width: 100%;
    height: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    top: 0;
    left: 0;
    color: var(--secondary);
    font-size: 2.5rem;
    pointer-events: none;
    font-weight: bold;
    /* background-color: #555; */
    border-bottom: 4px solid var(--primary);
}
.topbar-buttons {
    padding-top: 25px;
    display: flex;
    flex-direction: column;
}
.topbar-buttons a {
    color: var(--primary);
    text-decoration: none;
    text-align: center;
    font-size: 1rem;
    padding-top: 10px;
    padding-bottom: 10px;
    height: 100%;
    width: 100%;
}
.topbar-buttons a:hover {
    color: var(--secondary);
}

.topbar-close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 15px;
    height: 50px;
    width: 50px;
    opacity: 1;
    cursor: default;
}
.topbar-close span {
    height: 5px;
    width: 55px;
    margin-top: 25px;
    background-color: white;
    border-radius: 25px;
    position: absolute;
}
.topbar-close span:nth-child(1) {
    transform: translate(0%, 0%) rotate(45deg);
}
.topbar-close span:nth-child(2) {
    transform: translate(0%, 0%) rotate(-45deg);
}
.topbar-close:hover span {
    background-color: var(--secondary);
}

.email-link {
    position: absolute;
    bottom: 100px;
    justify-self: center;
}
.email-link:hover{
    font-size: 0.95rem !important;
}
svg {
    x: 0px;
    y: 0px;
    width: 50px;
    height: 50px; 
    object-view-box: 0 0 50 50; 
    fill: white;
    cursor: pointer;
}
svg:hover {
    fill: var(--secondary);
}
.side-bar-connect {
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
    position: absolute;
    bottom: 0;
    width: 100%;
}
.side-bar-connect a {
    all: unset;
  
    padding-left: 10px;
    padding-right: 10px;
}
.side-bar-connect a:first-of-type {
    visibility: hidden;
}
.side-bar-connect a:hover {
    all: unset;
    padding-left: 10px;
    padding-right: 10px;
}


/* Light or Dark Mode Toggle Button*/
.light-toggle-btn {
    height: 50px;
    width: 50px;
    background-color: white;
    font-size: 30px;
    border: 4px solid #121212;
    border-radius: 10px;
    opacity: 1;
    cursor: pointer;
    justify-content: center;
    align-content: center;
}
.light-toggle-btn:hover {
    background-color: #333;
    color: white;
}
.light-toggle-btn.active {
    background-color: #333;
    color: white;
}
.light-toggle-btn.active:hover {
    background-color: white;
    color: #333;
}

.sidebar-specials-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    justify-self: center;
    width: 90%;
    height: 80px;
}

.highlight-toggle-btn {
    height: 50px;
    width: 50px;
    background-color: var(--secondary);
    border: 4px solid #121212;
    border-radius: 10px;
    opacity: 1;
    cursor: pointer;
}
.highlight-corner {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background-color: var(--primary);
    clip-path: polygon(100% 0%, 0% 100%, 0% 0%);
}
.highlight-toggle-btn:hover {
    background-color: var(--primary);
}
.highlight-toggle-btn:hover .highlight-corner {
    background-color: var(--secondary);
    color: #121212;
}

/* Main */
main {
    margin: 25px;
    margin-left: 270px;
    opacity: 0;
}

/* Side Bar Open Button*/
.sidebar-open {
    position: sticky;
    top: 0;
    padding: 15px;
    background-color: #333;
    border-radius: 10px;
    /* box-shadow: 0px 3px 7px 0px var(--primary); */
    border: 2px solid #555;
    height: 40px;
    width: 40px;
    margin-left: -1000px;
    margin-right: 0;
    display: none;
    z-index: 50;
    cursor: pointer;
}
.hamburger-btn {
    height: 100%;
    width: 100%;
    position: sticky;
}
.hamburger-btn span {
    height: 5px;
    width: 100%;
    background-color: var(--primary);
    border-radius: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.hamburger-btn span:nth-child(1) {top: 25%;}
.hamburger-btn span:nth-child(3) {top: 75%;}
.sidebar-open:hover {
}
.sidebar-open:hover span{background-color: var(--secondary);}

/* Portrait Mode Top NavBar */
.portrait-navbar {
    /* box-shadow: 0px 3px 7px 0px var(--primary); */
    border: 2px solid #555;
    border-radius: 10px;
    color: var(--primary);
    background-color: #333;
    text-align: center;
    font-weight: bold;
    font-size: 25px;
    top: 0;
    position: absolute;
    display: none;
    z-index: 50;
}
.portrait-navbar-p1 {
    color: var(--secondary);
    background-color: #333;
    border-right: 4px solid var(--primary);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    padding: 15px;
    width: 40%;
    pointer-events: none;
    z-index: 10;
}
.portrait-navbar-p2 {
    padding: 15px;
    width: 60%;
    z-index: 10;
    cursor: pointer;
    overflow: hidden;
}
.portrait-navbar-p2:hover {
    color: var(--secondary);
}
.portrait-navbar-p2.active {
    color: var(--secondary);
}

.portrait-navbar-menu {
    display: none;
    position: absolute;
    background-color: #333;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border: 2px #555 solid;
    height: 0px;
    top: 100%;
    z-index: 0;
}
.portrait-navbar-menu.active {
    display: none;
}
.portrait-navbar-menu a {
    visibility: hidden;
    opacity: 0;
    color: var(--primary);
    text-decoration: none;
    text-align: center;
    text-justify: center;
    font-size: 1rem;
    width: 100%;
    float: right;
    padding-top: 10px;
    padding-bottom: 10px;
}
.portrait-navbar-menu a.active {
    visibility: visible;
    opacity: 1;
}
.portrait-navbar-menu a:hover {
    color: var(--secondary);
}
.portrait-navbar-menu a.current {
    display: none;
}

/* Landscape Mode Top NavBar */
.landscape-navbar {
    float: right;
    position: fixed;
    top: 0;
    width: calc(100% - 295px);
    z-index: 50;
}
.inner-landscape-navbar {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px;
    background-color: #333;
    border-radius: 10px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border: 2px solid #555;
    border-top: none;
    font-weight: bold;
    height: 50px;
}
.inner-landscape-navbar * {
    border-radius: 10px;
    text-align: center;
    padding: 8px;
    flex-grow: 1;
}

.landscape-navbar a {
    color: var(--primary);
    text-decoration: none;
    box-sizing: border-box;
    border: 4px solid transparent;
}
.landscape-navbar a:hover {
    color: var(--secondary);
}
.landscape-navbar a.active {
    color: var(--secondary);
    border: 4px solid var(--secondary);
}

/* Website Content Section */
section {
    background-color: #fff;
    color: #121212;
    padding: 15px;
    margin-top: 50px;
    border-radius: 10px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    scroll-margin-top: 100px;
}
section.dark-mode {
    background-color: #333;
    color: #fff;
}
section.dark-mode a {
    color: var(--primary);
}
section:first-of-type {
    margin-top: 100px;
}
section img {
    float: left;
    margin-right: 15px;
    border-radius: 10px;
    object-fit: cover;
    width: auto;
    height: 100%;
    min-width: 200px;
    min-height: 266px;
    
}
h1 {
    background-color: #333;
    color: #fff;
    border: 0px #555 solid;
    border-bottom: 4px solid var(--primary);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin: -15px;
    margin-bottom: 15px;
    margin-top: -20px;
    padding: 15px;
    padding-bottom: 5px;
}

.section-content {
    display: inline-block;
}

.frame-container {
    justify-self: center;
    align-self: center;
    width: 85%;
}
iframe {
    border: none; 
    border-radius: 10px; 
    width: 100%; 
    height: 75dvh; 
    display: block;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem 0;
    background-color: #333;
    color: #fff;
    margin-top: 2rem;
}
footer a {
    color: var(--primary);
}

/* Media Queries for Different Screen Sizes*/
@media screen and (max-width: 1100px){
    .sidebar {
        left: -250px;
        border-left: none;
        /* box-shadow: 0px 0px 10px 0px var(--primary); */
    }
    .sidebar-close {
        opacity: 100;
        cursor: pointer;
    }
    main {
        margin-left: 25px;
    }
    .sidebar-open {
        display: block;
        margin-left: 0;
        display: inline-block;
    }
    .portrait-navbar {
        display: flex;
        flex-direction: row;
        float: right;
        position: sticky;
        align-content: center;
        align-items: center;
        width: calc(100% - 150px);
        height: auto;
        /* border-bottom-right-radius: 0px; */
    }
    .portrait-navbar.active {
        border-bottom-right-radius: 0px;
    }
    .portrait-navbar-menu {
        left: calc(40% + 8px);
        width: calc(60% - 10px);
    }
    .portrait-navbar-menu.active {
        display: block;
    }
    .landscape-navbar {
        display: none;
        float: none;
        position: absolute;
        margin-top: -200%;
        width: 0px;
        height: 0px;
    }
    section img {
        border-radius: 10px;
        object-fit: cover;
        width: calc(100% - 10px);
        height: auto;
        max-width: 225px;
        justify-self: center;
    }
    section:first-of-type {
        margin-top: 25px;
    }
    .frame-container {
        width: 90%;
    }
}

@media screen and (max-width: 575px){
    .portrait-navbar {
        width: calc(100% - 100px);
        display: block;
        justify-items: center;
        /* border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px; */
    }
    .portrait-navbar.active {
        border-bottom-right-radius: 0px;
        border-bottom-left-radius: 0px;
    }
    .portrait-navbar-p1 {
        display: none;
    }
    .portrait-navbar-p2 {
        width: 100%;
        display: block;
        box-sizing: border-box;
    }
    .portrait-navbar-menu {
        width: 100%;
        left: -2px;
    }
    .frame-container {
        width: 95%;
    }
}


/* Keyframes for Animations*/
@keyframes spin{
    from{
      --angle: 0deg;
    }
    to{
      --angle: 360deg;
    }
  }
  