@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

p {
    font-size: 1.6rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cormorant Garamond', serif;
}

h2 {
    font-size: 4.6rem;
}

.grid {
    /* border: 1px solid red; */
    display: grid;
    grid-template-columns: minmax(6rem, 1fr) repeat(12, minmax(min-content, 11rem)) minmax(6rem, 1fr);
    grid-template-rows: auto;
}

.grid-full-width {
    /* border: 1px solid red; */
    display: grid;
    grid-template-columns: minmax(6rem, 1fr) repeat(12, minmax(min-content, 11rem)) minmax(6rem, 1fr);
    grid-template-rows: minmax(min-content, max-content) 1fr;
}

@media(max-width: 630px){
    .grid {
        grid-template-columns: minmax(1rem, 1fr) repeat(12, minmax(min-content, 11rem)) minmax(1rem, 1fr);    
    }
    .grid-full-width {
        grid-template-columns: minmax(1rem, 1fr) repeat(12, minmax(min-content, 11rem)) minmax(1rem, 1fr);
    }
}

.header {
    /* border: 1px solid red; */
    background-image: url("/images/webp/cigar-with-drink.webp");
    background-attachment: fixed;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
}

/* header logo */
.header-logo {
    /* border: 1px solid red; */
    grid-column: 2 / 5;
    z-index: 100;
}

.header-logo-img {
    width: auto;
    height: 10rem;
    padding: 1rem;
}

/* end of header logo */

/* Navbar */
.top-nav {
    /* border: 1px solid red; */
    grid-column: 5 / 14;
    align-self: center;
    grid-template-columns: 1fr;
    justify-items: end;
    display: grid;
    z-index: 100;
}

.top-nav-list {
    list-style-type: none;
    grid-column: 1 / 1;
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr)); */
    grid-template-columns: repeat(3, minmax(10rem, 1fr));
    padding: 0;
}

.top-nav-item {
    justify-self: center;
}

.top-nav-link {
    font-size: 1.6rem;
    text-transform: uppercase;
    text-decoration: none;
    color: rgb(240, 255, 255);
    transition: all 0.5s;
}

.top-nav-link:hover {
    color: orange;
}

.top-nav-link::after {
    content: "";
    height: 0.2rem;
    width: 0;
    background-color: #ffa500;
    display: block;
    transition: all 0.5s;
}

.top-nav-link:hover::after {
    width: 100%;
}
@media(max-width: 900px){
    .header-logo {
        grid-column: 2 / 14;
        justify-self: center;
        margin-top: 4rem;
    }
    .top-nav{
        grid-column: 2 / 14;
        grid-row: 2 / 3;
        justify-self: center;
        margin: 4rem 0rem;
    }
    .grid-full-width {
        grid-template-rows: minmax(min-content, max-content) minmax(min-content, max-content) 1fr;
    }
}
/* End Navbar */

/*banner text*/
.banner-text {
    /* border: 1px solid red; */
    grid-column: 2 / span 12;
    color: rgb(255, 255, 255);
    display: grid;
    grid-template-columns: auto;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.banner-text-container {
    transform: translate(0, -8rem);
}
@media(max-height: 650px) or (max-width: 550px){
    .banner-text-container {
        transform: translate(0, 0);
    }
}

.banner-text-h1 {
    font-size: 9.5rem;
    margin: 0;
    font-weight: 300;
    text-decoration: underline solid #ffa500 0.2rem;
    text-underline-offset: 1rem;
    animation: banner-text-h1-animation 1.2s ease 0.4s 1 normal forwards;
    opacity: 0;
}
@media (max-width: 900px){
    .banner-text-h1 {
        font-size: 7.5rem;
    }
}

@keyframes banner-text-h1-animation {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }

    100% {
        transform: scaleX(1);
        opacity: 1;
    }
}

