/**********************************/
/*******       Global       *******/
/**********************************/

/*      Color palette    */
:root{
    --primary: #5941A9;
    --secondary: #1D1128;
    --tertiary: #514F59;
    --accent: #6D72C3;
    --accentAlt: #E5D4ED;
}


/*   font    */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

body{
    font-family: 'Ubuntu';
    background: var(--tertiary);
    /* background-color:#0f606b; */
}

a{
    height: fit-content;
}

button{
    font-family: 'Ubuntu';
    background-color: var(--primary);
    text-align: center;
    border: 5px solid var(--secondary);
    border-radius: 5%;
    color:var(--accentAlt);
}

h1{
    font-family: 'Ubuntu';
    background-color: var(--primary);
    color:var(--accentAlt);
    font-size: 4em;

    border: 5px solid var(--secondary);

    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding:10px;
    text-align: center;
}

h2{
    font-family: 'Ubuntu';
    background-color: white;
    padding:10px;
}

h3{
    font-family: 'Ubuntu';
    margin-left: 5%;
    text-align: center;
    color: whitesmoke;
    font-weight: 100;
    text-decoration: none;
    text-wrap: nowrap;
}

h4{
    font-family: 'Ubuntu';
    text-align: center;
    color: whitesmoke;
    font-weight: 100;
    text-decoration: none;
    text-wrap: wrap;
}

p{
    font-family: 'Roboto';
    text-indent: 1em;
    line-height: 1.5em;
    word-spacing: 0.2em;
    font-size: 16pt;
    letter-spacing: 0.08em;
    font-weight: 400;
}

/**********************************/
/*******        IDs         *******/
/**********************************/

#buttonGroup{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    
    gap: 5vh 5%;

    transform: translate(10%, 0%);

    width: 75%;
    height: auto;
    margin: 5%;
}

#splash{
    width:250px;
    height:250px;

    position: fixed;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);

    display:grid;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    
    text-align: center;
    background-color: palegreen;

}

#blackScreen{
    background-color:black;
    top:0;
    left:0;
    bottom:0;
    right:0;

    display:block;
    position:fixed;
    z-index: 100;
    animation: 2s linear 1 paused fadeFromBlack;
}

#headerContent{
    /*width: 896px;
    height: 504px;*/
    width: 45vw;
    height: 53vh;

    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2%;

    border: 0.2vw solid rgba(255, 255, 255, 0.116);
}

#bottomBox{
    left: 0;
    
    position: absolute;
    padding: 0px;
    padding-top: 2%;

    width: 100vw;
    height: 150px;
    background-color: black;
    z-index: -1;

    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
}

#projectIcon{
    color:white; 
    /*font-size: 45px; */
    font-size: 200%;
    background-color: black; 
    padding: 0.1%;

    border: 0.1vw solid black;
    border-radius: 25%;
}

#TestButton{
    animation-fill-mode: both;
}

#animateTest{
    animation-fill-mode: forwards;
    overflow: hidden;
}

#iconGroup{
    text-align: center; 
    margin-top: 1%;
}

#bannerGallery
{
    margin-top: 3%;
    margin-bottom: 3%;

    display:flex; 
    flex-direction: row; 
    flex-wrap: nowrap; 
    gap: 15px; 
    overflow:visible;
    
    animation: 40s linear infinite bannerLoop;
    animation-delay: 1.5s;

    /*  puase the scrolling when hovering */
    &:hover{
        animation-play-state: paused;
    }
}

#backButton{
    position: fixed; 

    width: 155px; 
    height: 60px; 

    margin-right: 1%;

    z-index: 9; 

    background: var(--primary); 
    border: 5px solid var(--secondary);
    border-radius: 5%;
    color:var(--accentAlt);
    display: flex; 
    flex-direction: column; 
    flex-wrap: wrap;
}

#backText{
    color:var(--accentAlt); 
    margin: 6%; 
    align-self: flex-start;
    margin-left: -6%;
}

#backArrow{
    font-size: 350%; 
    color:var(--accentAlt);
    z-index: 10; 
    align-self: flex-end;
}

/************************************/
/*******        Pages         *******/
/************************************/

#kilonova{
    /*background-image: url("/Images/Kilonova/KN_BackgroundTemp.jpg");*/
    background-size: contain;
    background-position: center;
}

#steelReaper{
    background-image: url("/Images/Steel Reaper/BackgroundMaster.png");
    background-position: bottom;
    background-repeat: no-repeat;
    /*background-size: 100vw auto;*/
    background-size:cover;
}

#skyway{
    background-image: url("/Images/Skyway/MasterBackground.png");
    background-position: bottom;
    background-repeat:no-repeat;
    background-size: cover;
}

