* {
    box-sizing: border-box;
}

h2:not(:first-child), a h2{
    margin-top: 45px;
}

iframe, img, video{
    width: 100%;
    height: 0;
    /* display: none; */
    /* min-height: 750px; */
}

img {
    object-fit: contain;
}

.arrow {
    border: solid black;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    margin-left: 3px;
}
  
.document {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: 2px black solid;
    padding: 8px 5px;
    background-color: rgb(128, 128, 128, .5);
    text-align: center;
    align-items: center;
}

.document a{
    height: 100%;
    text-decoration: underline;
    color: blue;
}

.document:nth-of-type(2n){
    background-color: rgb(255, 255, 255, .5);
}

.document > div:nth-child(1){
    width: 20%;
    text-align: left;
}

.document div:nth-child(2) {
    width: 50%;
    text-align: center;
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    margin-bottom: 2px;

}

.document div:nth-child(3), .document div:nth-child(4), .document > a {
    width: 10%;
}

.doc-table {
    display: flex;
    flex-direction: column;

    width: 80%;
    margin: auto;
    background-color: rgb(100, 100, 100, .5);
    margin-bottom: 100px;
}

.hide {
    border: 0;
    height: 0;
}

.hide-animate {
    animation-name: close_doc;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.show-animate {
    animation-name: open_doc;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    background-color: black;
    padding-bottom: 2px;
}

.table-heading {
    background-color: rgb(51, 51, 51, .5);
    font-weight: 900;
    font-size: 150%;
}

.table-heading div:nth-child(2){
    text-align: center;
}

.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    margin-bottom: -1px;
}
    
@keyframes close_doc {
    from {
        min-height: 750px;
        border: 1px;
    }

    to {
        min-height: 0;
        border: 0;

    }
}

@keyframes open_doc {
    from {
        min-height: 0;
        border: 0;

    }

    to {
        min-height: 750px;
        border: 1px;
    }

}
