/*
Project: Engram Apocalypse SMP Promotional One Page Layout
Author: Daylan Jewell
*/

/****************************
FONT IMPORTS
****************************/
@font-face{
    font-family: 'Minecraft';
    src: url(./fonts/Minecraft.ttf) format(truetype);
    font-weight: normal;
    font-style: normal;
}

/****************************
General Element Styling
****************************/
html{
    scroll-behavior: smooth;
}

header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 3vh 3vw;
}

body{
    background-color: #000000;
    display: flex;
    flex-direction: column;
    align-items: normal;
    justify-content: center;
    color: #ffffff;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin: 0;
}

h1{
    font-family: 'Minecraft';
}

p{
    font-size: larger;
}

hr{
    color:#ffffff;
    width: 65%;
}

a{
    font-family: 'Minecraft';
}

a:hover{
    cursor: pointer;
    text-decoration: underline;
    animation: lift 0.3s ease-in-out;
    animation-fill-mode: forwards;
}

/****************************
Header Element Styling
****************************/
.logo{
    max-width: 15vw;
    height: auto;
}

.jump-links{
    flex-grow: 1.5;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 5%;
}


/***************************
Main Content Element Styling
***************************/
.banner{
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 20vw;
    align-items: center;
    background-image: url("images/bg-1.png");
    background-repeat: no-repeat;
    background-size: auto;
    background-position: center;
    box-shadow: inset 0 1em 3em #000000f8, inset 0 -1em 20em #000000f8;
}

.banner-img{
    max-width: 80vw;
    height: auto;
    animation: fadeSlideIn 1s ease-in-out;
    animation-fill-mode: forwards;
}

#project-information{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.article{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 50%;
}

#title-card{
    font-family: 'Minecraft';
    color: #ff00ff;
}

.funny-img{
    width: 60%;
    height: auto;
}

/*************************
Volunteer Elements Styling
*************************/
#sign-up{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 40vh;
    gap: 5vh;
}

.form{
    color: #ff00ff;
    text-decoration: none;
}

.discord{
    color: #7777ff;
    text-decoration: none;
}

/**************
Footer Elements
**************/
footer{
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #202020;
    border-top: 1px solid #a2a2a2;
    padding: 2vh 2vw;
    gap: 5%;
}

footer div{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

footer div p{
    font-size: smaller;
}

footer div a{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #8e8ecc;
    text-decoration: none;
}

.alt-logo{
    width: 35vw;
    height: auto;
}

.username{
    color: #8e8ecc;
}

/****************************
Animation Styling
****************************/
@keyframes fadeSlideIn{
            0%{
                opacity: 0;
                transform: translateY(10%);
            }
            100%{
                opacity: 1;
                transform: translateY(0);
            }
        }

@keyframes lift{
    0%{
        transform: scale(1);
    }
    100%{
        transform: scale(1.1);
    }
}

@media only screen and (max-width: 430px) {
    
    /****************************
    General Element Modifications
    ****************************/
    h1{
        text-align: center;
    }

    footer{
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        padding: 3vh 3vw;
        background-color: #202020;
        border-top: 1px solid #a2a2a2;
    }

    footer div{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        width: 100%;
    }

    footer div p {
        font-size: smaller;
    }
    
    /***************************
    Custom Element Modifications
    ***************************/
    .logo{
        max-width: 25vw;
        height: auto;
    }

    .banner{
        height: 50vh;
    }

    .article{
        width: 90%;
    }

    .funny-img{
        width: 80vw;
        height: auto;
    }

    .alt-logo{
        width: 75vw;
        height: auto
    }

    /********************
    Sign Up Modifications
    ********************/
    .form h1{
        font-size: large;
        padding: 2vw;
        text-align: center;
    }

    .discord h1{
        font-size: large;
        padding: 2vw;
    }
}