
/* basic tag */
html, body {
    height: 100%;
}
body {
    font-family: "Open Sans", sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
h1 {
    margin: 0;
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 50px;
}
section {
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
    padding: 100px 70px;
}
.container {
    width: 100%;
    max-width: 1600px;
    box-sizing: border-box;
}

/* nav */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100% - 40px);
    padding: 20px;
    z-index: 1;
}

nav .container {
    display: flex;
    justify-content: space-between;
    max-width: min(1600px, calc(90%));
    align-items: center;
    margin: auto;
    box-sizing: content-box;
    border-radius: 100px;
    padding: 8px 30px;
    background-color: transparent;
    transition: background-color 1s ease, box-shadow 0.3s ease;
}

nav .container.scrolled {
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    box-shadow: 0px 1px 5px -3px gray;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

nav img {
    height: 40px;
}

nav a {
    text-decoration: none;
    color: black;
    margin: 0 15px;
    font-size: 16px;
}

nav .container.scrolled a,
nav .container.scrolled span {
    /* color: white; */
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}



nav .logo {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.2rem;
}

/* main section */

#main {
    display: flex;
    flex-direction: row;
    justify-content: space-between !important;
    align-items: center;
    gap: 40px;
    position: relative;
    text-align: left;
    padding: 0 5%;
    height: 100%;
    box-sizing: border-box;
}

#main h1 {
    font-weight: 500;
    font-size: 4vw;
    font-family: 'Archivo';
    font-weight: 800;
}

#main .x {
    width: 50%;
    height: 100%;
    max-width: 700px;
    padding-top: 20vh;
    box-sizing: border-box;
}

#main .x > div {
    width: 100%;
    height: 100%;
    overflow: scroll;
    opacity: 0.9;
}

.polygon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* main section polygon position */
.polygon svg { position: absolute; }
.polygon .beige { left: 0; top: 0px;}
.polygon .red { left: -300px; bottom: 100px; }
.polygon .blue-lg { right: -300px; bottom: 200px;}
.polygon .blue-sm { right: 80px; bottom: 600px;}

/* services -> section-services.css */


/* partners */

/* #partners {
    background-color: #f4f4f4;
    padding: 70px 40px;
}

#partners h2 {
    margin-bottom: 40px;
    font-size: 2rem;
}
#partners ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
}
#partners li {
    align-content: center;
}
#partners li a {
    display: block;
    text-align: center;
    background-color: white;
    width: 300px;
    height: 120px;
    border: 1px solid #dadada;
    border-radius: 10px;
    align-content: center;
}
#partners li a:hover {
    box-shadow: 0px 0px 5px 0px #00000038;
}
#partners img {
    max-width: 400px;
    max-height: 200px;
} */




/* contact us */

#contact {
    background-color: white;
}

#contact h1 {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 20px;
}

#contact span {
    background-color: #e8646a;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 1rem;
}

#contact a {
    text-decoration: none;
    color: #e8646a;
}
#contact a.pgp {
    border-radius: 5px;
    background-color: #3a3a3a;
    color: #c2c2c2;
    padding: 4px 8px;
    font-size: 10pt;
}


/* footer */
footer {
    background-color: #333333;
    color: #cfcfcf;
    padding: 70px;
    font-size: 0.75rem;
    display: flex;
    justify-content: center;
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

footer .container .info {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

footer .logo-container {
    width: 300px;
}

footer .copyright {
    color: #aaa;
    font-size: 0.7rem;
    text-align: center;
}

footer img {
    margin-top: 20px;
    width: 230px;
}

footer li {
    list-style: none;
}

footer i {
    font-size: 1.2rem;
    color: #fff;
}
footer a {
    text-decoration: none;
    color: #000;
}


/* 반응형 */
@media (max-width: 1600px) {
    #main h1 { font-size: 5vw; }
    #main .x { width: 40%; }
    #main .polygon svg { zoom: 0.9; }
}
@media (max-width: 1000px) {
    #main h1 { font-size: 8vw; }
    #main .x { display: none; }
    #main .polygon svg { zoom: 0.7; }
}
@media (max-width: 700px) {
    /* nav {
        padding: 10px;
    }
    nav a.home,*/
    nav .logo span {
        display: none;
    }
    #main .polygon svg { zoom: calc(0.57); }
    footer .container .info { flex-direction: column; }
    #partners li a { zoom: 0.8; }
}






/* 스크롤바 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #fff0;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb {
    background: #0003;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0008;
}
