@media (min-aspect-ratio:16/9){ /*laptop display */
  body{
    min-width: 1024px;
    min-height: 800px;
  }

  :root {
    --base-color: white;
    --base-variant: black;
    --accent-color: #FFD457;
  }

  .darkmode {
    --base-color: #1e1e1e;
    --base-variant: white;
    --accent-color: #5A6374;
  }

  .header {
    display:none;
  }

  .container {
    color: var(--base-variant);
    font-family: "inter";
  }

  .header { 
    display: flex;
    flex-direction: row;
  }

  #theme-swap {
    background-color: var(--base-color);
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top:0.3vh;
  }

  #theme-swap-link {
    background-color: var(--base-color);
    border: none;
    outline: none;
    margin-left:auto;
    justify-content: flex-end;
  }

  #theme-swap-link h2{
    align-items: center;
    font-family: 'roboto slab', Georgia, 'Times New Roman', Times, serif;
  }

  #theme-swap img{
    padding-left:0.5vw;
    margin-left:0;
    padding-top:1%;
    width:7vmin;
    height:7vmin;
  }

  #theme-swap img:last-child{
    display: none;
  }

  .darkmode #theme-swap img:first-child{
    display: none;
  }

  .darkmode #theme-swap img:last-child{
    display: block;
  }

  .image-swap img:last-child{
    display: none;
  }

  .darkmode .image-swap img:first-child{
    display:none;
  }

  .darkmode .image-swap img:last-child{
    display: block;
    width:1.5em;
    height:1.7em;
    padding-top:1.5em;
    margin-left:auto;
    justify-content: flex-end;
  }
  .image-swap {
    margin-left:auto;
    justify-content: flex-end;
  }

  .header .image-swap img{ 
    width:3vmin;
    height:3vmin;
    padding-left:10px;
    padding-right: 10px;
    padding-top:3vh;
    margin-left:auto;
    justify-content: flex-end;
  }

  .header a{
    padding-top:0;
    justify-content: flex-end;
    margin-left:auto;
    font-size: 2vmin;
  }

  .Line {
    position:absolute;
    margin-top: 0.2em;
    margin-left: -1%;
    border-left: 0;
    padding-left: 0;
    width: 101%;
    border-top:2px solid; 
    border-color: var(--base-variant);
    height: 2px;
  }

  .potraits {
    position: relative;
  }

  .profile-shadow {
    width:25%;
    height:50%;
    position: relative;
    margin-top:10%;
    margin-left:15%;
  }

  .shadow-swap img:last-child{
    display: none;
  }

  .darkmode .shadow-swap img:last-child{
    display: block;
  }

  .darkmode .shadow-swap img:first-child{
    display: none;
  }

  .shadow-swap img{
    max-width: 25%;
    height: auto;
    width: auto\9;
    position: relative;
    margin-top:15vh;
    margin-left:15vw;
  }

  .profile-pic {
    max-width: 25%;
    height: auto;
    width: auto\9;
    position: absolute;
    margin-top:10vh;
    margin-left:15vw;
    top: 3vh;
    left: 2vw;
  }

  .Biography {
    position:absolute;
    margin-left:50vw;
    margin-top:-53vh;
    padding-right:10vw;
    animation: topSlide;
    animation-duration: 1.5s;
  }

  .Biography h1{
    font-size:6vmin;
  }

  .Biography h1::after{
    content: "";
    display: block;
    width: 70%;
    height: 3px;
    margin-top:1%;
    background-color: var(--accent-color);
    justify-content: flex-start;
    border-radius: 2px;
  }

  .Biography h2{
    font-size:3.5vmin;
    margin-top: -1vh;
    line-height: 1.5em;
  }

  .name {
    display: block;
    margin-left: 15%;
    margin-top: -1%;
    font-size: 2vmin;
    font-family: 'roboto slab', Georgia, 'Times New Roman', Times, serif;
  }

  .name p{
    margin-top: -1.4%;
    font-size: 2vmin;
    font-family: 'Inter', Georgia, 'Times New Roman', Times, serif;
  }

  .footer {
    display: flex;
    flex-direction: row;
    margin-left: 2vw;
  }

  .footer h2{
    margin-top:2vh;
    margin-right:-50%;
    font-size: 2.5vmin;
  }

  .footer img{
    width:3em;
    height:3em;
  }

  .footer a{
    justify-content: flex-end;
    margin-left:auto;
    margin-right:0;
    margin-left:-0.3%;
    margin-top:1%;
  }


  .footer-line {
    content: "";
    display: block;
    margin-left: -1%;
    width: 102%;
    height: 2px;
    margin-top:20vh;
    background-color: var(--base-variant);
    justify-content: flex-start;
    border-radius: 1px;
  }

  a:link {
    text-decoration: none;
    color:var(--base-variant);
  }
  a:visited {
    text-decoration: none;
    color:var(--base-variant);
  }
  a:hover {
    text-decoration: none;
    color:var(--base-variant);
    opacity: 50%;
  }

  .right-aligned-top {
      position: absolute;
      display: flex;
      top:8px;
      right: 16px;
  }

  .right-aligned-bottom {
      position: absolute;
      right: 0.5vw;
      margin-top: 1vh;
      margin-bottom: 0;
  }
}

