@import url('https://fonts.googleapis.com/css2?family=Cabin&family=Herr+Von+Muellerhoff&family=Source+Sans+Pro:ital,wght@1,200&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200&display=swap');


*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --main-font: 'Poppins',cursive;
    --secondary-font: 'Cabin', sans-serif;
    --body-font: 'Cabin',sans-serif;
    --main-font-color:#252525;
    --secondary-font-color: #0f6116;
    --body-font-color:#515151;
}
html {
    font-family: var(--body-font);
    font-size: 10px;
    color: var(--body-font-color);
    scroll-behavior: smooth;
}
body {
    overflow-x: hidden;
}
section {
    padding: 2.4rem 5px;
    overflow: hidden;
}
img {
    width: 100%;
    max-width: 100%;
}
a {
    text-decoration: none;
}
p {
    font-size: 1.8rem;
}
.conainer {
    width: 100%;
    max-width: 122.5rem;
    margin: 0 auto;
    padding: 0 2.4rem;
}

/* hero */
.hero {
    width: 100%;
    height: 100vh;
    display: flex;
    background: url(image/bg2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    align-items: center;
    justify-content: center;
    text-align: center;
}
section#hero::before {
    content: '';
    position: absolute;
    max-height: 100%;
    width: 100%;
    height: 100%;
    background: #00000087;
}
.hero h5 {
    color: #fff;
    font-size: 28rem;
    margin-top: 10px;
}
.sub-headline {
    font-size: 5.5rem;
    margin-bottom: 35px;
    font-family: var(--secondary-font);
    color: var(--secondary-font-color);
    font-weight: 100;
    line-height: .4;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeUp .5s forwards;
    animation-delay: .5s;
}
.sub-headline .first {
    background: #fff;
    padding: 5px 20px;
    border-radius: 5px;
}
.first-letter {
    text-transform: uppercase;
    font-size: 6.3rem;
}
.headline {
    color: #111;
    margin-top: 10px;
    font-size: 1.8rem;
    font-family: var(--main-font);
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .5rem;
    margin-right: -.5rem;
    animation: scale .5s forwards;
    animation-delay: .5s;
}
.separator {
    display: flex;
    align-items: center;
    justify-content: center;
}
.line {
    width: 100%;
    min-width: 1.9rem;
    height: .30rem;
    background-color: #fff;
    position: relative;
    opacity: 0;
    animation: grow 2s forwards;
    animation-delay: .9s;
}
.line-left::before,
.line-right::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: .6rem solid transparent;
    opacity: 0;
    animation: grow .5s forwards;
    animation-delay: 1.2s;
}
.line-right::before {
    border-right-color: #fff;
    right: 0;
}
.line-left::before {
    border-left-color: #fff;
    left: 0;
}
.asterisk {
    font-size: 1.2rem;
    color: var(--secondary-font-color);
    margin: 0 1.6rem;
    opacity: 0;
    animation: spin 2s forwards;
    animation-delay: .9s;
}
.single-animation{
    opacity: 0;
    animation: fadeDown .5s forwards;
    animation-delay: .7s;
}
.headline-description h5 {
    color: #111;
    font-size: 0.8rem;
    font-weight: 100;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    letter-spacing: 3px;
    margin-right: -3px;
}
.btn {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-right: -2px;
}
.cta-btn {
    font-size: 1.5rem;
    background-color: #111;
    padding: .9rem 1.8rem;
    color: #fff;
    border-radius: .4rem;
    transition: background-color .5s;
}
.cta-btn:hover,
.cta-btn:focus{
    color: #111;
    background-color: var(--secondary-font-color);
}
/* discover */
#about {
    background: #dddddd;
}
#community {
    background: #dddddd;
}
#operations {
    background: #dddddd;
}


