body{
    margin: 0%;
    padding: 0%;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;

}

h1{
    align-items: center;
    justify-content: center;
    margin: 0;
    margin-left: 40%;
}


nav{
    display: flex;
    text-decoration: none;
    border: 20px;
    text-align: center;
}

li{
    display: flex;
    text-decoration: none;
    text-align: center;
    gap: 20px;
    padding: 0 100px;
    margin-bottom: 10px;
    list-style: none;
    border-radius: 2px;
    overflow: hidden;
    float: right;
}

a{
    text-decoration: none;
    text-align: center;
    gap: 20px;
    margin: 40px;
    border-color: black;
    border-radius: 15px;
    box-sizing: border-box;
    padding: 14px 16px;
    margin: 0 auto 20px auto;
    background-color: aqua;
    height: 60px;
    display: flex;
    align-items: center;
    color: black;
    justify-content: center;
}

a :hover{
    color: red;
    background-color: royalblue;
}

li :hover{
    color: red;
    background-color: royalblue;
}

.PDFWEB{
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

.box{
    position: relative;
    height: 230px;
    border-radius: 10px;
    box-shadow: 2px 2px 4px lightgray;
    cursor: pointer;
}

.box a{
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.box ::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: white;
    font-size: 25px;
    font-weight: none;
    width: 100%;
    margin-top: -100px;
    opacity: 0;
    transition: -3s;
    transition-delay: -2s;
    z-index: 1;
}

.box ::after{
    content: "";
    position: absolute;
    width: 100%;
    bottom: 0;
    border-radius: 10px;
    height: 0;
    background-color: aqua;
    transition: -3s;
}

.box :hover ::after{
    height: 100%;
}
.box :hover ::before{
    margin-top: 0;
    opacity: 1;
}

img{
    width: 200px;
    height: 200px;
}

button{
    margin-left: 40%;
}