.body{ 
    background-color: #2d2d2d;
    padding-top: 9%;
    color: #ffffff;
    font-family: Helvetica, Arial;
    padding-bottom: 9%; 
}

.alt-body{
    width: 60%;
    margin: 0 auto;
}

main a{
    text-decoration: underline;
    text-decoration-color: rgb(59, 59, 243);
}

.header{
    height: 8%;
    min-height: 50px;
    min-width: 300px;
    display: flex;
    flex-direction: row;
    background-color: rgb(111, 111, 111);
    justify-content: space-evenly;
    align-items: center;
    position: fixed;
    right: 35%;
    left: 35%;
    top: 1%;
    animation: float 4s ease-in-out infinite;
    z-index: 1000;
    font-size: 120%;
}

.header a:hover{
    box-shadow: 5px 5px 50px black;
}

.coding, .hacking, .ai, .stock-market{
    transition: all 0.3s ease-in-out 0.01s;
}

.coding:hover, 
.hacking:hover, 
.ai:hover, 
.stock-market:hover {
    font-style: oblique;
    scale: 1.01;
}

.title{
    text-align: center;
    margin-bottom: 5%;
    font-size: 300%;
}

.start{
    display: flex;
    align-items:flex-start;
}

.my-image{
    height: 12em;
    transition: all 0.5s ease-in-out 0.1s;
}

.my-image:hover{
    scale: 1.1;
}

.intro{
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 10%;
}

.footer{
    display: flex;
    flex-direction: row;
    background-color: rgb(111, 111, 111);
    align-items: center;
    position: fixed;
    bottom: 1%;
    right: 25%;
    left: 25%;
    height: 8%;
    animation: float 4s ease-in-out infinite;
    min-height: 50px;
    min-width: 300px;
}

.footer-icons {
    display: flex;
    justify-content: space-evenly;
    flex: 1;
}

.contact-word{
    font-size: 20px;
    margin-left: 4%;
}

a{
    text-decoration: none;
    color: inherit;
}

img {
    height: 25px;
}

.line{
    margin-top: 10%;
    height: 1px;
    border-radius: 50%;
    box-shadow: 0 0 10px darkblue, 0 0 20px blue;
}

.rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.rain div {
    position: absolute;
    bottom: 100%;
    width: 2px;
    height: 20px;
    background: rgba(173, 216, 230, 0.6);
    animation: fall linear infinite;
}

.rain div:nth-child(1) { left: 5vw; animation-duration: 0.7s; animation-delay: 0s; }
.rain div:nth-child(2) { left: 10vw; animation-duration: 1.2s; animation-delay: 0.3s; }
.rain div:nth-child(3) { left: 20vw; animation-duration: 1s; animation-delay: 0.5s; }
.rain div:nth-child(4) { left: 25vw; animation-duration: 1.5s; animation-delay: 0.2s; }
.rain div:nth-child(5) { left: 30vw; animation-duration: 1s; animation-delay: 0.7s; }

.rain div:nth-child(6) { left: 70vw; animation-duration: 1s; animation-delay: 0.1s; }
.rain div:nth-child(7) { left: 75vw; animation-duration: 1.3s; animation-delay: 0.4s; }
.rain div:nth-child(8) { left: 80vw; animation-duration: 0.8s; animation-delay: 0.6s; }
.rain div:nth-child(9) { left: 85vw; animation-duration: 1.2s; animation-delay: 0.2s; }
.rain div:nth-child(10) { left: 90vw; animation-duration: 1s; animation-delay: 0.5s; }

@keyframes fall {
    to {
        transform: translateY(110vh);
    }
}

@keyframes float {
  0%   { transform: translateY(0px);}
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@media screen and (max-width: 900px) {
    .body{
        padding-top: 25%;
        padding-bottom: 25%;
    }
    .footer{
        left: 0;
        right: 0;
        width: 100%;
    }
    .header{
        left: 10%;
        right: 10%;
        width: 75%;
    }
    .alt-body{
        width: 100%;
    }
    .rain div:nth-child(n+6){
        display: none;
    }
    .rain div:nth-child(1) { display: block; left: 10vw; animation-duration: 0.8s; animation-delay: 0.3s; }
    .rain div:nth-child(2) { display: block; left: 30vw; animation-duration: 1s; animation-delay: 0.5s; }
    .rain div:nth-child(3) { display: block; left: 50vw; animation-duration: 1.2s; animation-delay: 0.4s; }
    .rain div:nth-child(4) { display: block; left: 70vw; animation-duration: 1s; animation-delay: 0.7s; }
    .rain div:nth-child(5) { display: block; left: 90vw; animation-duration: 0.9s; animation-delay: 0.2s; }
}

.start-list-books{
    font-size: 1.2rem;
}

.book-lists li{
    margin-top: 2vh;
    margin-bottom: 2vh;
}
