* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "Custom Font";
    src: url(Fonts/Nintendo-DS-BIOS.woff2) format('truetype');
}

@font-face {
    font-family: "MS Gothic";
    src: url(Fonts/MS\ Gothic.ttf) format('truetype');
}



@media only screen and (max-width: 1000px) {

    
    main {
        max-width: 700px;
    }

    #topbanner {
        display: flex;
    }


}

@media only screen and (max-width: 800px) {

    #topbanner {
        margin-left: 0px !important;
    }
    
    #nav {
        margin-right: 5px !important ;
        margin: 0;
        padding: 0;
        flex: auto;
        max-width: 100%;
        float: none;
    }

    main {
        float: none;
        padding: 0;
        margin: 0;
        margin-left: 0px !important;
    }

    #flex {
        flex-wrap: wrap;
    }

    #line {
        border-right: none;
        height: 0;
        display: none;
    }
    #flags {
        display: flex !important;
        margin: 0 !important;
        padding: 0;
        justify-content: space-evenly !important;
    }

    #icons {
        margin: 0;
        justify-content: space-evenly !important;
        padding: 0;
    }

    ul {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
    }

    .grid-container {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
    }


}


@media only screen and (max-width: 600px) {

    #topbanner {
        display: none;
    }

    #namelogo {
        float: none !important;
        flex-direction: column;
        align-items: center;
    }

    #icons {
        justify-content: center !important;
    }

    ul {
        display: grid !important;
        justify-content: center;
    }

}

#container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 1000px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 auto;
}

#preloader {
    margin: -10px;
    overflow: hidden;
    background-color: #e6ecf1;
    width: 100%;
    height: 100%;
    z-index: 100;
    position: fixed;
    place-content: center;
    opacity: 1;
    transition: opacity 0.3s ease-out;
}


#loading{
  width: fit-content;
  margin: 0 auto;
  font-family:"Custom Font";
  color: #243C53;
  font-size: 85px;
  clip-path: inset(0 5ch 0 0);
  animation: l4 1s steps(4) infinite;
}
#loading:before {
  content:"Loading..."
}
@keyframes l4 {to{clip-path: inset(0 -4ch 0 0)}}


#line {
    border-right: 3px dotted #243C53;
    height: 100%;
    order: 2;
}

#namelogo {
    float: left;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#namelogo:hover {
    transition: 0.05s;
    rotate: 1deg;
    scale: 105%;
    image-rendering: pixelated;
}

#topbanner {
    float: left;
    position: relative;
    width: 36vw;
    margin-left: 100px;
}

header {
    margin-top: 50px;
    display: block;
}


#topbanner img {
    width: 700px;
    height: 120px;
    padding: 3px;
    margin-block: 10px 20px;
    border-radius: 4px;
    object-fit: cover;
    object-position: center;
    image-rendering: pixelated;
    background-image: linear-gradient(180deg, rgb(108, 131, 160), #243C53);
    box-shadow: 1.7px 3.4px 3.4px hsl(0deg 0% 0% / 0.45);
    filter: sepia(100%) hue-rotate(180deg) saturate(200%);
}

.headshot img {
    margin: auto;
    display: flex;
    justify-content: center;
}

.headshot {
    margin-bottom: 10px;
    width: auto;
    height: auto;
}

#flex h1 {
    text-align: center;
}

#flex {
    display: flex;
}

.player {
    aspect-ratio: 16 / 9;
    max-width: 100%;
    border-radius: 5px;
    padding: 5px;
    margin: 5px;
    outline-color: #243C53;
    background-image: linear-gradient(180deg, rgb(108, 131, 160), #243C53);
    box-shadow: 1.7px 3.4px 3.4px hsl(0deg 0% 0% / 0.45);
}


.modal {
    /*full image modal*/
    z-index: 3;
    position: fixed;
    display: none;
    left: 0;
    top: 0;
    /*below covers window area*/
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #000000a2;
}

.mod-img {
    /*responsive display full image within in users view area */
    object-fit: scale-down;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-height: 100%;
    max-width: 100%;
    margin: auto;
}


.animate-zoom {
    animation: animatezoom 0.5s;
}

@keyframes animatezoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.modal-btn {
    color: #243C53;
    padding: 10px 15px;
    font-size: 50px;
    display: inline-block;
    position: absolute;
    right: 10vw;
    top: 2vh;
}


.modal-btn:hover {
    border-radius: 4px;
    background-color: rgba(39, 39, 39, 0.37);
    scale: 80%;
    color: rgb(255, 255, 255);
    cursor: pointer;
    transition: 0.05s ease-in;
}


.yes-right-click {
    pointer-events: auto;
}

#nav {
    margin: 5px;
    padding: 5px;
    margin-right: 50px;
    order: 1;
    display: flex;
    flex-direction: column;
}