@media (max-aspect-ratio: 16/9){ /*phone display */
  body{
    min-width: 320px;
    min-height: 640px;
  }

  :root {
    --base-color: white;
    --base-variant: black;
    --accent-color: #FFD457;
  }

  .darkmode {
    --base-color: #1e1e1e;
    --base-variant: white;
    --accent-color: #5A6374;
  }

  .header {
    display:none;
  }

  .container {
    color: var(--base-variant);
    font-family: "inter";
  }

  .header { 
    display: flex;
    flex-direction: row;
  }

  #theme-swap {
    background-color: var(--base-color);
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top:0.3vh;
  }

  #theme-swap-link {
    background-color: var(--base-color);
    border: none;
    outline: none;
    margin-left:auto;
    justify-content: flex-end;
  }

  #theme-swap-link h2{
    align-items: center;
    font-family: 'roboto slab' ,Georgia, 'Times New Roman', Times, serif;
  }

  #theme-swap img{
    padding-left:0.5vw;
    margin-left:0;
    padding-top:1%;
    width:7vmin;
    height:7vmin;
  }

  #theme-swap img:last-child{
    display: none;
  }

  .darkmode #theme-swap img:first-child{
    display: none;
  }

  .darkmode #theme-swap img:last-child{
    display: block;
  }

  .image-swap img:last-child{
    display: none;
  }

  .darkmode .image-swap img:first-child{
    display:none;
  }

  .darkmode .image-swap img:last-child{
    display: block;
    width:1.5em;
    height:1.7em;
    padding-top:1.5em;
    margin-left:auto;
    justify-content: flex-end;
  }
  .image-swap {
    margin-left:auto;
    justify-content: flex-end;
  }

  .header .image-swap img{ 
    width:3vmin;
    height:3vmin;
    padding-left:10px;
    padding-right: 10px;
    padding-top:1.5vh;
    margin-left:auto;
    justify-content: flex-end;
  }

  .header a{
    padding-top:0;
    justify-content: flex-end;
    margin-left:auto;
    font-size: 2vmin;
  }

  .Line {
    position:absolute;
    margin-top: 0.2em;
    margin-left: -1%;
    border-left: 0;
    padding-left: 0;
    width: 101%;
    border-top:2px solid; 
    border-color: var(--base-variant);
    height: 2px;
  }

  .potraits {
    position: relative;
  }

  .shadow-swap img:last-child{
    display: none;
  }

  .darkmode .shadow-swap img:last-child{
    display: block;
  }

  .darkmode .shadow-swap img:first-child{
    display: none;
  }

  .shadow-swap img{
    height: 35vh;
    width: 70vw;
    position: relative;
    margin-top:5vh;
    margin-left:10vw;
  }

  .profile-pic {
    max-width: 70%;
    height: auto;
    width: auto\9;
    position: absolute;
    margin-top:5vh;
    margin-left:15vw;
    top: 3vh;
    left: 2vw;
  }

  .Biography {
    position:absolute;
    margin-left:10vw;
    margin-top:8vh;
    padding-right:10vw;
    animation: topSlideMobile;
    animation-duration: 1.5s;
  }

  .Biography h1{
    font-size:6vmin;
  }

  .Biography h1::after{
    content: "";
    display: block;
    width: 70%;
    height: 3px;
    margin-top:1%;
    background-color: var(--accent-color);
    justify-content: flex-start;
    border-radius: 2px;
  }

  .Biography h2{
    font-size:3.5vmin;
    margin-top: -1vh;
    line-height: 1.5em;
  }

  .name {
    display: none;
    margin-left: 10vw;
    margin-top: 7vh;
    font-size: 2vmin;
    font-family: 'roboto slab', Georgia, 'Times New Roman', Times, serif;
  }

  .name p{
    margin-top: -1.4%;
    font-size: 2vmin;
    font-family: 'Inter', Georgia, 'Times New Roman', Times, serif;
  }

  .footer {
    display: flex;
    flex-direction: row;
    margin-left: 2vw;
  }

  .footer h2{
    margin-top:2vh;
    margin-right:-50%;
    font-size: 2.5vmin;
  }

  .footer img{
    width:3em;
    height:3em;
  }

  .footer a{
    justify-content: flex-end;
    margin-left:auto;
    margin-right:0;
    margin-left:-0.3%;
    margin-top:1%;
  }


  .footer-line {
    content: "";
    display: block;
    margin-left: -1%;
    width: 102%;
    height: 2px;
    margin-top:65vh;
    background-color: var(--base-variant);
    justify-content: flex-start;
    border-radius: 1px;
  }

  a:link {
    text-decoration: none;
    color:var(--base-variant);
  }
  a:visited {
    text-decoration: none;
    color:var(--base-variant);
  }
  a:hover {
    text-decoration: none;
    color:var(--base-variant);
    opacity: 50%;
  }

  .right-aligned-top {
      position: absolute;
      display: flex;
      top:8px;
      right: 16px;
  }

  .right-aligned-bottom {
      position: absolute;
      right: 0.5vw;
      margin-top: 1vh;
      margin-bottom: 0;
  }

  @font-face {
    font-family: "inter";
    src: url('./assets/fonts/Inter/static/Inter_18pt-Regular.ttf') format("truetype");
  }
}

@keyframes topSlide {
  0%{margin-top: -70vh; opacity: 0;}
  100%{margin-top: -53vh; opacity: 1;}
}

@keyframes topSlideMobile {
  0%{margin-top: -5vh; opacity: 0;}
  100%{margin-top: 8vh; opacity: 1;}  
}



  



  