.banner-text-container::after {
    content: "\00a0";
    font-size: 10rem;
    font-weight: 300;
    color: #ffa500;
    display: block;
    animation: banner-text-h2-animation 10s;
    animation-delay: 1.2s;
    animation-iteration-count: infinite;
    animation-fill-mode: backwards;
}

@keyframes banner-text-h2-animation {
    0% {
        opacity: 0;
        transform: translateX(-250px);
    }

    11% {
        opacity: 1;
        transform: translateX(0);
        content: "drink";
    }

    22% {
        opacity: 0;
        transform: translateX(250px);
    }

    33% {
        opacity: 0;
        transform: translateX(-250px);
    }

    44% {
        opacity: 1;
        transform: translateX(0);
        content: "smoke";
    }

    55% {
        opacity: 0;
        transform: translateX(250px);
    }

    66% {
        opacity: 0;
        transform: translateX(-250px);
    }

    77% {
        opacity: 1;
        transform: translateX(0);
        content: "relax";
    }

    88% {
        opacity: 0;
        transform: translateX(250px);
    }

    100% {
        opacity: 0;
        transform: translateX(-250px);
    }
}
/* end of banner text */

/* places advantages */
.all-place {
    grid-column: 2 / 14;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.place-advantage {
    /* border: 1px solid red; */
    grid-column: 2 / 14;
    text-align: center;
}
@media(max-width: 560px){
    .place-advantage-text {
        font-size: 3.6rem;
    }
}

.place-advantage-outer-line {
    width: 40%;
    border-bottom: .2rem solid orange;
}

.place-advantage-icon {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.place-advantage-icon-item {
    display: inline-block;
    vertical-align: middle;
    color: orange;
}

.place-box {
    border: 1px solid orange;
    /* grid-column: 2 / 6; */
    background-color: snow;
    margin: .5rem;
    box-shadow: 0rem 0rem .4rem .2rem rgba(255, 165, 0, 0.2);
    transition: all .3s;
}

.place-box:hover {
    transform: translateY(-0.2rem);
}

.place-text-h3 {
    font-size: 3.6rem;
    text-align: center;
    padding: 1rem;
}

.place-text-p {
    padding: 1rem;
    text-align: justify;
}

.place-img {
    max-width: 100%;
    height: auto;
}
@media(max-width: 900px){
    .all-place {
        row-gap: 4rem;
    }
    .place-box {
        grid-column: 1 / 4;
    }
}
/* end of places advantages */

/* blend */
.blend {
    /* border: 1px solid red; */
    margin-top: 4rem;
    background-image: url("/images/webp/cigar-with-drink-01.webp");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 50rem;
}

.blend-text {
    /* border: 1px solid red; */
    grid-column: 2 / 14;
    grid-row: 1 / -1;
    color: rgb(255, 255, 255);
    display: grid;
    grid-template-columns: auto;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.blend-text-h2 {
    text-shadow: 0px 0px 10px rgb(0, 0, 0);
}
@media(max-width: 900px){
    .blend {
        min-height: 35rem;
    }
}
@media(max-width: 560px){
    .blend-text-h2 {
        font-size: 3.6rem;
    }
}
/* end of blend */

/* about */
.about-item {
    grid-column: 2 / 14;
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-template-rows: auto;
    margin-top: 4rem;
    column-gap: 2rem;
    /* align-items: center; */
    align-content: center;
}
.about-item-img{
    background: url("/images/webp/smoke-house-about-01.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.about-img {
    max-width: 100%;
    height: auto;
    border: 1px solid orange;
    display: block;
}

.about-text {
    background-color: snow;
    border: 0.1rem solid orange;
    padding: 1.5rem;
    min-height: 50rem;
}

.about-text-h3 {
    font-size: 3.6rem;
    text-align: center;
}

.about-text-p {
    font-size: 1.6rem;
    text-align: justify;
}
@media (max-width: 1210px) {
    .about-item {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        border: 0.1rem solid orange;
    }
    .about-item-img {
        grid-column: 1 / 2;
        grid-row: 1 / 1;
        min-height: 50rem;
    }
    .about-img{
        border: none;
    }
    .about-text{
        grid-column: 1 / 2;
        grid-row: 1 / 1;
        align-self: end;
        border: none;
        background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.3) 100%);
        min-height:auto;
    }
}
/* end of about */

/* contact */
.contact-section {
    margin-top: 4rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.5) 100%), url("/images/galery/webp/smoke-03.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    min-height: 50rem;
}
.contact-item {
    display:grid;
    grid-column: 2 / 14;
    grid-row: 1 / 3;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    text-align: center;
    column-gap: 3rem;    
}
.contact-list-form{
    margin: 2rem 0;
}
.contact-list-right{
    margin: 2rem 0;
}
.contact-input{
    padding: 1rem;
    margin: 1rem 0;
    font-size: 2rem;
    width: 80%;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid orange;
}
.contact-input:active{
    border: 1px solid orange;
    text-decoration: none;
}
textarea:focus, input:focus{
    outline: none;
}
textarea {
    width: 80%;
    border: 1px solid orange;
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem;
    margin: 1rem 0;
    font-size: 2rem;
}
.contact-submit{
    background-color: orange;
    border: none;
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    padding: 1.5rem 4rem;
    margin: 2rem 0;
    cursor: pointer;
    font-size: 1.6rem;
    transition: all 0.2s;
  }
  .contact-submit:hover{
    background-color: white;
    color: #ffa500;
  }
.contact-list-right-h3 {
    font-size: 3.6rem;
    color:white;
    text-shadow: 0px 0px 10px rgb(0, 0, 0);
}
.contact-list-right-p{
    font-size: 2.6rem;
    color:white;
    text-shadow: 0px 0px 10px rgb(0, 0, 0);
}
@media(max-width: 900px){
    .contact-list-form{
        margin: 2rem 0;
        grid-column: 1 / 4;
        grid-row: 2 / 3;
    }
    .contact-list-right{
        grid-column: 1 / 4;
        grid-row: 1 / 2;
    }
}
@media(max-width: 560px){
    .contact-list-right-p{
        font-size: 2rem;
    }
}
/* end of contact */

/* image list */
.image-section {
    margin-top: 4rem;
}

.image-list {
    grid-column: 2 / 14;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    grid-auto-rows: 25rem;
    grid-auto-flow: dense;
}

.image-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid orange;
}

