/***********************************************************************
 *  Basic setup
 **********************************************************************/
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    color: white;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    background-color: white;
}

html.open {
    overflow: hidden;
}

:root {
    --gold: #DEC74A;
    --gold2: #E6D575;
}

.flex {
    display: flex;
}

/***********************************************************************
 *  Headings
 **********************************************************************/
h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

h1 {
    font-size: 56px;
    line-height: 1.29;
}

h2 {
    font-size: 36px;
    line-height: 1.32;
    color: #171717;
}

h3 {
    font-size: 28px;
    line-height: 1.57;
    color: #171717;
}

h4 {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.33;
}

/***********************************************************************
 *  Header
 **********************************************************************/
header {
    background-image: url(../img/ko-bg.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.logo {
    height: 120px;
}

.margin {
    max-width: 1500px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.margin2 {
    max-width: 1400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

header nav {
    padding: 40px 0px;
}

header .nav {
    position: relative;
}

header nav ul {
    font-weight: 600;
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;
}

header nav ul div:nth-of-type(1),
header nav ul div:nth-of-type(3) {
    width: 40%;
    display: flex;
    justify-content: space-evenly;
}

header nav ul div:nth-of-type(2) {
    width: 20%;
    text-align: center;
}

header nav li a {
    color: white;
    text-decoration: none;
    margin: 0 40px;
    padding: 5px 0px;
    position: relative;
    font-size: 21px;
    letter-spacing: 0.5px;
}

header nav li a::after {
    content: "";
    width: 0;
    height: 2px;
    background-color: white;
    position: absolute;
    left: -10%;
    bottom: 0;
    transition: .4s;
}

header nav li a:hover::after {
    width: 120%;
}

header h1 {
    margin: 64px 0 56px 120px;
    text-align: left;
}

header h1 span {
    color: var(--gold);
}

header > img {
    margin-left: 33%;
    animation: down 3s infinite;
}

@keyframes down {
    0% {
        margin-top: 0;
    } 
    
    50% {
        margin-top: 0;
    }

    100% {
        margin-top: 40px;
    }
}

/* subnav */
.sub-nav {
    list-style: none;
    position: absolute;
    display: none;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    background-color: white;
    border-radius: 7px;
    box-shadow: 0 0px 29px rgba(0,0,0,0.16);
}

.sub-nav-li:hover .sub-nav{
    display: block;
}

.sub-nav-a:hover::after,
.sub-nav-li a:hover::after {
    width: 0;
}

.sub-nav-li {
    position: relative;
}

.sub-nav-li a {
    cursor: pointer;
    text-transform: none;
}

.sub-nav li {
    width: 100%;
    margin: 16px 0;
    text-align: center;
}
.sub-nav-li .sub-nav-a {
    margin: 0;
    padding: 5px 40px 20px;
}

.mobile-nav .subNav-li {
    display: none;
}

.mobile-nav .subNav-li.open {
    display: block;
}

.sub-nav li a {
    padding: 8px 10px;
    margin: 0;
    color: black;
    font-size: 16px;
}
/* end of subnav */

.contact {
    color: var(--gold);
    position: relative;
    border-bottom: 0px;
}

.contact::after {
    content: "";
    width: 24px;
    height: 2px;
    background-color: var(--gold);
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    transition: .4s;
}

.contact:hover {
    border-bottom: 0px;
}

.contact:hover::after {
    width: 120%;
}

.btn {
  border: none;
  display: block;
  text-align: center;
  cursor: pointer;
  text-transform: uppercase;
  outline: none;
  overflow: hidden;
  position: relative;
  color: white;
  font-size: 16px;
  font-family: system-ui;
  text-decoration: none;
  background: var(--gold);
  padding: 32px 110px;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(0,0,0,0.20);
}

.btn span {
  position: relative; 
  z-index: 1;
}

.btn:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 490%;
  width: 140%;
  border-radius: 100%;
  background: var(--gold2);
  transition: all .5s ease-in-out;
  transform: translateX(25%) translateY(-25%) rotate(45deg);
}

.btn:hover:after {
  transform: translateX(75%) translateY(-25%) rotate(45deg);
}

.mobile-menu {
    padding: 40px 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    display: none;
}

.menu-btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all .5s ease-in-out;
}

.menu-btn-burger {
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 10px;
    transition: all .5s ease-in-out;
}

.menu-btn-burger::before,
.menu-btn-burger::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 10px;
    transition: all .5s ease-in-out;
}

.menu-btn-burger::before {
    transform: translateY(-8px);
}

.menu-btn-burger::after {
    transform: translateY(8px);
}

.mobile-nav {
    text-align: center;
}

.mobile-nav ul {
    display: inline-flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.contact-mob {
    border: 2px solid var(--gold);
    border-radius: 50px;
}

.mobile-nav li {
    display: block;
    margin: .5rem 0;
}

.mobile-nav a {
    opacity: 0;
    transform: translateY(20px);
}

.mobile-nav img {
    width: 24px;
    margin-left: 10px;
    margin-bottom: -3px;
}

.mobile-nav.open a {
    opacity: 1;
    transform: translateY(0);
}
.mobile-nav li:nth-child(1) a {
	transition: all 275ms 275ms
}
.mobile-nav li:nth-child(2) a {
	transition: all 275ms 325ms
}
.mobile-nav li:nth-child(3) a {
	transition: all 275ms 375ms
}
.mobile-nav li:nth-child(7) a {
	transition: all 275ms 425ms
}
.mobile-nav li:nth-child(8) a {
	transition: all 275ms 475ms
}
.mobile-nav li:nth-child(9) a {
	transition: all 275ms 525ms
}

.mobile-nav ul {
	list-style: none;
	padding: 0;
}

.mobile-nav a {
	display: block;
    padding: 12px 24px;
    font-size: 24px;
	color: white;
	text-decoration: none;
	font-weight: bold;
}

/* animation */
.menu-btn.open .menu-btn-burger {
    transform: translateX(-30px);
    background: transparent;
}

.menu-btn.open .menu-btn-burger::before {
    transform: rotate(45deg) translate(19px, -19px);
}

.menu-btn.open .menu-btn-burger::after {
    transform: rotate(-45deg) translate(19px, 19px);
}

.mobile-nav .subNav-li a {
    font-size: 20px;
    padding: 6px 24px;
    font-weight: normal;
}

.mobile-nav.open .subNav-li.open {
    animation: show;
    animation-duration: .4s;
}

@keyframes show {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}

.mobile-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    background: var(--gold);
    opacity: 0;
    z-index: -1;
    visibility: hidden;
    transition: all .375s;
}

.mobile-nav.open {
    opacity: 1;
    z-index: 10;
    visibility: visible;
}

.mobile-nav.open .nav {
    position: fixed;
}

.mobile-nav::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: -15px;
    background: black;
    transform-origin: 0 0;
    transform: skew(-14deg) translateX(-120%);
    transition: all .275s .1s;
}

