/* Colors */
:root {
    /* --red: #DF4848; */
    --red2: #CF4242;
    --red: #D63C3C;
    --accent-shadow: #bb3737;
    --accent-light: #FF4F4F;
    --grey: #D9D9D9;
    --shadow: #7c7c7e;
    --light: #FFFFFF;
    --white: #FFFFFF;
    --beige: #F5F5F7; 
    --black: #262626;
    --black2: #000000;
    --accent: #e37d7d;
    --yellow: #FFE904;
    --blue-dark: #336BB3;
    --blue-mid: #ABCFFA;
    --blue-light: #DEEEFC;
    --pink: #F6CACA;
    --pink-light: #fbe8e8;
    --orange: #E98A3F;
    --gold: #FFC247;
    --yellow-light: #FFE196;
    --green-dark: #3A8359;
    --green-light: #C7EBD3;

    --foreground: var(--black);
    --background: var(--beige);
}

.breakpoint {
    display: flex;
    flex-direction: column;
    align-items: center; 
    background-color: var(--light);
    padding: 0.5rem;
}

#new-tab-icon {
    width: 1rem;
    height: auto;
}

/* #new-tab-icon {
    filter: invert(1);
} */

/* Body */
body {
    height: 100%;
    width: 100%;
    font-family: "Arial Rounded MT Bold", "Nunito", sans-serif;
    background-color: var(--background);
    margin: 0;
    padding: 0;
    color: var(--foreground);
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}




/* Headers and Titles */
h1, h2, h3, h4, h5, h6, p, a {
    color: var(--foreground);
    /* line-height: 1.8rem; */
}

.big-text {
    line-height: 4rem;
}

.p-basic {
    font-family: "Arial";
    line-height: 1.8rem;
}

.header {
    display: flex;
    flex-direction: row;
    align-items: center;  
    max-width: 100%;
    justify-content: flex-start;
    position: relative;
}

.synappro-title {
    letter-spacing: 0.07rem;
    margin-right: auto; 
    text-align: left;
}

.synappro-title a {
    text-decoration: none;
    color: var(--red);
}

.synappro-title a:hover {
    opacity: 50%;
    transition: 300ms;
}

.hamburger-menu, 
.hamburger-menu-close {
    display: flex;
    margin-left: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    width: 3rem;
    height: 3rem;
    box-shadow: 5px 5px 5px var(--shadow), -5px -5px 10px var(--light);
    border-radius: 1ch;
}

.hamburger-menu .menu-icon, 
.hamburger-menu-close .menu-icon {
    width: 1.5rem;
    height: 1.5rem;
    filter: invert(0);
}

.dark-mode .hamburger-menu .menu-icon, 
.dark-mode .hamburger-menu-close .menu-icon {
    filter: invert(1); 
}

.overlay {
    display: none; 
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background); 
    z-index: 85; 
    padding: 1.5rem;
}

.primary-menu-items-overlay {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right; 
}

.secondary-menu-items-overlay {
    display: flex;
    flex-direction: row;
    justify-content: flex-end; 
    position: absolute;
    bottom: 2rem;
    right: 1.5rem; 
    width: auto; 
}

.menu-items {
    display: flex;
    margin-left: auto;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center; 
    justify-content: flex-start;
    height: 100%;
}

.menu-items a {
    color: var(--foreground);
    text-decoration: none;
}

.menu-items a:hover {
    opacity: 50%;
    transition: 300ms;
}

.menu-apps a,
.menu-about a {
    display: flex;
    width: 5rem;
    height: 3rem;
    border-radius: 1.5ch;
    align-items: center;
    justify-content: center;
    box-shadow: 5px 5px 5px var(--shadow), -5px -5px 10px var(--light);
}

.menu-apps a.active,
.menu-about a.active {
    box-shadow: inset 5px 5px 5px var(--shadow), inset -5px -5px 10px var(--light);
}

.menu-sun, .menu-moon {
    background-color: var(--background);
    color: var(--foreground);
    display: flex;
    margin-left: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    border-radius: 1ch;
    width: 2rem;
    height: 2rem;
    box-shadow: 5px 5px 5px var(--shadow), -5px -5px 10px var(--light);
}

.menu-sun img, 
.menu-moon img {
    width: 0.8rem;
    height: 0.8rem;
    filter: invert(0);
}

.dark-mode .menu-sun img, 
.dark-mode .menu-moon img {
    filter: invert(1);
}

.menu-sun.active, .menu-moon.active,
.primary-menu-items .menu-sun.active, .primary-menu-items .menu-moon.active,
.secondary-menu-items .menu-sun.active, .secondary-menu-items .menu-moon.active,
.primary-menu-items-overlay .menu-sun.active, .primary-menu-items-overlay .menu-moon.active,
.secondary-menu-items-overlay .menu-sun.active, .secondary-menu-items-overlay .menu-moon.active {
    box-shadow: inset 5px 5px 5px var(--shadow), inset -5px -5px 10px var(--light);
}

.menu-sun:hover, .menu-moon:hover {
    color: var(--red);
    transition: 300ms;
}

.primary-menu-items {
    display: flex;
    gap: 2rem;
    font-size: 0.85rem;
}

.secondary-menu-items {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.pre-release-statement {
    display: flex;
    justify-content: center;
    background-color: var(--yellow);
    padding: 0.5rem;
    border-radius: 2ch;
}

.pre-release-statement p{
    color: #262626;
}

/* Footer */
footer {
    width: 100%;
    background-color: var(--green-dark);
    padding-top: 2rem;
}

.footer-company,
.footer-apps,
.footer-resources,
.footer-socials {
    list-style: none;
    color: var(--black2);
    line-height: 1.8rem; 
}

.footer-company a,
.footer-apps a,
.footer-resources a,
.footer-socials a {
    text-decoration: none;
    color: var(--white);
}

.footer-company a:hover,
.footer-apps a:hover,
.footer-resources a:hover,
.footer-socials a:hover {
    opacity: 60%;
    transition: 300ms;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); 
    grid-gap: 2rem;
    box-sizing: border-box;
    width: 100%;  
    padding-top: 2rem;
    
}

