@import url('https://fonts.googleapis.com/css?family=DM+Serif+Text|Nanum+Gothic&display=swap');

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  box-sizing: border-box;
}

body {
  position: relative;
  width: 95%;
  max-width: 1500px;
  min-height: 100%;
  padding-bottom: 34rem;
  font-family: 'Nanum Gothic', Arial, Helvetica, sans-serif;
  font-size: 1.2em;
  display: table;
  margin: 0 auto;
  background-color: #fff;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Text', serif;
  font-size: 1.75em;
}

a {
  color: #0051a4;
  text-decoration: none;
}

a:hover {
  color: #007cb1;
  text-decoration: none;
}

img {
  border-radius: 15px 15px 15px 15px;
}

.header {
  text-align: center;
  margin: 20px auto 5px auto;
}

.topnav {
  position: sticky;
  top: 0px;
  overflow: hidden;
  background-color: #fff;
}

.topnav a {
  float: left;
  color: #000;
  background-color: #dddddd;
  text-decoration: none;
  font-size: 17px;
  font-weight: bold;
  border-radius: 9px;
  padding: 12px 15px;
  margin-top: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.topnav a:hover {
  background-color: #003a9d;
  color: #fff;
}

.topnav a.active {
  background-color: #003a9d;
  color: #fff;
}

.topnav-right {
  float: right;
}

.topnav-form {
  width: 180px;
}

.topnav-info {
  float: right;
  font-size: 0.7em;
  margin-right: 0px;
}

button {
  font-family: 'Nanum Gothic', Arial, Helvetica, sans-serif;
  border: 0px;
  color: #000;
  background-color: #dddddd;
  padding: 12px 15px;
  font-size: 1em;
  font-weight: bold;
  border-radius: 9px;
  outline: none;
}

button:hover {
  background-color: #003a9d;
  color: #fff;
}

button:active {
  background-color: #003ea8;
  color: #fff;
}

input {
  font-family: 'Nanum Gothic', Arial, Helvetica, sans-serif;
  border: 0px;
  color: #000;
  background-color: #eeeeee;
  font-size: 1em;
  border-radius: 9px;
  outline: none;
  padding: 12px 15px;
  margin-top: 10px;
  margin-bottom: 10px;
}

input.checkbox {
  font-family: 'Nanum Gothic', Arial, Helvetica, sans-serif;
  border: 0px;
  color: #000;
  background-color: #eeeeee;
  padding: 10px 10px;
  font-size: 1em;
  border-radius: 9px;
  outline: none;
  margin-right: 5px;
  margin-bottom: 5px;
}

.aboutname {
  font-family: 'DM Serif Text', serif;
  font-size: 3.5em;
}

.aboutjob {
  font-family: 'DM Serif Text', serif;
  font-size: 1.55em;
  font-weight: bold;
  color: #0051a4;
  padding-bottom: 50px;
}

.aboutcontent {
  font-family: 'Nanum Gothic', Arial, Helvetica, sans-serif;
  font-size: 1.2em;
  padding-bottom: 20%;
}

.footer {
  position: absolute;
  width: 100%;
  background-color: #dddddd;
  border-radius: 15px 15px 0px 0px;
  right: 0;
  bottom: 0;
  left: 0;
  margin-top: -600px;
}

.footerbox {
  text-align: left;
  width: 100%;
  padding: 20px 60px 00px 60px;
  margin-bottom: 5px;
}

.footertext {
  font-size: 0.8em;
  padding: 20px 60px 20px 60px;
}

.footer a {
  color: #000;
  padding-bottom: 2px;
}

.footer a:hover {
  color: #393939;
  padding-bottom: 2px;
}

.footer a:active {
  color: #393939;
  padding-bottom: 2px;
}

.headline {
  text-align: center;
  font-family: 'DM Serif Text', serif;
  font-size: 60px;
  padding: 100px;
  text-decoration: none;
  display: block;
}

.container {
  text-align: center;
  text-decoration: none;
  display: block;
  margin-bottom: 25px;
}

/* Left column */
.leftcolumn {
  float: left;
  width: 75%;
  padding-left: 0px;
  padding-right: 10px;
}

/* Right column */
.rightcolumn {
  float: left;
  width: 25%;
  padding-left: 10px;
  padding-right: 10px;
}

/* Three column */
.threecolumn {
  float: left;
  width: 33%;
  padding-left: 10px;
  padding-right: 10px;
}

/* Two column */
.twocolumn {
  float: left;
  top: 0;
  width: 50%;
  padding-left: 0px;
  padding-right: 10px;
}

/* One column */
.onecolumn {
  float: left;
  width: 100%;
  padding-left: 0px;
  padding-right: 0px;
}

/* Fake image */
.fakeimg {
  background-color: #dddddd;
  width: 100%;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px 10px 10px 10px;
}

/* Add a card effect for articles */
.card {
  background-color: #fff;
  margin-top: 0px;
  padding: 0px;
  border-radius: 10px 10px 10px 10px;
}

.cardblue {
  background-color: #003ea8;
  font-size: 1.5em;
  border-radius: 10px 10px 10px 10px;
  color: #fff;
  padding: 50px 50px 50px 50px;
  margin-bottom: 20px;
  min-height: 500px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Style the tab */
.tab {
  float: left;
  width: 20%;
  min-height: 200px;
  margin-top: 60px;
}

.tab img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Style the buttons inside the tab */
.tab button {
  display: block;
  color: black;
  padding: 12px 15px;
  width: 100%;
  border: none;
  outline: none;
  text-align: left;
  cursor: pointer;
  margin-bottom: 10px;
}

/* Change background color of buttons on hover */
.tab button:hover {
  color: #fff;
  background-color: #003a9d;
}

/* Create an active/current "tab button" class */
.tab button.active {
  color: #fff;
  background-color: #003a9d;
}
/* Style the tab content */
.tabtab {
  float: left;
  width: 5%;
  border: none;
}

.tab-horizontal {
  display: table;
  margin: 0 auto;
}

/* Style the tab content */
.tabcontent {
  float: left;
  background-color: #ddd;
  padding: 50px 50px;
  width: 75%;
  border: none;
  min-height: 300px;
  border-radius: 10px 10px 10px 10px;
  margin-top: 60px;
}

.tabcontent input {
  color: #393939;
  width: 300px;
}

.tabcontent button {
  width: 300px;
  color: #000;
  background-color: #fff;
  border: none;
  margin-top: 10px;
}

.tabcontent button:hover {
  width: 300px;
  color: #fff;
  background-color: #003a9d;
  border: none;
  margin-top: 10px;
}

.tabcontent img {
  display: block;
  margin-top: -120px;
  margin-left: auto;
  margin-right: auto;
}

label {
  font-size: 0.8em;
}

/* Responsive navigation menu (for mobile devices) */
@media screen and (max-width: 600px) {
  body {
    width: 100%;
    padding: 10px;
  }

  input {
    width: 100%;
  }

  button {
    width: 100%;
  }

  .topnav,
  .topnav a {
    position: relative;
    float: none;
    display: block;
    margin-right: 0;
  }

  .topnav-right {
    position: relative;
    float: none;
    display: block;
    margin-right: 0;
  }

  .topnav-form {
    width: 100%;
    margin: 0 0 5px 0;
  }

  .threecolumn, .twocolumn {
    width: 100%;
    position: relative;
    float: none;
    display: block;
  }

  .footerbox {
    padding: 10px 10px 5px 10px;
    margin-bottom: 5px;
  }

  .footer {
    position: relative;
    width: 100%;
    border-radius: 15px 15px 15px 15px;
  }

  .headline {
    font-size: 3em;
    padding: 25px;
  }

  .tab {
    float: none;
    width: 100%;
    margin: 0 auto;
  }

  .tabcontent {
    float: none;
    width: 100%;
    min-height: 500px;
    border: none;
    margin: 10px;
  }

  .tabcontent input {
    width: 100%;
    border: none;
  }

  .tabcontent button {
    width: 100%;
    color: #000;
    border: none;
    margin: 10px 0 10px 0;
  }
  .tabcontent button:hover {
    width: 100%;
    color: #fff;
    background-color: #003a9d;
    border: none;
    margin-top: 100px;
  }
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
  body {
    width: 100%;
    padding: 10px;
  }

  .leftcolumn, .rightcolumn {
    width: 100%;
    padding: 5px;
  }

  .threecolumn, .twocolumn {
    width: 100%;
    float: none;
    display: block;
  }

  .footer {
    position: relative;
    width: 100%;
    border-radius: 15px 15px 15px 15px;
  }

  .tab {
    float: none;
    width: 100%;
  }

  .tabcontent {
    float: none;
    width: 100%;
    min-height: 500px;
    border: none;
    margin-bottom: 25px;
  }
}