#IPSM{
    background-image: url("/Images/Kilonova/KN_BackgroundTemp.jpg");
    background-size: contain;
    background-position: center;
}

#portfolio{

}

/****   Headers     ****/

#header_KN{
    font-size: 10vh;
    font-weight: 600;
    color:rgb(255, 210, 60);
    text-shadow: 2px 2px 6px rgb(45, 10, 130), -2px -2px 6px rgb(255, 196, 0);
    background-color: rgb(167, 175, 255);
    background-image: linear-gradient(to right, rgba(45, 10, 130, 0.75), rgba(45, 10, 130, 0), rgba(45, 10, 130, 0.75));
    border: none !important;
}

#header_SR{
    /*font-size: 110px;*/
    font-size: 12vh;
    font-weight: 600;
    color:rgb(7, 174, 196);
    text-shadow: 4px 4px 6px rgb(185, 75, 61), -4px -4px 6px rgb(0, 0, 0);
    background-color: rgb(218, 201, 55);
    background-image: linear-gradient(to right, rgba(209, 50, 71, 0.75), rgba(45, 10, 130, 0), rgba(209, 50, 71, 0.75));
    border: none !important;
}

#header_SW{
    font-size: 11vh;
    font-weight: 600;
    color:rgb(255, 254, 183);
    text-shadow: 2px 2px 6px rgb(38, 117, 18), -2px -2px 6px rgb(1, 255, 242);
    background-color: rgb(167, 230, 255);
    background-image: linear-gradient(to right, rgba(10, 130, 26, 0.75), rgba(45, 10, 130, 0), rgba(10, 130, 26, 0.75));
    border: none !important;
}

#header_IPSM{
    font-size: 8vh;
    font-weight: 600;
    color:rgb(255, 250, 235);
    text-shadow: 2px 2px 6px rgb(6, 9, 199), -2px -2px 6px rgb(153, 0, 255);
    background-color: rgb(127, 51, 214);
    background-image: linear-gradient(to right, rgba(39, 19, 85, 0.75), rgba(45, 10, 130, 0), rgba(39, 19, 85, 0.75));
    border: none !important;
}

#header_PW{
    font-size: 8vh;
    font-weight: 600;
    color:rgb(255, 250, 235);
    text-shadow: 2px 2px 6px rgb(6, 9, 199), -2px -2px 6px rgb(153, 0, 255);
    background-color: rgb(127, 51, 214);
    background-image: linear-gradient(to right, rgba(39, 19, 85, 0.75), rgba(45, 10, 130, 0), rgba(39, 19, 85, 0.75));
    border: none !important;
}

/****  Divider Styles  ****/

#divider-KN{
    border: 0px;
    height: 3px;
    background-image: linear-gradient(to right, rgba(45, 10, 130, 0), rgba(255, 196, 0, 0.75), rgba(45, 10, 130, 0));
}

#divider-SR{
    border: 0px;
    height: 3px;
    background-image: linear-gradient(to right, rgba(45, 10, 130, 0), rgba(50, 209, 196, 0.75), rgba(45, 10, 130, 0));
}

#divider-SW{
    border: 0px;
    height: 3px;
    background-image: linear-gradient(to right, rgba(45, 10, 130, 0), rgba(202, 125, 25, 0.75), rgba(45, 10, 130, 0));
}

#divider-IPSM{
    border: 0px;
    height: 3px;
    background-image: linear-gradient(to right, rgba(45, 10, 130, 0), rgba(255, 255, 255, 0.75), rgba(45, 10, 130, 0));
}

#divider-PW{
    border: 0px;
    height: 3px;
    background-image: linear-gradient(to right, rgba(45, 10, 130, 0), rgba(255, 255, 255, 0.75), rgba(45, 10, 130, 0));
}

/***    Text Block Styles   ***/

#tb_KN{
    border: 3px solid rgba(45, 10, 130, 0.75);
    border-radius: 15px;
    background-color: rgba(45, 10, 130, 0.75);
    background-image: linear-gradient(to right, rgba(167, 175, 255, 0.75), rgba(45, 10, 130, 0), rgba(167, 175, 255, 0.75));
}

#tb_SR{
    border: 3px solid rgba(3, 12, 34, 0.75);
    border-radius: 15px;
    background-color: rgba(167, 158, 37, 0.75);
    background-image: linear-gradient(to right, rgba(209, 50, 71, 0.75), rgba(45, 10, 130, 0), rgba(209, 50, 71, 0.75));
}

#tb_SW{
    border: 3px solid rgba(5, 59, 12);
    border-radius: 15px;
    background-color: rgb(66, 161, 199);
    background-image: linear-gradient(to right, rgba(21, 146, 37, 0.75), rgba(45, 10, 130, 0), rgba(21, 146, 37, 0.75));
}