#icons img {
    width: 50px;
    height: 50px;
    image-rendering: pixelated;
}


#icons img:hover {
    scale: 110%;
    background-image: radial-gradient( circle, #ffffff, rgba(0, 0, 0, 0));
    outline: 2px dashed #ff2fd2;
    outline-offset: 1px;
    transition: 0.03s ease-in-out;
}

#icons {
    margin: 5px;
    justify-content: center;
    padding: 5px;
    display: flex;
}


#flags {
    display: grid;
    padding: 4px;
    margin: 10px;
    border-radius: 4px;
    background-image: linear-gradient(180deg, rgb(108, 131, 160), #243C53);
    box-shadow: 1.7px 3.4px 3.4px hsl(0deg 0% 0% / 0.45);
    row-gap: 3px;
    justify-content: center;
    
}

#flags img {
    min-width: 0;
    max-width: 100%;
    height: auto;
    flex-shrink: 1;
}


.gamesdropdown li {
    margin-left: 30px;
    margin-right: 20px;
    padding: 3px;
    font-size: 25px;
    font-family: "Custom Font";
    list-style-type: '>';
    box-shadow: none;
}


main {
    justify-content: flex-end;
    float: left;
    max-width: 100%;
    margin-left: 50px;
    margin-top: 10px;
    padding: 10px;
    order: 3;
    border-radius: 2px;
    outline-style: dotted;
    outline-color: #243C53;
    font-family: "MS Gothic";
    background-image: linear-gradient(180deg, #d9dfe8, #9cc1e9)
}


#grid {
    margin: 5px;
    padding: 5px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    grid-gap: 0.7vw;
}

.grid-container img {
    height: auto; 
    width: auto;
    max-width: 350px; 
    max-height: 450px;
    cursor: zoom-in;
    box-shadow: 1.7px 3.4px 3.4px hsl(0deg 0% 0% / 0.45);

}

.grid-container img:hover {
    transition: 0.05s;
    rotate: 1deg;
    scale: 103%;
}

li a{
    color: #243C53;
    text-decoration: none;
}

p a :hover {
    cursor: pointer;
}

ul {
    list-style-type: none;
    border-radius: 5px;
    display: block;
    max-width: 100%;
}

ul li {
    background-color: #d9dfe8;
    border-radius: 5px;
    box-shadow: 1.7px 3.4px 3.4px hsl(0deg 0% 0% / 0.45);
}

ul li a:hover {
    transition: 0.03s;
    outline: 2px dashed #243C53;
    padding: 1px;
    outline-offset: 2px;
    border-radius: 0px;
    color: #3c7eb4;
}


.projectsdropdown li {
    margin-left: 30px;
    margin-right: 20px;
    padding: 3px;
    font-size: 25px;
    font-family: "Custom Font";
    list-style-type: '>';
    box-shadow: none;
}



#backgroundslash {
    margin: -10px;
    position: fixed;
    display: flex;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0),rgba(230, 236, 241, 0.5), rgb(230, 236, 241),rgb(230, 236, 241),rgb(230, 236, 241),rgba(230, 236, 241, 0.5),rgba(0, 0, 0, 0));
}

body {
    margin: 5px;
    padding: 5px;
    display: block;
  background-image:
    radial-gradient(rgb(201, 213, 226) 35%, transparent 35%),
    radial-gradient(rgb(201, 213, 226) 35%, transparent 35%);
  background-size: 40px 40px;
  background-position: 0 0, 60px 60px;
  background-color: #e6ecf1;
  animation-name: backgroundmovement;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}


  @keyframes backgroundmovement {
     0% {
   background-position: 0px 0px, 60px 60px;
        }
    100% {
   background-position: 60px 60px, 120px 120px;
  }
   }

button {
    width: 180px;
    height: 50px;
    font-size: 25px; 
    background-image: linear-gradient(180deg, #FFFFFF, #9cc1e9);
    font-family: "Custom Font";
    background-color: rgb(156, 215, 255); 
    border-color: rgb(108, 131, 160);
    color:black; 
    border-radius: 3px; 
    text-decoration: none;
}

button:hover {
    transition: 0.05s ease-in;
    background-image: linear-gradient(180deg, #FFFFFF, #72c5f8);
    cursor: pointer;
}


#footer {
    display: flex;
    justify-content: center;
    padding: 5px;
    width: 100%;
    font-family: "Custom Font";
    font-size: 20px; 
    background-color: #d9dfe8;
    border-radius: 2px;
    text-align: center;
}