.global-headline {
    text-align: center;
    margin-top: 3.9rem;
}
.discover .global-headline {
    margin-top: 6.9rem;
}
.global-headline .asterisk {
    color: var(--body-font-color);
    margin: 2rem 0;
}
.headline-dark {
    color: var(--main-font-color);
    letter-spacing: .7rem;
    margin-right: -.7rem;
}
.global-headline .sub-headline {
    letter-spacing: -1px;
    line-height: .42;
}
.rest-info {
    text-align: center;
}
.rest-desc {
    margin-bottom: 3rem;
}
.rest-desc p {
    line-height: 1.6;
    margin-bottom: 2.4rem;
}

.rest-desc ul {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 30px;
    left: 5px;
}
.rest-desc ul li {
    font-size: 18px;
    margin: 10px;
}
.rest-desc ul .animate-left {
    padding-left: 10px;
}
.rest-desc ul .animate-right {
    padding-left: 55px;
}
.rest-desc .center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.body-btn {
    color: var(--secondary-font-color);
    position: relative;
    transition: color .5s;
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.body-btn::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-font-color);
    transition: background-color .5s;
}
.body-btn:hover,
.body-btn:focus {
    color: var(--main-font-color);
}
.body-btn:hover::before,
.body-btn:focus::before {
    background-color: var(--main-font-color);
}
/* testful */

/* discover menu */
.image-group {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 1.5rem;
}
.discover-menu, .rest-desc {
    padding-top: 3rem;
    margin-bottom: 0;
}

/* perfect */

.perfect-blend {
    min-height: 70vh;
    background-color: #232c33;
   justify-content: center;
   align-items: center;
   bottom: 50px;
}