#tb_IPSM{
    border: 3px solid rgba(120, 43, 165, 0.75);
    border-radius: 15px;
    background-color: rgba(127, 51, 214);
    background-image: linear-gradient(to right, rgba(39, 19, 85, 0.75), rgba(45, 10, 130, 0), rgba(39, 19, 85, 0.75));
}

#tb_PW{
    border: 3px solid rgba(120, 43, 165, 0.75);
    border-radius: 15px;
    background-color: rgba(127, 51, 214);
    background-image: linear-gradient(to right, rgba(39, 19, 85, 0.75), rgba(45, 10, 130, 0), rgba(39, 19, 85, 0.75));
}


/***    Image gallery styles    ***/
#ig_KN{
    border-color: rgb(167, 175, 255);
    background-color: rgba(45, 10, 130, 1);
}

#ig_SR{
    border-color: rgb(56, 215, 255);
    background-color: rgb(202, 176, 28);
}

#ig_SW{
    border-color: rgb(48, 32, 13);
    background-color: rgb(110, 62, 17);
}

#ig_IPSM{
    border-color: rgb(132, 29, 163);
    background-color: rgb(86, 69, 124);
}

#ig_PW{
    border-color: rgb(132, 29, 163);
    background-color: rgb(86, 69, 124);
}

/***        ***/
#kn_video{
    top:0; 
    left:0; 
    right:0; 
    width: 100vw; 
    height: 100vh; 
    position: fixed; 
    z-index: -1;
}

#VideoBackground
{
    height: 100vh;
    width: 100vw;
    position: absolute;
    object-fit: cover;
}

/**********************************/
/*******      Classes       *******/
/**********************************/

.bigButton{
    width: 250px;
    height: 500px;
    font-size: 50px;
    text-align: center;

    margin: 5%;

    transition: transform 0.15s;

    flex: 1 0 auto;

    
}

.textBlock{
    font-size: 25px;
    margin-left: 13%;
    margin-right: 13%;
}

.textBlockContent{
    background-color: whitesmoke;

    border: 2px solid white;
    border-radius: 3px;

    display: flex;
    flex-flow: row wrap;
    align-items: stretch;
    align-content: stretch;
    justify-content: space-around;
    gap: 5px 5px;

    margin: 3%;

    padding-top: 1%;
    padding-bottom: 1%;
    padding-left: 3%;
    padding-right: 3%;
}

.imageDisplay{
    display: none;
    position: sticky;
    z-index: 10;

    margin:0%;
    padding: 0.3em;

    margin-left: -5%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 110vw;
    height: 100vh;


    background-size: contain;
    background-repeat: no-repeat no-repeat;
    background-position: center center;
    background-color: #000000bd;
    overflow: hidden;
}

.imageGallery{
    width: 65vw;
    margin-left: 5%;
    margin-top: 1%;

    padding-top: 2%;
    padding-bottom: 2%;

    border-style: hidden;
    border-width: 5px;
    border-radius: 25px;
    
    display: flex;
    flex-flow: row wrap;
    align-items: stretch;
    align-content: stretch;
    justify-content: space-around;
    gap: 5px 0px;
}

.galleryItem{
    transition: transform 0.2s;
    max-width: 512px;
    max-height: 288px;
    /*width: 100%;*/
    width: 50vw;
    height: auto;
}

.bannerItem{
    width: 250px;
    height: 250px;
}

.textEmphasis{
    font-style: italic;
    font-weight: 500;
}

/**********************************/
/*******    Pseudo-classes  *******/
/**********************************/

.galleryItem:hover{
    transform: scale(1.05);
}

.bigButton:hover{
    transform: scale(1.2);
}

/**********************************/
/*******     Animations     *******/
/**********************************/

@keyframes fadeToBlack {
    0%{opacity: 0%;}
    100%{opacity: 100%;}
}

@keyframes fadeFromBlack {
    0%{opacity: 100%;}
    100%{opacity: 0%;}
}

@keyframes imageGrow{
    0%{transform:scale(1,1);}
    100%{transform:scale(1.05,1.05);}
}

@keyframes memeButton{
    1%{background-image: url("/Fun/CatLaugh.jpg"); background-size: contain; font-size: 0px;}
    99%{background-image: url("/Fun/CatLaugh.jpg"); background-size: contain; font-size: 0px;}
    100%{background-image: none; animation-play-state: paused;}
}

@keyframes slideRight{
    0%{transform:translateX(0%)}
    100%{transform:translateX(120%)}
}

@keyframes slideLeft{
    0%{transform:translateX(0%)}
    100%{transform:translateX(-120%)}
}

@keyframes bannerLoop{
    0%{transform: translateX(0vw);}
    100%{transform: translateX(-195vw)}
}