.footer-grid ul {
    padding: 0;
    margin: 0;
}

.copyright-content {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    padding-top: 2rem;
    margin-bottom: -1rem;
    justify-content: center;
}

.copyright-content p {
    color: var(--black2);
}

.empty-space {
    padding-top: 15rem;
    padding-left: 0;
    padding-right: 0;
}




/* Media queries */
@media only screen and (max-width: 425px) {
    header,
    main,
    footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    header,
    main {
        padding-top: 1.5rem;
    }

    main {
        padding-bottom: 5rem;
    }

    .pre-release-statement {
        margin: 1.5rem;
    }

    .synappro-title {
        font-size: 1.5rem;
    }

    .hamburger-menu {
        position: relative;
        right: 0; 
    }

    .primary-menu-items {
        display: none;
    }

    .secondary-menu-items {
        display: none;
    }

    .primary-menu-items.overlay {
        display: flex;
    }

    .menu-apps {
        padding-top: 6rem;
        padding-bottom: 2rem;
    }

    .menu-about {
        padding-bottom: 3rem;
    }

    #menu-sun {
        margin-right: 1rem;
    }

    .primary-menu-items.overlay.active,
    .secondary-menu-items.overlay.active {
        display: flex;
    }

    .big-text {
        font-size: 3rem;
        line-height: 3rem;
    }

    .copyright-content {
        font-size: 0.8rem;
    }

}

@media only screen and (min-width: 426px) and (max-width: 666px) {
    header,
    main,
    footer {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    header,
    main {
        padding-top: 2rem;
    }

    main {
        padding-bottom: 6rem;
    }

    .pre-release-statement {
        margin: 2rem;
        margin-bottom: -2rem;
    }

    .synappro-title {
        font-size: 1.5rem;
    }

    .hamburger-menu {
        position: relative;
        right: 0; 
    }

    .primary-menu-items {
        display: none;
    }

    .secondary-menu-items {
        display: none;
    }

    .primary-menu-items.overlay {
        display: flex;
    }

    .menu-apps {
        padding-top: 6rem;
        padding-bottom: 2rem;
    }

    .menu-about {
        padding-bottom: 3rem;
    }

    #menu-sun {
        margin-right: 1rem;
    }

    .primary-menu-items.overlay.active,
    .secondary-menu-items.overlay.active {
        display: flex;
    }

    .big-text {
        font-size: 3rem;
    }
}

@media only screen and (min-width: 667px) and (max-width: 768px) {
    header,
    main,
    footer {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    header,
    main {
        padding-top: 2rem;
    }

    main {
        padding-bottom: 6rem;
    }

    .pre-release-statement {
        margin: 2rem;
        margin-bottom: -4rem;
    }
    
    .synappro-title {
        font-size: 1.8rem;
    }

    .hamburger-menu {
        display: none;
    }
    
    .primary-menu-items.active,
    .secondary-menu-items.active {
        display: flex;
    }

    .big-text {
        font-size: 3rem;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
    header,
    main,
    footer {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    header {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    main {
        padding-bottom: 7rem;
    }

    .pre-release-statement {
        margin-left: 3rem;
        margin-right: 3rem;
        margin-bottom: -2rem;
    }

    .synappro-title {
        font-size: 1.8rem;
    }

    .hamburger-menu {
        display: none;
    }

    .primary-menu-items.active,
    .secondary-menu-items.active {
        display: flex;
    }

    .big-text {
        font-size: 3rem;
    }

    .footer-grid a, li {
        line-height: 2.3rem; 
    }
}

@media only screen and (min-width: 1025px) {
    header,
    main,
    footer {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    header {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }



    .pre-release-statement {
        margin-right: 3rem;
        margin-left: 3rem;
        margin-bottom: 3rem;
    }

    .synappro-title {
        font-size: 2.2rem;
    }

    .hamburger-menu {
        display: none;
    }

    .primary-menu-items.active,
    .secondary-menu-items.active {
        display: flex;
    }

    .big-text {
        font-size: 3.5rem;
    }

    .footer-grid a, li {
        line-height: 2.3rem; 
    }
}






/* Font sizes */
@media only screen and (max-width: 425px) {
    p-basic, p, .footer-grid a, .footer-grid li, .menu-items a {
        font-size: 17px;
    }
}

@media only screen and (min-width: 426px) and (max-width: 666px) {
    p-basic, p, .footer-grid a, .footer-grid li, .menu-items a {
        font-size: 17px;
    }
}

@media only screen and (min-width: 667px) and (max-width: 768px) {
    p-basic, p, .footer-grid a, .footer-grid li {
        font-size: 17px;
    }

    .menu-items a {
        font-size: 15px;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
    p-basic, p, .footer-grid a, .footer-grid li {
        font-size: 17px;
    }

    .menu-items a {
        font-size: 15px;
    }
}

@media only screen and (min-width: 1025px) {
    p-basic, p, .footer-grid a, .footer-grid li {
        font-size: 18px;
    }

    .menu-items a {
        font-size: 15px;
    }
}



/* 
.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.breadcrumb a {
    text-decoration: none;
    color: var(--text);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    font-weight: bold;
    color: var(--text);
} */

@media only screen and (max-width: 768px) {
  .empty-space {
    padding: 8rem 0;
  }
}