.body {
    display: flex;
    justify-content: center;
    align-items: center;
}
.box {
    position: relative;
    width: 100px;
    height: 100px;
    transform-style: preserve-3d;
    animation: animate 20s linear infinite;
}
@keyframes animate {
    0% {
        transform: perspective(900px) rotateY(0deg);
    }
    100% {
        transform: perspective(900px) rotateY(360deg);
    }
}
.box span {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: center;
    transform-style: preserve-3d;
    transform: rotateY(calc(var(--i) *65deg)) translateZ(200px);
}
.box span img {
    position: absolute;
    top: 0;
    left: o;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* footer */
footer {
    padding: 7.9rem 5px;
    background-color: #232c33;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;;
    color: #fff;
    text-align: center;
    position: relative;
}
.back-to-top {
    width: 5rem;
    height: 5rem;
    background-color: #232c33;
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
}
.back-to-top i {
    display: block;
    color: #fff;
    font-size: 2rem;
    animation: up 2s infinite;
}
.footer-content {
    overflow: hidden;
}
.footer-content h4 {
    color: #fff;
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 100;
    letter-spacing: 3px;
    margin-bottom: 3rem;
   
}
.footer-content h4 span {
    border-bottom: 3px solid var(--secondary-font-color);
}
.footer-content .asterisk {
    margin: 2.4rem 0;
}
.footer-content-about {
    margin-bottom: 5.4rem;
}
.footer-content-about p {
    line-height: 2;
}
.social-media {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.social-media h4 {
    color: #fff;
    border-bottom: 2px solid var(--secondary-font-color);
    max-width: 200px;
}
.social-icons {
    list-style: none;
    margin-bottom: 5.4rem;
    display: flex;
    justify-content: center;
}
.social-icons i {
    font-size: 2rem;
    color: #fff;
    padding: .8rem 2rem;
    opacity: .5;
    transition: color .5s;
}
.social-icons i:hover,
.social-icons i:focus {
    color: var(--secondary-font-color);
}
.newsletter-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.newsletter-container h4 {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    border-bottom: 2px solid var(--secondary-font-color);
    max-width: 140px;
}
form  input {
    width: 100%;
    min-width: 230px;
    border-radius: 5px;
    border-top: none;
    border: none;
}
button .fas {
    padding-left: 100%;
    min-width: 50px;
    color: #4187f6;
    font-size: 20px;
}
.newsletter-form {
    
    height: 30px;
    position: relative;
    display: flex;
    justify-content: center;
}
.newsletter input {
    width: 100%;
    min-width: 200px;
    height: 40px;
    margin-left: 10px;
    padding: 1rem 5px;
    border-radius: 5px;
}
.newsletter-btn {
    background-color: transparent;
    border: none;
    color: var(--secondary-font-color);
    cursor: pointer;
    font-size: 1.6rem;
    padding: 1px .1rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 14rem;
}

 
/* media */
@media screen and (min-width: 900px){
    section {
        padding: 7.9rem;
    }/*
    .active {
        position: relative;
    }
    .active::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #111;
        left: 0;
        bottom: -3px;
    }*/
    .sub-headline {
        font-size: 6rem;
    }
    .first-letter {
        font-size: 7.2rem;
    }
    .headline {
        font-size: 3rem;
        letter-spacing: .6rem;
        margin-top: 1rem;
    }
    .line {
        width: 100%;
        min-width: 34.5rem;
        height: .30rem;
        max-width: 0rem;
        margin-bottom: 1.5rem;
    }
    .asterisk {
        margin-bottom: 1.5rem;
    }
    .single-animation h5 {
        font-size: 1rem;
    }
    .rest-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .rest-info .animate-right {
        padding-left: 100px;
    }
    .rest-info > div {
        flex: 1;
    }
    .rest-info-img {
        padding-top: 150px;
    }
    .rest-info p {
        line-height: 2;
    }
    .perfect-blend {
        min-height: 120vh;
    }
    .padding-right {
        padding-right: 4rem;
    }
    .body {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .box {
        align-self: center;
        padding-left: 50px;
        position: relative;
        width: 200px;
        height: 200px;
        transform-style: preserve-3d;
        animation: animate 20s linear infinite;
    }
    @keyframes animate {
        0% {
            transform: perspective(1000px) rotateY(0deg) rotateY(35deg);
        }
        100% {
            transform: perspective(1000px) rotateY(360deg) rotateY(35deg);
        }
    }
    .box span {
        position: absolute;
        top: 100px;
        left: 0;
        bottom: 50px;
        width: 100%;
        height: 100%;
        transform-origin: center;
        transform-style: preserve-3d;
        transform: rotateY(calc(var(--i) * 45deg)) translateZ(400px);
        
    }
    .box span img {
        position: absolute;
        top: 0;
        left: 50%;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .rest-desc ul {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
        margin-bottom: 30px;
    }
    .rest-desc .center {
        margin-bottom: 0;
    }

    .footer-content {
        max-width: 77.5rem;
        margin: auto;
    }
    .footer-content-about h4 {
        font-size: 30px;
    }
   
    .footer-content-about {
        max-width: 51.3rem;
        margin: 0 auto 5.4rem ;
    }
    .footer-content-divider {
        display: flex;
        justify-content: space-between;
    }
    .social-media
     {
        width: 100%;
        max-width: 27.4rem;
        margin: 0 1rem;
    }
    .newsletter-form {
        width: 100%;
        max-width: 0;
    }
    .newsletter-form input {
        border: none;
    }
    form {
        margin: 0;
    }

    form  input {
        width: 100%;
        min-width: 250px;
        border-radius: 5px;
        border-top: none;
    }
    form  input:focus {
        border: none;
    }
    form  input::placeholder {
        border: none;
        color: #111;
    }
    form button i {
        padding-right: 0;
       
        display: block;
    }
    button .fas {
        padding-left: 100%;
        min-width: 50px;
        color: #4187f6;
        font-size: 20px;
    }
    .social-icons {
        opacity: 1;
    }
}
/* animation */
@keyframes fadeUp {
    0%{
        transform: translateY(4rem);
    }
    100%{
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes scale {
    0%{
        transform: scale(2);
    }
    100%{
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes grow {
    0%{
        width: 0;
    }
    100%{
        opacity: 1;
        width: 100%;
    }
}
@keyframes spin {
    0%{
        transform: rotate(0);
    }
    100%{
        opacity: 1;
        transform: rotate(-360deg);
    }
}
@keyframes fadeDown {
    0%{
        transform: translateY(-1rem);
    }
    100%{
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes up {
    0%{
        opacity: 0;
    }
    50%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        transform: translateY(-1rem);
    }
}