.mobile-nav.open::before {
    transform: skew(-14deg) translateX(0);
}

/***********************************************************************
 *  Section
**********************************************************************/
section {
    padding-top: 260px;
}

.info {
    margin: 0 120px;
    color: #171717;
    font-size: 24px;
    line-height: 26px;
}

.info h2 {
    position: relative;
    margin-bottom: 48px;
}

.info h2::before {
    content: "";
    position: absolute;
    width: 3px;
    height: 129px;
    left: 0;
    top: -173px;
    background-color: var(--gold);
}

.info > .flex > a {
    display: flex;
    flex-wrap: wrap;
    width: 40%;
    text-decoration: unset;
    color: unset;
}

.info > .flex > a:hover {
    text-decoration: underline;
}

.info > .flex > div:nth-child(1) p {
    margin-bottom: 18px;
}

.info > .flex > div:nth-child(1) p:nth-child(1) {
    margin-top: 8px;
}

.info > .flex > a > div:nth-child(1) {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

.contact-icons {
    width: 40px;
    height: auto;
}

.info > .flex > a p {
    line-height: 64px;
}

.info > h3 {
    margin: 104px 0 120px;
}

.info > p {
    font-size: 18px;
    line-height: 24px;
    color: #000000;
    margin: 16px 0 136px;
}

/* FORM */
.form {
    width: 100%;
    box-shadow: 0px 4px 25px rgba(23, 23, 23, 0.05);
    border-radius: 0px 200px 0px 0px;
    padding: 102px 25% 102px 180px;
    background: white;
    position: relative;
}

.form h2 {
    position: relative;
    margin-bottom: 120px;
}

.form h2::after {
    content: "";
    position: absolute;
    width: 97px;
    height: 3px;
    background: var(--gold);
    left: 0;
    top: 80px;
}

form .flex {
    -webkit-box-pack: justify;
            justify-content: space-between;
}

form .flex:nth-of-type(1) p {
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-weight: bold;
    color: #171717;
    font-size: 14px;
    line-height: 16px;
    margin-bottom: 12px;
}

form .flex p:nth-of-type(2),
form .flex p:nth-of-type(3) {
    margin-top: 32px;
}

form .flex:nth-of-type(1) div:nth-of-type(2) p {
    margin-bottom: 30px;
}

form .flex p span{
    color: var(--gold);
    font-weight: normal;
}

form .flex:nth-of-type(1) div:nth-of-type(1) {
    width: 40%;
}

form .flex:nth-of-type(1) div:nth-of-type(2) {
    width: 50%;
}

form .flex:nth-of-type(2) {
    margin-top: 40px;
    -webkit-box-align: baseline;
            align-items: baseline;
}

#successfully {
    display: none;
}

