*,
*::before,
*::after {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

body {
    margin: 0;
}

/* image fix size in division */
.row {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
    box-orient: horizontal;
    flex-direction: row;

    -webkit-box-pack: center;
    -moz-box-pack: center;
    box-pack: center;
    justify-content: center;

    -webkit-box-align: center;
    -moz-box-align: center;
    box-align: center;
    align-items: center;
}

.cell {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    box-flex: 1;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 50%;
    padding: 10px;
    margin: 10px;
    text-align: center;
}

.cell img {
    float: left;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* image fix size in division */

@media screen and (max-device-width: 480px) {
    body {
        -webkit-text-size-adjust: none;
    }
}

/* popup image function CSS start */
.popupImg {
    cursor: pointer;
    transition: 0.3s;
}

.popupImg:hover {
    opacity: 0.85;
}

/* The Modal (background) */
.popupBackground {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 10px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}

/* Modal Content (image) */
.popup-content {
    margin: 0 auto;
    display: block;
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 80%;
}

/* Caption of Modal Image */
#popup-title {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 50px;
}

/* Add Animation */
.popup-content,
#popup-title {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .popup-content {
        width: 100%;
    }
}

.remove-scrolling {
    height: 100%;
    overflow: hidden;
}

/* popup image function CSS end */

/* ------------------   header     ------------------ */

header {
    padding-top: 3%;
    display: flex;
    width: 90%;
    margin: 0 auto;
}

#logo {
    width: 40%;
}

#logo img {
    width: 70%;
    margin: 0 auto;
}

#history-swiper {
    width: 60%;
    border: #930 1px solid;
}

#resources {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

main {
    margin: 0 auto;
    width: 80%;
    background-color: #fff;
    border-radius: 50px;
}

#title {
    width: 100%;
    border: #930 0.1px solid;
    border-radius: 50px 50px 0 0;
    background-color: #930;
    color: #fff;
    text-align: center;
    padding: 15px 0;
}

#menu {
    display: flex;
    align-items: center;
    position: relative;
    margin: 20px;
    background-color: #930;
    color: #fff;
    height: 38px;
    flex-direction: row;
    width: 300px;
    left: 70%;
}

#menu-text {
    padding: 0 10px;
}

:root {
    --select-arrow: #930;
}

select {
    /* A reset of styles, including removing the default dropdown arrow */
    appearance: none;
    outline: none;
    /*  Additional resets for further consistency */
    background-color: transparent;
    border: none;
    padding: 0 1em 0 0;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    cursor: inherit;
    line-height: inherit;
    width: 100%;
}

.select {
    display: grid;
    grid-template-areas: "select";
    align-items: center;
    width: 100%;
    min-width: auto;
    max-width: 230px;
    padding: 0.25em 0.5em;
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1.1;
    background-color: #fff;
    background-image: linear-gradient(to top, #f9f9f9, #fff 33%);
    border: solid 2px var(--select-arrow);
}

.select::after {
    content: "";
    width: 0.8em;
    height: 0.5em;
    background-color: var(--select-arrow);
    clip-path: polygon(100% 0%, 0 0%, 50% 100%);
    justify-self: end;
}

select,
.select:after {
    grid-area: select;
}

#article-header {
    text-align: center;
    color: var(--select-arrow);
    font-size: 1.8em;
    font-weight: 800;
    padding-bottom: 20px;
}

.content-text {
    font-size: 1em;
    font-weight: 600;
    width: 85%;
    margin: 0 auto;
}

.btnContainer {
    display: flex;
    column-gap: 20%;
    justify-content: center;
    padding: 40px 0;
}

.center-text {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn {
    width: 30%;
    height: 150px;
    border-radius: 25px;
    border: 0;
    color: #fff;
    font-size: 30px;
    font-weight: 800;
}

.section-header {
    width: 85%;
    color: var(--select-arrow);
    font-size: 1.8em;
    font-weight: 800;
    margin: 0 auto;
    padding: 20px 0;
}

.table-css {
    text-align: center;
    vertical-align: middle;
    border-collapse: collapse;
    border: solid 2px #930;
}

.table-css2 {
    border-collapse: collapse;
    border: solid 2px #930;
	margin-left: auto;
	margin-right: auto;
}

.table-css2 td {
	padding: 0px;
}

th {
    background-color: #930;
    color: #fff;
}

tr,
td {
    border: solid 2px #930;
}

td,
th {
    width: 250px;
    height: 80px;
}

td {
    padding: 30px 15px;
}

.box {
    border: 3px solid #930;
    width: 100%;
    height: 240px;
    border-radius: 20px;
    padding: 20px;
    font-style: normal;
}

#download-area {
    display: flex;
    column-gap: 10px;
    flex-direction: row;
    margin: 20px 0;
}

.download-box {
    width: calc(100% / 3);
    text-align: center;
}

.download-box img {
    width: 100%;
}

.fileName {
    margin: 10px 0;
}

.download-btns {
    display: flex;
    justify-content: center;
}

.download-btn {
    display: flex;
    width: 50%;
    height: 60px;
    border: none;
    border-radius: 10px;
    background-color: #930;
    font-size: 18px;
    color: #fff;
    justify-content: center;
    align-items: center;
}

.topBtn {
    display: none;
    position: fixed;
    z-index: 99;
    cursor: pointer;
    bottom: 20px;
    right: 30px;
}

.top {
    position: absolute;
    background-color: #930;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    left: -20%;
}

footer {
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: #930;
    height: 60px;
    margin-top: 50px;
    color: #fff;
    font-size: 22px;
    text-align: center;
}

@media screen and (max-width: 1280px) {
    main {
        width: 100%;
    }
}


@media screen and (max-width: 1100px) {
    #menu {
        left: 65%;
    }
}