* {
    margin: 0;
    padding: 0;
}

.header {
    /* min-height: 7.5vh;
    width: 100%;*/
}

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
    background-color: #000;
}

    nav img {
        width: 150px;
    }

.nav-links {
    flex: 1;
    text-align: right;
}

    .nav-links ul li {
        list-style: none;
        display: inline-block;
        padding: 8px 12px;
        position: relative;
    }

        .nav-links ul li a {
            color: #fff;
            text-decoration: none;
            font-size: 13px;
        }

        .nav-links ul li::after {
            content: '';
            width: 0%;
            height: 2px;
            background: #f44336;
            display: block;
            margin: auto;
            transition: 0.5s;
        }

        .nav-links ul li:hover:after {
            width: 100%;
        }

nav .fa {
    display: none;
}

/* index */
.index {
    min-height: 85vh;
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)),url(/image/Alien.png);
    background-position: center;
    background-size: cover;
}

.text-box {
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

    .text-box h1 {
        font-size: 62px;
    }

    .text-box p {
        margin: 10px 0 40px;
        font-size: 14px;
        color: #fff;
    }

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

    .hero-btn:hover {
        border: 1px solid #f44336;
        background: #f44336;
        transition: 1s;
    }
/* Sub page */
.sub-header {
    height: 30vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)), url(/image/background.jpg);
    background-position: center;
    background-size: cover;
}

.sub-text {
    width: 90%;
    color: #fff;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.header-sub h1 {
    font-size: 62px;
}

/*---- Sub Page Main ----*/
.sub-main {
    width: 80%;
    margin: auto;
}

.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.sub-main-col {
    flex-basis: 48%;
    padding: 30px 2px;
}

    .sub-main-col img {
        width: 100%;
    }

/*---- Sub Page List (Notice) ----*/
.sub-main-list {
    width: 90%;
    margin: auto;
}
    
/*---- Notice (Index) ----*/
.table-box {
    margin: 50px auto;
}

.table-row {
    display: table;
    width: 80%;
    margin: 10px auto;
    font-family: sans-serif;
    background: transparent;
    padding: 12px 0;
    color: #555;
    font-size: 13px;
    box-shadow: 0 1px 4px 0 rgba(0,0,50,0.3);
}
.table-head {
    background: #8665f7;
    box-shadow: none;
    color: #fff;
    font-weight: 600;
}

.table-cell{
    display: table-cell;
    text-align: center;
    padding: 4px 0;
    border-right: 1px solid #d6d4d4;
    vertical-align: middle;
}

.table-head .table-cell {
    border-right: none;
}

.first-cell {
    width: 30%;
    text-align: left;
    padding-left: 10px;
}
.middle-cell {
    width: 30%;
    text-align: left;
    padding-left: 10px;
}
.last-cell {
    width: 20%;
    border-right: none;
}
/*---- Notice (Create) ----*/
.sub-main-form {
    box-sizing: border-box;
    width: 100%;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    
}
.input-form {
    width: 90%;
    max-width: 600px;
}
.input-group {
    margin-bottom: 30px;
    
}
.sub-main-form input, .sub-main-form textarea {
    width: 100%;
    padding: 10px;
    outline: 0;
    border: 1px solid #ccc;
    font-size: 15px;
}
.sub-main-form label {
    height: 100%;
    
    
    padding: 10px;
    cursor: text;
}
.sub-main-form button {
    padding: 10px 0;
    outline: none;
    border: 1px solid;
    width: 100%;
    cursor: pointer;
}

@media (max-width: 768px) {
    .text-box h1 {
        font-size: 20px;
    }

    .nav-links ul li {
        display: block;
    }

    .nav-links {
        position: absolute;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }

    nav .fa {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .nav-links ul {
        padding: 30px;
    }

    .row {
        flex-direction: column;
    }
}

.account {
    padding: 50px 0;
    background: radial-gradient(#fff, #ffdddd);
}

.form-container {
    background: #fff;
    width: 300px;
    height: 400px;
    position: relative;
    text-align: center;
    padding: 20px 0;
    margin: auto;
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.1);
}

    .form-container span {
        font-weight: bold;
        padding: 0 10px;
        color: #555;
        cursor: pointer;
        width: 100px;
        display: inline-block;
    }

.form-btn {
    display: inline-block;
}

.form-container form {
    max-width: 300px;
    padding: 0 20px;
    position: absolute;
    top: 130px;
}

form input {
    width: 100%;
    height: 30px;
    margin: 10px 0;
    border: 1px solid #ccc;
}

form .btn {
    width: 100%;
    height: 30px;
    cursor: pointer;
    margin: 10px 0;
}

/*---- Footer ----*/

.footer {
    width: 100%;
    text-align: center;
    /* padding: 30px 0; */
}

    .footer h4 {
        /* margin-bottom: 25px;
    margin-top : 20px; */
        font-weight: 600;
    }
