* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    min-width: 725px;
}
body {
    font-family: 'NotoSans-Light',
        '맑은 고딕',
        'Malgun Gothic',
        sans-serif;

    color: rgb(32, 32, 32);
    letter-spacing: 1px;
    line-height: 24px;
    min-width: 725px;
    width: 100%;
}
header {
    height: 75px;
    background: rgb(123, 0, 255);
    text-align: center;
    padding: 15px;
    position: fixed;
    top: 0px;
    width: 100%;
    box-shadow: 1px 4px 5px -1px rgba(0, 0, 0, 0.4);
    
}
p{
    font-size: 20px;
    padding-bottom: 5px;
}
a{
    
    color: green;
}
nav{
    padding-left: 30px;
}
header h1 {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
    color: rgb(255, 255, 255);
    font-size: 25px;

}
section{
    margin: 25px;
    padding: 30px;
    border-style:double;
}
nav ul li {
    display: inline-block;
    font-weight: bold;
font-family:Verdana, Geneva, Tahoma, sans-serif;
    word-spacing: 20px;
    font-size: 23px;
}

nav ul li a {
    color: rgb(123, 0, 255);
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.8em;
}
div {
    margin: 10px;

}
#main-pic {
   display: contents;
   width: auto;
    height: 400px;

}

#main-pic img{
    background-size: cover;
    margin-top: 40px;
    margin-bottom: 40px;
    border: none;
    position:static;
       
        height: auto;
       width: 100%;
       max-height: 30%;
}
/* @keyframes img {
    0% {
        opacity: 1;
    }

    17% {
        opacity: 1;
    }

    25% {
        opacity: 0;
    }

    92% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.img img:nth-of-type(1) {
    animation-delay: 6s;
   
}

.img img:nth-of-type(2) {
    animation-delay: 4s;
  
}

.img img:nth-of-type(3) {
    animation-delay: 2s;
    
}

.img img:nth-of-type(4) {
    animation-delay: 0;
  
} */
main {
    background: rgb(247, 224, 255);
    display: flex;
    padding: 15px;
    min-height: 500px;
}

main section,
main sidebar {
    min-height: 400px;
    padding: 10px;
}

main section {
    width: 60%;
    background: rgb(255, 255, 255);
}

main sidebar {
    width: 40%;
    background: rgb(255, 255, 255);
    display: block;
    
}
#menu {
    position: absolute;
    color: rgb(255, 255, 255);
    cursor: pointer;
    size: 30px;
    
}
#panel {
    position: fixed;
    width: 290px;
    height: 100vh;
    top: 0px;
    left: -300px;
    background: #ffffff;
    transition: all 0.5s ease-in;
    padding: 20px;
}

#panel.slide-in {
    transform: translateX(290px);
}

#close {
    width: 25px;
    position: relative;
    left: 250px;
    top: -15px;
}

@media only screen and (max-width: 600px) {
    main {
        display: block;
    }

    main section {
        width: 100%;
    }

    main sidebar {
        width: 100%;
    }

}
article{
display: grid;
    grid-template-columns: 1fr 1fr;
  
    grid-column-gap: 30px;

}
@media only screen and (min-width: 1350px) {
    article {
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (max-width: 1150px) {
    article {
        grid-template-columns: 1fr;
    }
}
article img{
   height: 100%;
}
table{
    border: 1px solid #000000;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
    margin-bottom: 30px;
    margin-top: 20PX;
}


section div article a{
   
    
    margin-right: 70px;
    margin-left: 70px;
}section div article{
    display: contents;
    display: grid;
        grid-template-columns: 1fr 1fr;
    
        grid-column-gap: 30px;
}
