section{
    background-color: white;
    border-radius: 20px;
    box-shadow: 2px 2px 5px 5px gray;
    width: 30%;
    /* height: 90vh; */
    padding-bottom: 10px;
    margin: 50px auto;
}

section header{
    display: flex;
    justify-content: space-between;
    padding: 20px 20px;
}

section header div:nth-of-type(2) i{
    margin: 0 5px;
}

section header div:nth-of-type(1){
   font-size: 18px;
   font-weight: 800;
   font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

aside{
     background-color: hsl(0, 0%, 90%); 
     height: 200px;
     width: 200px;
     border-radius: 50%;
     margin: auto;
     margin-top: 30px;
}

.fa-file-lines{
     font-size: 90px;
     margin: 50px 50px;
     font-weight: 100;
     transform: translateX(-10px) rotate(-10deg);
}

nav h1{
    text-align: center;
    font-size: 25px;
    font-family: sans-serif;
    margin-bottom: 30px;
}

nav p{
    text-align: center;
    line-height: 10px;
    font-size: 16px;
    font-family: sans-serif;
    font-weight: 900;
    color: blueviolet;
}

nav button{
    margin-top: 40px;
    box-shadow: 0px 15px 15px 0px blueviolet;
   margin-left: 25px;
   border-radius: 10px;
   width: 350px;
   height: 40px;
   border: none;
   transition: transform 0.6s ease-in-out;
   background-color: rgb(74, 14, 121);
   color: white;
   font-size: 16px;
   font-weight: 700;
}

nav button:hover{
    transform: translateX(-10px) rotate(-20deg);
}

nav hr{
    width: 25%;
    height: 6px;
    border-radius: 10px;
    background-color: black;
    margin-top: 50px;
}


/* Laptop/Tablet landscape (1024px and below) */
@media (max-width: 1024px) {
    section {
        width: 100%;
        margin-top: 120px;
    }

    aside {
        height: 190px;
        width: 190px;
    }

    .fa-file-lines {
        font-size: 85px;
        margin: 48px 48px;
    }

    nav button {
        width: 85%;
        margin-left: 7.5%;
    }

    nav h1 {
        font-size: 24px;
    }

    nav p {
        font-size: 14px;
        padding: 0 10px;
    }
}



/* Tablet styles (768px and below) */
@media (max-width: 770px) {
section{
    box-shadow: 2px 2px 5px 5px gray;
    width: 90%;
    margin-top: 120px;
}

    nav button {
        width: 90%;
        margin-left: 5%;
    }

    aside {
        height: 190px;
        width: 200px;
        border-radius: 50%;
    }

    .fa-file-lines {
        font-size: 90px;
        margin-left: 50px;
        margin-top: 20px;
        transform: translateX(-10px) rotate(-10deg);
    }

       nav p {
        font-size: 14px;
        padding: 0 10px;
    }
}

/* Mobile landscape (640px and below) */
@media (max-width: 640px) {
    section {
        width: 90%;
        margin-top: 120px;
    }

    nav h1 {
        font-size: 22px;
    }

    /* nav p {
        font-size: 14px;
        padding: 0 15px;
    } */

    aside {
        height: 160px;
        width: 160px;
        border-radius: 50%;
    }

    .fa-file-lines {
        font-size: 70px;
        margin: 40px 40px;
    }

    nav button {
        width: 90%;
        margin-left: 5%;
        font-size: 15px;
    }

       nav p {
        font-size: 14px;
        padding: 0 10px;
    }
}

/* Mobile portrait (480px and below) */
@media  (max-width: 480px) {
    section {
        width: 90%;
        margin-top: 120px;
    }

    section header {
        padding: 15px 15px;
    }

    section header div:nth-of-type(1) {
        font-size: 16px;
    }

    aside {
        height: 140px;
        width: 140px;
        margin-top: 20px;
    }

    .fa-file-lines {
        font-size: 60px;
        margin: 35px 35px;
    }

    nav h1 {
        font-size: 20px;
        padding: 0 10px;
    }

    nav p {
        font-size: 14px;
        padding: 0 20px;
    }

    nav button {
        width: 85%;
        margin-left: 7.5%;
        margin-top: 30px;
        height: 45px;
        font-size: 14px;
    }

    nav hr {
        width: 30%;
        margin-top: 40px;
    }
}

/* Small mobile (360px and below) */
@media (max-width: 360px) {
    section {
        width: 95%;
        margin-top: 120px;
    }

    aside {
        height: 120px;
        width: 120px;
    }

    .fa-file-lines {
        font-size: 50px;
        margin: 30px 30px;
    }

    nav h1 {
        font-size: 18px;
    }

    nav p {
        font-size: 12px;
    }

    nav button {
        width: 90%;
        margin-left: 5%;
        height: 42px;
    }
}