#successfully p {
    color: var(--gold);
}

.agree {
    font-size: 14px;
    line-height: 18px;
    color: #BEBEBE;
    margin-top: 25px;
}

.agree a {
    color: #BEBEBE;
}

form input[type=text],
form textarea {
    font-size: 18px;
    font-family: 'Nunito Sans', sans-serif;
    width: 100%;
    height: 50px;
    border: 0px;
    color: #171717;
    background-color: unset;
    border-bottom: 2px solid #F4F4F4;
    outline: none;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-transition: .5s;
    transition: .5s;
}

form textarea {
    resize: none;
    height: 200px;
}

form input[type=text]::placeholder,
form textarea::placeholder {
    color: #BEBEBE;
}

form input[type=button] {
    border: none;
    display: block;
    cursor: pointer;
    text-transform: uppercase;
    outline: none;
    overflow: hidden;
    position: relative;
    font-weight: bold;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 0.03em;
    color: #171717;
    background: var(--gold2);
    padding: 24px 65px;
    transition: background .5s;
    -webkit-appearance: none;
}
  
form input[type=button]:hover {
    background: var(--gold);
}

form input[type=text].wrong ,
form textarea.wrong {
    border-bottom: 2px solid red;
}


/***********************************************************************
 *  Animation
**********************************************************************/
@-webkit-keyframes full-width {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes full-width {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/***********************************************************************
 *  Footer
**********************************************************************/
footer {
    background-image: url(../img/footer-bg.svg);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    padding: 88px 360px 40px;
}

body footer h2 {
    color: white;
    margin-left: 0;
    margin-bottom: 0;
}

footer h2 span {
    color: #DEC74A;
}

footer .btn {
    margin: 0;
}

body footer > .flex {
    justify-content: space-between;
    align-items: center;
    margin: 100px 0 100px;
}

footer > .flex > div:nth-of-type(1),
footer > .flex > div:nth-of-type(3) {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

footer > .flex > div:nth-of-type(2) {
    width: 400px;
}

footer > .flex > div:nth-of-type(2) span {
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    display: block;
    position: relative;
}

footer > .flex > div:nth-of-type(2) span::after {
    content: "";
    position: absolute;
    height: 2px;
    -webkit-animation: full-width 10s infinite linear;
            animation: full-width 10s infinite linear;
    background-color: #DEC74A;
}

footer > .flex > div:nth-of-type(3) a:nth-of-type(1) {
    margin-right: 40px;
}

footer > .flex > div:nth-of-type(3) a img {
    transition: transform .4s;
}

footer > .flex > div:nth-of-type(3) a:hover img {
    transform: translateY(-10px);
}

.footer {
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    font-size: 16px;
    color: #7D7D7D;
    display: flex;
    align-items: center;
}

.footer a {
    color: #7D7D7D;
    text-decoration: none;
    align-items: center;
}

.footer > .footer-center a:hover {
    text-decoration: underline;
}

.footer > .footer-center a:nth-of-type(1) {
    margin-left: 70px;
}

.footer > .footer-center a:nth-of-type(2) {
    margin-left: 50px;
}

.footer > img {
    height: 64px;
    margin-right: 32px;
}

.footer > .flex {
    margin-left: auto;
}

.footer > .flex {
    align-items: center;
}

.footer > .flex p {
    margin-right: 26px;
}

.footer > .flex img {
    width: 22px;
    height: 24.625px;
    margin-right: 10px;
    transition: .4s;
}

.footer > .flex a p {
    color: white;
}

.footer > .flex a:hover img {
    transform: rotate(180deg);
}

/***********************************************************************
 *  Responzivity
**********************************************************************/
@media screen and (max-width: 1550px) {
    .btn {
        padding: 28px 100px;
    }

    .margin2 {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .info {
        margin: 0 40px;
        font-size: 22px;
    }

    .form {
        padding: 80px 22% 80px 100px;
    }
}

@media screen and (max-width: 1350px) {
    .info > p {
        margin-bottom: 100px;
    }

    .form {
        padding: 60px 20% 60px 80px;
    }

    body footer > .flex {
        margin: 60px 0 80px;
    }

    .info > .flex > a > div:nth-child(1) {
        width: 55px;
        height: 55px;
    }

    .contact-icons {
        width: 30px;
    }

    .info > .flex > a p {
        line-height: 55px;
    }

    header h1 {
        margin: 56px 40px;
    }
}

@media screen and (max-width: 1230px) {
    .margin2 {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 1100px) {
    .mobile-menu {
        padding: 40px 70px 0px;
    }

    .btn {
        padding: 26px 80px;
    }

    header h1 {
        margin: 48px 0 56px 80px;
    }

    .info {
        margin: 0 80px;
    }

    .info > .flex {
        flex-wrap: wrap;
        flex-direction: column;
    }

    .info > .flex > a {
        width: 50%;
        margin-bottom: 20px;
    }

    .form h2 {
        margin-bottom: 90px;
    }

    .form {
        padding: 60px 15% 60px 60px;
    }    

    .form h2::after {
        top: 65px;
    }
}

@media screen and (max-width: 1000px) {
    .info h2 {
        margin-bottom: 40px;
    }

    header h1 {
        margin: 48px 0 56px 60px;
    }

    .info {
        font-size: 20px;
        margin: 0 60px;
    }

    form input[type=button] {
        padding: 18px 50px;
        font-size: 14px;
    }
}

@media screen and (max-width: 900px) {
    .margin2 {
        width: 93%;
    }

    .btn {
        padding: 22px 60px;
    }

    .form {
        padding: 50px 13% 40px 60px;
    }

    .form h2 {
        margin-bottom: 70px;
    }

    .info > .flex > a {
        width: 100%;
    }
}

@media screen and (max-width: 800px) {
    .form {
        padding: 60px 10% 40px 10%;
        width: 90%;
        margin: 0 auto;
    }

    form .flex {
        flex-wrap: wrap;
        flex-direction: column;
    }

    form .flex:nth-of-type(1) div:nth-of-type(2) {
        margin-top: 40px;
        width: 70%;
    }

    form .flex:nth-of-type(1) div:nth-of-type(1) {
        width: 70%;
    }

    #successfully {
        margin-top: 40px;
    }

    body footer > .flex {
        flex-direction: column;
        margin: 20px 0 60px;
    }

    footer > .flex > div:nth-of-type(2) {
        margin: 33px 0;
    }

    body footer h2 {
        text-align: center;
    }
}

@media screen and (max-width: 700px) {
    .btn {
        padding: 20px 50px;
    }

    .info h2::before {
        content: "";
        position: absolute;
        width: 3px;
        height: 90px;
        left: 0;
        top: -120px;
        background-color: var(--gold);
    }

    section {
        padding-top: 180px;
    }

    .info h2 {
        margin-bottom: 30px;
    }

    .info h3 {
        margin: 40px 0 80px;
    }

    .info > p {
        margin-bottom: 70px;
    }

    .form {
        width: 100%;
    }

    body footer > .flex {
        margin: 65px 0 45px;
    }

    footer > .flex > div:nth-of-type(1) {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 500px) {
    .btn {
        padding: 18px 38px;
    }

    header h1 {
        margin: 24px 0 32px 20px;
    }

    form .flex:nth-of-type(1) div:nth-of-type(1),
    form .flex:nth-of-type(1) div:nth-of-type(2) {
        width: 90%;
    }

    .form {
        border-radius: 0px 130px 0px 0px;
        padding: 40px 10% 30px 10%;
    }

    .info {
        font-size: 18px;
        margin: 0 20px;
    }

    .info > .flex > a > div:nth-child(1) {
        width: 45px;
        height: 45px;
    }

    .contact-icons {
        width: 22px;
    }

    .info > .flex > a p {
        line-height: 45px;
    }

    .info > .flex > a {
        margin-bottom: 12px;
    }

    form .flex:nth-of-type(2) {
        margin-top: 30px;
    }
}

@media screen and (max-width: 400px) {
    section {
        padding-top: 150px;
    }

    .info h2::before {
        top: -90px;
        height: 70px;
        width: 2px;
    }

    .form h2 {
        margin-bottom: 45px;
    }

    .form h2::after {
        top: 50px;
        width: 70px;
        height: 2px;
    }
}

@media screen and (max-width: 380px) {
    .btn {
        font-size: 13px;
    }

    header h1 {
        margin: 40px 0 30px 20px;
    }

    header h1 br {
        display: none;
    }

    form .flex:nth-of-type(1) div:nth-of-type(1), form .flex:nth-of-type(1) div:nth-of-type(2) {
        width: 100%;
    }

    form .flex:nth-of-type(1) p,
    form .flex:nth-of-type(1) div:nth-of-type(2) p {
        margin-bottom: 0;
        font-size: 13px;
    }

    .info h2 {
        margin-bottom: 50px;
    }

    .info h2::before {
        top: 50px;
        width: 70px;
        height: 2px;
    }

    section {
        padding-top: 45px;
    }

    .info {
        font-size: 16px;
    }

    .info h3 {
        margin: 24px 0 40px;
    }

    .info h3 br {
        display: none;
    }

    .info > p {
        font-size: 14px;
        line-height: 16px;
        margin-bottom: 50px;
    }

    form textarea {
        margin-top: 10px;
        height: 100px;
    }

    form input[type=text], form textarea {
        font-size: 16px;
    }

    .form {
        border-radius: 0px 90px 0px 0px;
        padding: 30px 8% 25px 8%;
    }

    form input[type=button] {
        padding: 15px 40px;
        font-size: 13px;
    }

    form .flex:nth-of-type(2) {
        margin-top: 20px;
    }
}