.v-stretch {
    grid-row: span 2;
}

.h-stretch {
    grid-column: span 2;
}

.big-stretch {
    grid-row: span 2;
    grid-column: span 2;
}

@media(max-width: 560px) {
    .v-stretch {
        grid-row: span 1;
    }

    .h-stretch {
        grid-column: span 1;
    }

    .big-stretch {
        grid-row: span 1;
        grid-column: span 1;
    }
}
/* end of image list */

/* footer */
.footer{
    background-color: #8d8d8d;
    background: linear-gradient(0deg, rgba(255,255,255,0.2) 0%, rgba(79,79,79,0.2) 100%), url("/images/galery/webp/smoke-02.webp");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 4rem;
    border-top: 0.1rem solid orange;
}
.footer-list{
    display: grid;
    grid-column: 2 / 14;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: max-content max-content;
    justify-items: center;
    align-items: center;
    gap: 1rem;
}
   .footer-logo{
text-align: center;
   }
.footer-logo-img {
    width: 75%;
    height: auto;
}
.footer-text-h3{
    font-size: 3.6rem;
    margin: 1rem 0;
    text-align: center;
    color: #ffa500;
}
.footer-text-p {
    color: white;
    text-align: center;
}
.footer-copy{
    grid-column: 1 / 3;
    color: rgb(255, 255, 255);
    text-align: center;
}
@media(max-width: 630px){
    .footer-logo{
        grid-column: 1 / 3;
        margin-top: 2rem;
    }
    .footer-company{
        grid-column: 1 / 3;
    }
}
/* end of footer */