html{
    margin: 0;
    height: 100%;
    background-image: url('../imgs/R.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}
body{
    width:100%;
    font-family: 'Cambria',Arial,sans-serif;
    font-size: 2rem;
    color: black; 
    resize: both;
    overflow: auto; 
    -ms-overflow-style: none; /* for Internet Explorer, Edge */
    scrollbar-width: none; /* for Firefox */
    overflow-y: scroll; 
    
  }
  body::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
  } 
.top{
    float:right;
    margin: 1rem;
    size: 10%;
}
h2 {
  text-align: center;
}
.mid-top{
    text-align: left;
    width:50%;
     margin: 0 auto; 
    padding-right: 100px;
    padding-left: 100px;
    font-size: 3rem;
    display: block;
    background-color: white;
    padding: 50px 100px 100px 50px;
    animation: fadeIn linear 1s;
    -webkit-animation: fadeIn linear 1s;
    -moz-animation: fadeIn linear 1s;
    -o-animation: fadeIn linear 1s;
    -ms-animation: fadeIn linear 1s;
}
.personalLink { 
 color: black;
 text-decoration: underline;
 text-decoration-color: rgb(135, 204, 227);
} 
.personalLink:hover { 
  text-decoration: underline;
	text-decoration-color: rgb(7, 44, 154);
} 
/* Dark Mode button CSS */
.dark {
  appearance: button;
  background-color: #000;
  background-image: none;
  border: 1px solid #000;
  border-radius: 4px;
  box-shadow: #fff 4px 4px 0 0,#000 4px 4px 0 1px;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: 'Cambria',Arial,sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin: 0 5px 10px 0;
  overflow: visible;
  padding: 12px 40px;
  text-align: center;
  text-transform: none;
  touch-action: manipulation;
  user-select: none;
  vertical-align: middle;
  white-space: nowrap;
  height: 20%;
}

.dark:focus {
  text-decoration: none;
}

.dark:hover {
  text-decoration: none;
}

.dark:active {
  box-shadow: rgba(0, 0, 0, .125) 0 3px 5px inset;
  outline: 0;
}

.dark:not([disabled]):active {
  box-shadow: #fff 2px 2px 0 0, #000 2px 2px 0 1px;
  transform: translate(2px, 2px);
}

@media (min-width: 768px) {
  .dark {
    padding: 12px 50px;
  }
}


/* what to do on dark mode */
.dark-mode{
    background-color: #0a0c10; 
    color: #f0f3f6;
}
.dark-border{
    border-bottom-color: white;
}


/* Smartphone compatbility: Iphone 6 generation and up, Pixel 2nd gen and up. */
@media (max-width: 812px) and (min-width: 375px) {
  
  .mid-top{
    font-size: 60%;
    width:50%;
    text-align: left;
}

}
/* Smartphone compatbility: Galaxy 8th gen and up. */
@media (max-width: 374px) {
  
  .mid-top{
    font-size: 60%;
    width:50%;
    padding-bottom: 10%;
    text-align: left;

  }
}
@keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-moz-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-o-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-ms-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
}
}
