@font-face {
    font-family: "Comfortaa";
    src: url('Comfortaa-Bold.ttf') format('truetype'),
        url('Comfortaa-Light.ttf') format('truetype'),
        url('Comfortaa-Medium.ttf') format('truetype'),
        url('Comfortaa-Regular.ttf') format('truetype'),
        url('Comfortaa-SemiBold.ttf') format('truetype');
}


html {
    height: 100vh;
    margin: 0;
}

body {
    height: 100vh;
    margin: 0;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    -family: "Comfortaa", Arial, Helvetica, sans-serif;
    position: relative;
}

a {
    color: rgb(0, 0, 0);
}

/*  ****************************   Nav Bar   **************************** */

.header {
    position: fixed;
    top: 0;
    background-color: #ffffff;
    box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, .1);
    position: fixed;
    width: 100%;
    z-index: 2;
}

.header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    background-color: #ffffff;
    font-family: "Comfortaa", Arial, Helvetica, sans-serif;
}

.header ul a {
    display: block;
    padding: 20px;
    border-top: solid 1px #dddddd;
    text-decoration: none;
}

.header ul a:hover {
    background-color: #eeeeee;
}

.header ul a:focus {
    background-color: #eeeeee;
    outline-style: solid;
    outline-width: 1px;
    outline-offset: 0px;
    outline-color: #ababab
}

.header .logo {
    float: left;
    color: #de4328;
    font-size: 25px;
    padding: 16px 20px 10px 20px;
    font-family: "Comfortaa", Arial, Helvetica, sans-serif;
}

.header .menu {
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
}
.header .menu-icon {
    padding: 27px 20px 25px 20px;
    position: relative;
    float: right;
    cursor: pointer;
    font-family: "Comfortaa", Arial, Helvetica, sans-serif;
}
.header .menu-icon .nav-icon {
    background-color: rgb(0, 0, 0);
    display: block;
    width: 18px;
    height: 2px;
    position: relative;
    transition: background-color .2s ease-out;
}
.header .menu-icon .nav-icon::before,
.header .menu-icon .nav-icon::after {
    background-color: rgb(0, 0, 0);
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    transition: all .2s ease-out;
    position: absolute;
}
.header .menu-icon .nav-icon::before {
    top: 5px;
}
.header .menu-icon .nav-icon::after {
    top: -5px;
}
.header .menu-btn {
    display: none;
}
.header .menu-btn:checked~.menu {
    max-height: 240px;
}
.header .menu-btn:checked~.menu-icon .nav-icon {
    background-color: transparent;
}
.header .menu-btn:checked~.menu-icon .nav-icon::before {
    transform: rotate(45deg);
    top: 0;
}
.header .menu-btn:checked~.menu-icon .nav-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

@media (min-width: 32em) {
    .header ul a {
        border-top: 0;
    }
    .header li {
        float: left;
    }
    .header li:last-child {
        margin-right: 18px;
    }
    .header li a {
        margin: 14px 4px 8px 4px;
        padding: 6px 16px;
    }
    .header li a:hover,
    .header li a:active,
    .header li a:focus {
        border-radius: 20px;
        background-color: #efefef;
    }
    .header li a.active  {
        border-radius: 20px;
        background-color: #efefef;
    }

    .header .menu {
        clear: none;
        float: right;
        padding-top: 2px;
        max-height: 100px;
    }
    .header .menu-icon {
        display: none;
    }
}

/*  ************** Update ************** */
.container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    align-items: center; 
    height: 80vh;
}
.input {
    padding: 8px;
    margin-bottom: 30px;
}
.input[type="submit"]  {
    width: 100%;
    background-color:#6ebdf5;
    -webkit-border-radius:42px;
    border: 0px solid #ccc;
    border-radius:42px;
    cursor:pointer;
    padding: 10px 20px;
    color:#ffffff;
    font-family:Arial;
    font-size:18px;
    padding:15px 92px;
    text-decoration:none;
    box-shadow: 3px 9px 28px -5px #707070;
}
.input[type=text] {
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    background-color: white;
    background-position: 10px 10px;
    background-repeat: no-repeat;
    padding: 12px 20px 12px 20px;
}
.button  {
    width: 100%;
    background-color:#6ebdf5;
    -webkit-border-radius:42px;
    border: 0px solid #ccc;
    border-radius:42px;
    cursor:pointer;
    color:#ffffff;
    font-family:Arial;
    font-size:18px;
    padding: 15px 0px;
    text-decoration:none;
    box-shadow: 3px 9px 28px -5px #707070;
}
.input:hover {
    background-color:#eeeeee;
    color:#000000;
}
.input:active {
    position:relative;
    top:1px;
}

.update-table {
    margin-bottom: 30px;
    font-size: 18px;
    font-family: sans-serif;
    min-width: 320px;
    border-collapse: collapse;
    border-radius: 12px;
    border-style: hidden;
    box-shadow: 3px 9px 28px -5px #707070;
}
.update-table td { 
    padding: 16px 15px;
    font-weight: normal;
}
.update-table tbody tr {
    border-bottom: 1px solid #dddddd;
}
.update-table tr:nth-of-type(even) {
    background-color: #f3f3f3;
}
.update-table tr:last-child td:first-child{
    border: none;
    border-bottom-left-radius: 12px;
}
.update-table tr:last-child td:last-child{
    border: none;
    border-bottom-right-radius: 12px;
}
.update-table tbody td:nth-child(2) {
    text-align: right;
}
