@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Roboto&family=Yusei+Magic&display=swap');

@font-face {
    font-family: fruitForceFont;
    src: url("fonts/FruitForceFont.ttf");
}

@font-face {
    font-family: lostFlameFont;
    src: url("fonts/LostFlameFont.ttf");
}

:root
{
    --color-accent: rgb(165, 0, 0);
}

*
{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body
{
    font-family: "Roboto", sans-serif;
    background-color: #161616;
}

a
{
    text-decoration: none;
    color: #fff;
}

hr
{
    width: 100%;
    height: 2.5px;
    margin: 5px auto;
    border-color: var(--color-accent);
    background-color: var(--color-accent);
}

::-webkit-scrollbar
{
    width: 15px;
}

::-webkit-scrollbar-track
{
    background-color: #090909;
}

::-webkit-scrollbar-thumb
{
    background: #767676;
}

::-webkit-scrollbar-thumb:hover
{
    background: #666;
}

/* Reveal Classes */
.reveal-left
{
    position: relative;
    transform: translateX(-110vw);
    opacity: 0;
    transition: transform 1.5s;
}

.reveal-left.active
{
    transform: translateX(0);
    opacity: 1;
}

.reveal-right
{
    position: relative;
    transform: translateX(110vw);
    opacity: 0;
    transition: transform 1.5s;
}

.reveal-right.active
{
    transform: translateX(0);
    opacity: 1;
}

/* Navbar */
.navbar
{
    width: 100%;
    height: 75px;
    background-color: #050505;
    padding: 10px 20px;
}

.navbar-container
{
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}

.navbar-links
{
    text-decoration: none;
    display: flex;
    list-style: none;
}

.navbar-links li
{
    margin-right: 20px;
    min-height: 30px;
    display: flex;
    align-items: center;
}

.navbar-links a
{
    transition-property: color;
    transition-duration: 0.15s;
}

.navbar-links li a:hover
{
    color: var(--color-accent);
}

.accent-underline
{
    /*
    text-decoration: underline solid var(--color-accent) 3px;
    */
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-color: var(--color-accent);
    text-decoration-thickness: 3px;
}

/* Footer */
.footer
{
    height: 100px;
    color: #fff;
    background-color: #050505;
    font-family: "Roboto", sans-serif;
    padding: 10px 20px;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}

/* Main Content */
.main-content
{
    background-color: #161616;
    color: #fff;
    width: 100%;
}

.main-content-container
{
    max-width: 1440px;
    margin: 0 auto;
    padding: 15px;
}

.main-header
{
    grid-area: header;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    height: 750px;
    background-color: #242424;
}

.main-header > *
{
    opacity: 0;
    animation-name: header-intro;
    animation-duration: 5s;
    animation-fill-mode: forwards;
}

@keyframes header-intro 
{
    0%
    {
        opacity: 0;
    }
    100%
    {
        opacity: 1;
    } 
}

.main-header h1
{
    margin-bottom: 30px;
    font-size: 60px;
    text-align: center;
}

.main-header p
{
    text-align: center;
    font-size: 25px;
}

.gradient-background
{
    background-image: linear-gradient(to top right, #313131, #191919 );
}

.content-item
{
    height: 300px;
    background-color: #242424;
    padding: 10px;
}

.content-item:nth-of-type(1)
{
    grid-area: content-1-left;
}

.content-item:nth-of-type(2)
{
    grid-area: content-1-right;
}

.content-item:nth-of-type(3)
{
    grid-area: content-2-left;
}

.content-item:nth-of-type(4)
{
    grid-area: content-2-right;
}

.content-item:nth-of-type(5)
{
    grid-area: content-3-left;
}

.content-item:nth-of-type(6)
{
    grid-area: content-3-right;
}

/* Projects Page */
.project-content
{
    background-color: #161616;
    color: #fff;
    width: 100%;
    min-height: 1000px;
    padding-bottom: 50px;
}

.project-content-container
{
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-rows: 100px repeat(2, 500px);
    row-gap: 50px;
}

.project-header
{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.project-box
{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.project-box h1
{
    text-align: center;
}

.project-item-icons
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 225px;
}

.project-item-icons img
{
    border: 1px solid #000;
    border-radius: 25%;
    width: 100px;
    height: 100px;
    box-shadow: 5px 5px rgba(0, 0, 0, 0.25);
    transition-property: width, height;
    transition: transform 0.5s;
    margin-top: 5px;
}

.project-item-icons img:hover
{
    transform: scale(1.1);
}

.fruit-force-box
{
    
    background-image: linear-gradient(to top right, #B818CA, #94329F, #7B3583, #4C2251);
    font-family: "fruitForceFont", "Roboto", sans-serif;
    color: #5AEA1B;
}

.fruit-force-box h1
{
    text-shadow: 5px 5px rgba(0, 0, 0, 1);
    font-size: 40px;
}

.fruit-force-box p
{
    text-shadow: 2px 2px rgba(0, 0, 0, 1);
    text-align: center;
}

.project-box h3, .project-box h4
{
    color: #fff;
    font-family: "Roboto", sans-serif;
}

.project-box h3
{
    font-size: 30px;
}

.project-box h4
{
    font-size: 20px;
    text-align: center;
}

.lost-flame-box
{
    background-image: linear-gradient(to top right, #20AB43, #005715);
    font-family: "lostFlameFont", "Roboto", sans-serif;
    color: #85FFFF;
}

.lost-flame-box h1
{
    text-shadow: 5px 5px rgba(0, 0, 0, 1);
    font-size: 80px;
}

.lost-flame-box p
{
    text-shadow: 2px 2px rgba(0, 0, 0, 1);
    font-size: 25px;
    text-align: center;
}

/* Support */
.support-content
{
    background-color: #161616;
    color: #fff;
    width: 100%;
    min-height: 1000px;
}

.support-content-container
{
    max-width: 1440px;
    margin: 0 auto;
    padding: 15px;
}

.contact-form
{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    font-family: "Roboto", sans-serif;
}

.contact-form > *
{
    opacity: 0;
    animation-name: contact-form-intro;
    animation-duration: 2.5s;
    animation-fill-mode: forwards;
}

@keyframes contact-form-intro 
{
    0%
    {
        opacity: 0;
    }

    100%
    {
        opacity: 1;
    }
}

.contact-form h1
{
    margin-bottom: 15px;
    font-size: 50px;
}

.contact-form input
{
    height: 50px;
    width: 50%;
    min-width: 300px;
    margin-bottom: 10px;   
    border-radius: 15px;
    padding: 5px;
    font-family: "Roboto", sans-serif;
    border: 5px solid #040404;
    background-color: #121212;
    color: #fff;
    transition: transform 0.2s;
}

.contact-form input:hover, .contact-form input:focus
{
    transform: scale(1.1);
}

.form-message
{
    margin: 5px 0 10px 0;
    border-radius: 15px;
    padding: 5px;
    width: 50%;
    min-width: 300px;
    max-width: 90%;
    min-height: 150px;
    max-height: 250px;
    font-family: "Roboto", sans-serif;
    border: 5px solid #040404;
    background-color: #121212;
    color: #fff;
    transition: transform 0.2s;
}

.form-message:hover, .form-message:focus
{
    transform: scale(1.1);
}

.form-submit-button
{
    font-family: "Roboto", sans-serif;
    border-radius: 15px;
    width: 25%;
    height: 50px;
    font-size: 22px;
    border: 5px solid #040404;
    background-color: #121212;
    color: #fff;
    transition-property: background-color, color, transform;
    transition-duration: 0.25s;
    min-width: 150px;
}

.form-submit-button:hover
{
    background-color: #777;
    color: #000;
    transform: scale(1.05);
}

input:focus, textarea:focus
{
    outline: none;
}

/* Legal */
.legal-content
{
    background-color: #161616;
    color: #fff;
    width: 100%;
    min-height: 1000px;
}

.legal-content-container
{
    max-width: 1440px;
    margin: 0 auto;
    padding: 15px;
    display: grid;
    grid-template-areas: 
    "header header"
    "fruit-force lost-flame"
    "fruit-force lost-flame"
    ;
    gap: 15px;
    grid-template-rows: 100px;
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.legal-header
{
    grid-area: header;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.legal-box
{
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}

.legal-box h2
{
    font-size: 30px;
}

.legal-fruit-force
{
    grid-area: fruit-force;
}

.legal-lost-flame
{
    grid-area: lost-flame;
}

.legal-active
{
    max-height: 400px;
    border-width: 1px;
}

.legal-hidden
{
    max-height: 0px;
    border-width: 0px;
}

.legal-dropdown::-webkit-scrollbar
{
    max-width: 5px;
}

.legal-dropdown
{
    overflow: auto;
    transition-property: max-height, border-width;
    transition-duration: 1s, 1s;
    margin: 10px auto;
    border-style: solid;
    border-color: #fff;
}

.legal-dropdown p
{
    padding: 15px;
}

.legal-dropdown-ul
{
    margin-left: 45px;
    list-style: circle;
}

.legal-dropdown ul li a
{
    text-decoration: underline;
    transition: all 0.15s;
}

.legal-dropdown ul li a:hover
{
    text-decoration: underline;
    color: var(--color-accent);
}

.legal-dropdown-button
{
    margin-top: 10px;
    margin-bottom: 20px;
    width: 150px;
    height: 40px;
    border-radius: 20px;
    color: #fff;
    background-color: #000;
    border: 2px solid #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
    text-align: center;
}

.legal-dropdown-button:hover
{
    background-color: rgba(0, 0, 0, 0.3);
}

.legal-dropdown-button p
{
    width: 60%;
    height: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.dropdown-arrow
{
    width: 20px;
    height: 20px;
    margin-left: 5px;
    transition: transform 1s;
}

.dropdown-arrow-container
{
    width: 100%;
    height: 100%;
    position: relative;
    transform: translate(1px, 9px);
}

.dropdown-arrow-container > span:first-child
{
    width: 12px;
    height: 2px;
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(45deg);
}

.dropdown-arrow-container span:last-child
{
    width: 12px;
    height: 2px;
    background: #fff;
    position: absolute;
    top: 0;
    left: 7px;
    transform: rotate(-45deg);
}

.legal-dropdown-button.active .dropdown-arrow
{
    transform: rotate(180deg);
}

.legal-sub-main
{
    background-color: #161616;
    color: #fff;
    padding: 20px;
}

.legal-sub-main p
{
    margin: 20px 10px 0px;
}

.legal-sub-main h2
{
    margin-top: 20px;
    margin-left: 10px;
}

.legal-sub-main a:hover
{
    text-decoration: underline;
}

.legal-sub-back
{
    border: 2px solid #fff;
    padding: 10px;
    border-radius: 20px;
    text-align: center;
    font-size: auto;
    background-color: #000;
    display: block;
    width: 80px;
}

/* Small Screens/Mobile */

@media (max-width: 700px)
{
    .main-header h1
    {
        font-size: 45px;
    }

    .main-header p
    {
        font-size: 20px;
    }

    .fruit-force-box p
    {
        font-size: 10px;
    }

    .fruit-force-box h1
    {
        font-size: 25px;
    }

    .lost-flame-box p
    {
        font-size: 20px;
    }

    .lost-flame-box h1
    {
        font-size: 60px;
    }

    .form-submit-button
    {
        font-size: 17px;
    }

    .legal-content-container
    {
        grid-template-areas: 
        "header"
        "fruit-force"
        "lost-flame"
        ;
        grid-template-columns: 1fr;
    }

    .navbar-links a
    {
        transition-property: color;
        transition-duration: 0.01s;
    }
}