/***********************************************************************
 *  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 {
    height: 573px;
    background-image: url(../img/ga-bg.png);
    background-repeat: no-repeat;
    background-position: center;
    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: 60px 30px 20px;
    text-align: center;
}

/* 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;
}

.sub-nav li {
    width: 100%;
    margin: 16px 0;
    text-align: center;
}

.sub-nav-li a {
    text-transform: none;
}

.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 {
    background-image: url(../img/section3-bg.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    padding: 180px 0px 110px;
}

/***********************************************************************
 *  About
**********************************************************************/
.about {
    justify-content: space-between;
}

.about div:nth-of-type(1) {
    width: 50%;
    order: 2;
}

.about div:nth-of-type(2) {
    text-align: center;
    margin-top: 140px;
    order: 1;
    width: 40%;
}

.about h2 {
    position: relative;
    margin-bottom: 70px;
}

.about h2::before {
    content: "";
    position: absolute;
    width: 3px;
    height: 103px;
    background: var(--gold);
    top: -35px;
    left: -58px;
}

.about p {
    font-size: 24px;
    line-height: 48px;
    color: #7D7D7D;
}

/***********************************************************************
 *  About2
**********************************************************************/
.about2 {
    margin-top: 200px;
    margin-bottom: 120px;
}

.about2 p {
    position: relative;
    max-width: 100%;
    margin: 0 18%;
    font-size: 20px;
    line-height: 36px;
    color: #7D7D7D;
}

.about2 p::before {
    content: "";
    position: absolute;
    width: 3px;
    height: 103px;
    background: var(--gold);
    top: -65px;
    left: -58px;
}

@-webkit-keyframes full-width {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes full-width {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/***********************************************************************
 *  Footer
**********************************************************************/
footer {
    margin-top: -90px;
    background-image: url(../img/footer-bg.svg);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    padding: 180px 360px 40px;
}

footer h2 {
    color: white;
    margin-bottom: 80px;
    margin-left: 100px;
}

footer h2 span {
    color: #DEC74A;
}

footer .btn {
    margin: 0;
}

footer > .flex {
    justify-content: space-between;
    align-items: center;
    margin: 0 100px 124px;
}

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: 430px;
}

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) {
    header {
        height: 500px;
    }

    header h1 {
        margin: 40px 30px 20px;
    }

    .btn {
        padding: 28px 100px;
    }

    .margin2 {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .about div:nth-of-type(2) img {
        width: 90%;
    }
}

@media screen and (max-width: 1350px) {
    .about p {
        font-size: 20px;
        line-height: 40px;
    }

    .about2 p {
        margin: 0 12%;
    }

    .about h2 {
        margin-bottom: 40px;
    }

    .about div:nth-of-type(2) {
        margin-top: 90px;
    }

    section {
        padding: 140px 0px 90px;
    }

    header {
        height: 430px;
    }

    header h1 {
        margin: 0px 30px 20px;
    }
}

@media screen and (max-width: 1230px) {
    .margin2 {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .about div:nth-of-type(2) {
        margin-top: 100px;
    }

    .about div:nth-of-type(2) img {
        width: 80%;
    }
}

@media screen and (max-width: 1100px) {
    .mobile-menu {
        padding: 40px 70px 0px;
    }

    .btn {
        padding: 26px 80px;
    }

    header {
        height: 300px;
    }

    .about2 {
        margin-top: 130px;
        margin-bottom: 100px;
    }

    .about2 p::before {
        top: -40px;
    }
}

@media screen and (max-width: 1000px) {
    .about p {
        font-size: 18px;
        line-height: 34px;
    }

    .about2 p {
        font-size: 18px;
        line-height: 30px;
    }

    .about div:nth-of-type(2) {
        margin-top: 40px;
    }

    section {
        padding: 120px 0px 80px;
    }

    header {
        height: 280px;
    }

    .about h2::before,
    .about2 p::before {
        left: -40px;
        top: -40px;
    }

    .about h2 {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 900px) {
    .margin2 {
        width: 93%;
    }

    .about div:nth-of-type(1) {
        padding-right: 30px;
    }

    .btn {
        padding: 22px 60px;
    }
}

@media screen and (max-width: 800px) {
    .about {
        flex-wrap: wrap;
    }

    .about div:nth-of-type(1) {
        width: 85%;
        order: 1;
        margin-left: auto;
        padding-right: 60px;
    }

    .about div:nth-of-type(2) {
        order: 2;
        width: 100%;
        margin-top: 60px;
    }

    .about div:nth-of-type(2) img {
        width: 50%;
    }

    .about2 p {
        text-align: center;
    }

    .about2 p::before {
        width: 103px;
        height: 3px;
        left: 50%;
        transform: translateX(-50%);
        top: -35px;
    }
}

@media screen and (max-width: 700px) {
    header {
        height: 250px;
    }

    .btn {
        padding: 20px 50px;
    }

    .about2 p {
        margin: 0 5%;
    }

    .about2 {
        margin-top: 110px;
        margin-bottom: 70px;
    }
}

@media screen and (max-width: 500px) {
    .btn {
        padding: 18px 38px;
    }

    section {
        padding: 40px 0px 60px;
    }

    .about h2 {
        margin-bottom: 40px;
    }

    .about h2::before {
        top: 150%;
        width: 70px;
        height: 2px;
        left: 0;
    }

     .about div:nth-of-type(1) {
        width: 95%;
        margin-left: 30px;
        padding-right: 30px;
    }

    .about p {
        font-size: 16px;
        line-height: 30px;
    }

    .about2 p {
        font-size: 16px;
        line-height: 26px;
    }

    .about div:nth-of-type(2) img {
        width: 60%;
    }

    .about div:nth-of-type(2) {
        margin-top: 40px;
    }

    header {
        height: 220px;
    }

    header h1 {
        margin-top: 20px;
    }
}

@media screen and (max-width: 473px) {
    .about h2::before {
        top: 125%;
    }

    .about2 p {
        margin: 0 1%;
    }
}

@media screen and (max-width: 400px) {
    .about2 p::before {
        top: -25px;
    }
}

@media screen and (max-width: 380px) {
    .btn {
        font-size: 13px;
    }

    .about2 p {
        font-size: 15px;
        line-height: 22px;
    }
}

@media screen and (max-width: 360px) {
    .about a {
        padding: 16px 19px;
    }
}