/* GLOBAL STANDARD TAGS */

html, body {
    background-color: rgb(13,13,25) ;
    cursor: url("../images/cursor.png"), auto !important; 
    font-family: 'SquadaOne', Impact, sans-serif !important;
    
    touch-action: none;
    overflow: hidden;
    overscroll-behavior: none;

}
body {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;

    height:100%;
    width: 100%;
    max-height: 100vh;
    max-width: 100vw;

    margin:0;
}
button {
    text-decoration: none;
}
a {
    text-decoration: none;
}

@font-face {
    font-family: 'SquadaOne';
    src: url(../fonts/Squada_One/SquadaOne-Regular.ttf) format('truetype');
}

/* IDS */




/* CLASSES */

.container_all {
    display:flex;
    flex-flow: row wrap;

    background-color: #0d0d18;
    
    
    height: 97vh;
    width: 100vw;

    margin-top: 1vh;
    margin-bottom: 1vh;

    justify-content: center;

    overflow: hidden;

}

.windows_bckgrnd {
    display: flex;
    

    background-color: gold;

    border-color: #21182b;
    border-width: 8px;
    border-style: solid;
    
    height: 60%;
    width: 100%;

    margin-top: 2vh;
    margin-left:0;
    margin-right:0;

    overflow: hidden;

    background-image: url("../images/windows.png");

    
}

.container_buttons_title {
    display: flex;
    overflow: hidden;

    flex-wrap: wrap;
    flex-direction: row;
    
    /* flex-grow: 4; */

    justify-content: space-evenly;
    align-items: center;

    background-color: #0d0d18;
    

    margin:1%;
    height: 30vh;
    width: 98vw;

    

}

.container_buttons {
    display: flex;

    justify-content:space-around ;
    align-content: center;

    flex-wrap: wrap;

    background-color: #0d0d18;
    
    
    margin:1%;
    height: 25vh;
    width: 50vw;
    /* transition: width 0.5 ease;  to review */


}

.main {

    /* position */
    display: flex;
    align-items: center;
    justify-content: center;
    position:relative;

    /* hides anything outside of box of button */
    overflow: hidden;

    /* background color + text color */
    background-color: gold;
    color: purple;
    
    /* border */
    border: none;
    border-radius: 5px;

    /* shadow */
    box-shadow: 3px 3px 5px purple;

    /* font */
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    font-size: 3vw;
    white-space: nowrap;

    /* size */
    width: 8vw;
    height:2vw;
    padding: 3vw;

    /* transition */
    transition-duration: .3s;
}

.container_title {

    /* position */
    display: flex;
    
    white-space: nowrap;
    float:right !important;

    /* color */
    background-color: #0d0d18;
    color: orange;
    text-shadow: 2px 2px 4px purple;
    border-right: .06em solid orange;
    box-shadow: 0px 0px 0px 2px 4px purple;

    /* size */
    height: max-content;
    width: 11.5ch;
    font-size:6.5vw;

    /* animation */
    overflow: hidden;
    -webkit-animation: typing 6s steps(20, end), blink-caret .5s step-end infinite alternate;



}

/* CONDITIONALS */ 

@media only screen and (max-width: 767px) {
    .container_all {
        height: 96vh;

        margin-bottom: 30vh;

        
    }

    .container_title,.container_buttons {
        width:96vw;
        
    }

    .container_buttons {
        height: 20vh;
        justify-content: space-around;
    }

    .main {
        height: 1vh;
        width: 90vw;
        margin-top: 1%;
        margin-bottom: 1%;

        font-size: 1.5em;
        
    }

    .container_title {
        float: right;
        width: 11.5ch;

        font-size:8.5vw;

        -webkit-animation: typing 6s steps(23, end), blink-caret .5s step-end infinite alternate;
    }
    
}

@keyframes typing {
    from {
      width: 0;
    }
  }
  
@keyframes blink-caret {
    50% {
      border-color: transparent;
    }
  }


.main::before {

    /* size */
    width: 40vw;
    height: 40vh;

    /* color */
    background-color: orange;
    mix-blend-mode:darken;

    /* border */
    border-radius: 40%;

    /* position */
    left: -420%;
    top: -15%;
    position: absolute;

    /* transition */
    transition-duration: .3s;

    /* ??? */
    content: "";
}

.main:hover::before {
    transition-duration: .5s;
    transform: translate(110%,-50%);
    
}

.main:focus {
    transform: translate(5px,5px);
    transition-duration: .3s;
}

