@charset "utf-8";
/* Resets */
html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* General Styles */
body {
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(rgb(197, 223, 224), rgb(197, 223, 224),rgb(197, 223, 224), rgb(4, 15, 107)) no-repeat;
    margin: 0;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
}

/* Wrapper Styles */
.wrapper-about {
    background: url('../images/jongnogu-bg.jpg') no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    width: 960px;
    margin: 0 auto;
}

.wrapper-food {
    background: url('../images/bibimbob.jpg') no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    width: 960px;
    margin: 0 auto;
}

.wrapper-travel {
    background: url('../images/travel.jpg') no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    width: 960px;
    margin: 0 auto;
}

.wrapper {
    background-color: rgba(255, 255, 255, 0.8);
    background-position: center;
    width: 960px;
    margin: 0 auto;
    box-shadow:2px 3px 20px black;
}

/* Header Styles */
header {
    display: flex;
}

.banner {
    position: relative;
} 
.main-imge {
    width: 960px;
    height: 450px;
	top: 0;
	left: 0;
}

.logo {
    position: absolute;
    top: 10px;
	left: 10px;
    width: 50px;
}

.tag-line {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5.5em;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
    color: rgb(255, 255, 255);
    font-family: 'Niconne', cursive;
    letter-spacing: 3px;
    text-shadow:3px 3px 10px rgb(3, 3, 61);
}

.subimage {
    position: relative;
}

.subtile {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    text-align: center;   
    font-size: 1.5em;
    color: white;
    text-shadow:2px 3px 5px rgb(3, 3, 75);
}

.subtile a{
    text-decoration: none;
    color: white;
}

.title {
    display: inline-block;
    position: relative;
    text-align: center;
    line-height: 5px;
    margin-left: 350px; 
    margin-top: 100px;
    font-size:3em; 
    color: darkblue;   
}   
    
.title-food {
    display: inline-block;
    position: relative;
    text-align: center;
    line-height: 5px;
    margin-left: 420px; 
    margin-top: 100px;
    font-size:3em; 
    color: darkblue;   
}   

.title-travel {
    display: inline-block;
    position: relative;
    text-align: center;
    line-height: 5px;
    margin-left: 400px; 
    margin-top: 100px;
    font-size:3em; 
    color: darkblue;   
}  

.title-credits {
    display: inline-block;
    position: relative;
    text-align: center;
    line-height: 5px;
    margin-left: 200px; 
    margin-top: 100px;
    font-size:3em; 
    color: darkblue;   
}  

/* Nav Styles */
nav {
    position: relative;
    margin-left: 300px;
    width: 800px;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

nav a {
    float: left;
    width: 20%;
    color: darkblue;
    text-decoration: none;
    text-align: center;
    margin-top: 10px;
    line-height: 30px;
    font-size: 1em;
    font-weight: bold;
}

nav a:hover,
nav a:focus,
nav a:active {
    background-color: darkblue;
    color: white;
}

/* Main Styles */
.contents {
    padding: 50px;
    margin-top: 50px;
}    

/* articles */

section:after {
    content: "";
    display: table;
    clear: both;
    margin-bottom: 50px;
}

.snippet {
    width: 28%;
    float: left;
    padding: 0px;
    border-radius: 50%;
    margin-left: 35px;
    overflow: hidden;
}

.snippet figure {
    margin: 0;
}

.snippet figure img {
    display: block;
    border-radius: 50%;
}
    
.snippet h2 {
    text-align: center;
    color: darkblue;
}

.snippet:hover{
    box-shadow: 0px 0px 20px #000000;
    z-index: 2;
    transition: all 200ms ease-in;
    transform: scale(1.2);
    opacity: 0.6;
}

.snippet-about {
    width: 45%;
    float: left;
    position: relative;
    margin-left: 38px;
}

.quick
{
    margin-left: 80px;
}

.fact {
    margin-left: 40px;
}


.snippet-about table, td, th {    
    border: 1px solid rgb(179, 173, 173);
    text-align: left;
}

.snippet-about table {
    border-collapse: collapse;
    width: 100%;
}

.snippet-about th, td {
    padding: 5px 10px 5px 20px ;
}

.now{
    color: white;
    font-size: 1.2em;
    background-color: darkblue;
}
.now-special{
    position: absolute;
    right: -29px;
    top: 414px;
    background: darkred;
    width:100px;
    padding: 0;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 1em;
    color: white;
    transform: rotate(-10deg);
    box-shadow: 0 5px 10px #777;
}

.fact {
    list-style: none;
    width: 310px;
    }

.fact li {
    border-bottom: 1px dotted gray;
    line-height: 2.3em;    
}

.important {
    background-color: darkblue;    
    color: white;
    padding-left: 5px;
    font-weight: bold;
}

blockquote {
    padding: 0 50px;
    font-style: italic;
    color: rgb(95, 92, 92);
}

.content-b {
    font-size: 1.2em;
}

.content-b p b {
    color: red;
}
    
.try-food{
    margin:50px 0 0 300px;
}

.content-list {
    line-height: 1.5em;
}
  
.content-list li b {
    color: rgb(0, 14, 139);
}

.snippet-food {
    width: 28%;
    height: 320px;
    float: left;
    padding: 20px;
    background-color: white;
    margin-left: 38px;
    box-shadow: 2px 3px 20px black;
}

.snippet-food :nth-of-type(2){
    margin: 0 2%;
}
    
.snippet-food figure {
    margin: 0;
}
.subimage-food img {
    width: 250px;
    height: 150px;
}
.subtile-food {
    text-align: center;
    color: darkblue;
}
    
.subimage-food p {
    text-align: center;
    font-style: italic;
    margin: 0;
}

.travel {
    width: 50%;
    float: left;
    padding: 0;   
}

.travel h2{
    text-align: center;
}    
 
.travel figure img {
    border-radius: 5%;
    box-shadow:2px 3px 20px black;

}    

.travel figure{
    width: 400px;
}

figcaption {
    font-size: 0.8em;
    font-style: italic;
    text-align: right;
    margin: 8px 20px 0 0;
    color: rgb(95, 92, 92)
}

.travel-twoday {
    border-top: 2px dotted rgb(130, 187, 241);
}
  
.korea-map {
    width: 50%;
    float: left;
    padding: 20px;
} 

.korea-map h2{
        text-align: center;
}   

.korea-map img {
    width: 400px;
    height:400px;
}

.korea-map li {
    font-size: 1.1em;
    line-height: 1.5em;
    color: rgb(243, 119, 9);
}         
        /* footer */
footer {
    display: flex;
    width: 960px;
    height: 50px;
    background: lightgray;
}

footer p {
    line-height: 50px;
    margin: 0 10px;
}

.credits {
    margin: 0;
    margin-left: 20px;
    margin-right: auto;
}

.credits img {
    width: 45px;
    margin-top: 3px;
}

.footer-link {
    position: relative;
    width: 130px;
}

.footer-link img{
    margin: 0 auto;
}

.footer-link ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline;
}

.footer-link a {
    float: left;
    width: 24%;
    padding: 2px;
    margin-top: 10px;
    text-decoration: none;
}