/* Ra1n.cc Styles */

html, body {
  height: 100%;
}

html {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

body::-webkit-scrollbar {
  display: none;
}

body {
  font-family: 'Open Sans', sans-serif;
  animation: fadeInAnimation ease 0.5s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
     }
}

.slider{
  display: flex;
  flex-direction: column;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  width: 100%;
}

.slider--rotator {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-grow: 2;
}

.downarrow {
  z-index: 2;
  position: relative;
  text-align: center;
  bottom: 2vh;
}

#main {
  display: flex;
  align-content: center;
}

.pfp {
  box-shadow:1rem 1rem;
  text-align:center;
  max-width:50%;
  height:auto;
  border-radius:30px;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

#main-text {
  display:flex;
  justify-content:center;
  flex-direction:column;
}


/* start dark mode */

.dark-mode {
  background-color: #606c76;
  color: #f1faee;
}
.darkmode div {
  border:1px solid #f1faee;
}

.dark-mode a{
  color: skyblue;
}
.dark-mode .pfp{
  box-shadow:1rem 1rem #262626;
}
.dark-mode code {
  background: #282828;
  border: .1px solid white;
}


/* end dark mode */

/* start checkbox thing */

input[type="checkbox"].switch_1{
  z-index:20;
  top: 0;
  left:0;
  margin: 3vh;
  position:absolute;
  display: block;
	font-size: 30px;
	-webkit-appearance: none;
	   -moz-appearance: none;
	        appearance: none;
  width: 2em;
  height: 1em;
	background: #606c76;
	border-radius: 3em;
	cursor: pointer;
	outline: none;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
  }

input[type="checkbox"].switch_1:checked{
	background: #f1faee;
}

input[type="checkbox"].switch_1:after{
	position: absolute;
	content: "";
	width: 1em;
	height: 1em;
	border-radius: 50%;
	background: #fff;
	-webkit-box-shadow: 0 0 .25em rgba(0,0,0,.3);
	        box-shadow: 0 0 .25em rgba(0,0,0,.3);
	-webkit-transform: scale(.7);
	        transform: scale(.7);
	left: 0;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

input[type="checkbox"].switch_1:checked:after{
	left: calc(100% - 1em);
  background: #606c76;
}

/*end checkbox thing */

/* rain styling */
canvas {
  display: block;
  position: absolute;
  top:0;
  left:0;
  z-index: -1;
}

#maingif {
  display:block;
  height: 50%;
  width:auto;
  margin:0 auto;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
  object-fit: contain;
}
