:root {
    --backgroundcolor: linear-gradient(90deg, rgb(28, 27, 27) 0%, rgb(26, 23, 23) 100%);
    --color: white;
    --gold: #B8860B;
}


@font-face {
font-family: Victorn;
src:url(../victorn.TTF);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'New Rocker', cursive;
}


/* SCROLL */
body::-webkit-scrollbar {
    width: 15px;
    height: 15px;
}
body::-webkit-scrollbar-track {
    background-color: #191d21;
}
body::-webkit-scrollbar-thumb {
    background-color: var(--gold);
    border: 3px solid #191d21;
    border-radius: 20px;
}
body::-webkit-scrollbar-corner {
    background-color: #191d21;
}


/* NAV */
.nav {
    background: var(--backgroundcolor);
    height: 60px;
    padding: 0.5rem calc((100vw - 1200px) / 2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.nav__logo {
    text-decoration: none;
    width: 150px;
    height: 50px;
    padding-left: 1rem;
}
.nav__logo-img {
    width: 150px;
    height: 50px;
}
.nav__link {
    font-family: Victorn;
    color: var(--color);
    padding: 0rem 1rem;
    text-decoration: none;
    letter-spacing: 1px;
}
.nav__link:hover {
    color: var(--gold);
}

@media screen and (max-width: 768px) {
    body.active {
        overflow-y: hidden;
        overflow-x: hidden;
    }
    .nav__link {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .nav__menu {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 100px);
        position: absolute;
        width: 100%;
        top: -2000px;
    }
    .nav__menu.active {
        top: 100%;
        opacity: 1;
        z-index: 100;
        height: 100vh;
        font-size: 1.5rem;
        background: var(--backgroundcolor);
    }
    .nav__toggle .line {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: var(--color);
        display: block;
        cursor: pointer;
    }
    #small-menu {
        position: absolute;
        top: 15%;
        right: 5%;
        transform: translate(5%, 20%);
    }
    #small-menu.is-active .line:nth-child(2) {
        opacity: 0;
    }
    #small-menu.is-active .line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    #small-menu.is-active .line:nth-child(3) {
        transform: translateY(8px) rotate(-45deg);
    }
}


/* INFO */
.info {
    background: linear-gradient(
        180deg, 
        rgba(0,0,0, 0.6) 0%, 
        rgba(0,0,0, 0.6) 35%,
        rgba(0,0,0, 0.1) 100%), 
    url('../images/black-smith.jpg') no-repeat center;
    min-height: 100vh;
    background-size: cover;
    padding: 0.5rem calc((100vw - 1200px) / 2);
    padding-bottom: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.info__text {
    text-align: center;
    color: var(--color);
    padding: 3rem 1rem;
    line-height: 1;
}
.info__text h1 {
    font-weight: 300;
    font-family: Victorn;
    font-size: clamp(3.5rem, 6vw, 3rem);
    margin-bottom: 0.5rem;
    letter-spacing: 5px;
}
.info__text p {
    color:#fafad2;
    font-family:'Times New Roman', Times, serif; 
    font-style: italic;
    font-size: clamp(2.1rem, 6vw, 3rem);
    margin-top: 1rem;
    margin-bottom: 4rem;
}
.info__button {
    font-family: Victorn;
    padding: 1rem 5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: none;
    background: var(--gold);
    color: var(--color);
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    transition: 0.3s ease;
    text-decoration: none;
    border-radius: 100px;
}
.info__button:hover {
    background: #e7ab14;   
}

@media screen and (max-width: 450px) {
    .info__text h1 {
        font-size: 2.5rem
    }
    .info__text p {
        font-size: 1.8rem;
    }
}
@media screen and (max-width: 319px) {
    .info__text h1 {
        font-size: 2.2rem
    }
}


/* MENTION */
.mention {
    background: url(../images/mention-back.png);
    padding: 8rem calc((100vw - 1200px) / 2);
}
.mention__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 1rem;
}
.mention__img {
    border-radius: 16px;
    width: 100%;
    height: 100%;
}
.mention__heading {
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
}
.mention__advantages {
    list-style: none;
}
.mention__advantage {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: clamp(1.5rem, 5vw, 1.5rem);
}

@media screen and (max-width: 992px) {
    .mention__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}


/* OFFER */
.offer {
    background: url(../images/offer-back.png);
    color: var(--color);
    padding: 4rem calc((100vw - 1200px) / 2);
    text-align: center;
}
.offer h1 {
    letter-spacing: 5px;
    font-family: Victorn;
    margin-bottom: 3rem;
    font-size: clamp(3rem, 5vw, 3rem); 
    padding: 0.1rem;
}
.offer__button {
    padding: 1rem 3rem;
    border: none;
    background: var(--gold);
    color: var(--color);
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    transition: 0.3s ease;
    text-decoration: none;
    border-radius: 4px;
}
.offer__button:hover {
    background: #e7ab14;
}
.offer__wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem;
}
.offer__card {
    margin: 1rem;
    padding: 1rem;
    height: 450px;
    width: 325px;
    background: lightgray;
    color: black;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.offer__title {
    height: 50px;
}
.offer__img {
    min-height: 150px;
}
.offer__img-vertical {
    min-height: 150px;
}
.offer__card h3 {
    font-size: clamp(2rem, 5vw, 2rem);   
}
.offer__logo {
    width: 90%;
    height: 100%;
    min-height: 150px;
    border-radius: 7px;
}
.offer__logo-vertical {
    width: 180px;
    height: 270px;
    border-radius: 7px;
}

@media screen and (max-width: 1100px) {
    .offer__wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }
}


/* COPYRIGHT */
.copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    background: var(--backgroundcolor);
}
.copyright h6 {
    font-size: 12px;
    letter-spacing: 1px;
    text-align: center;
    justify-content: center;
    color: var(--color);
    font-weight: 400;
}


/* GALLERY */
.offergallery {
    background: url(../images/galerry-back.png);
    padding: 20px 20px 100px 20px  
}
.offergallery h1 {
    padding: 15px;
    font-size: 3rem;
    color: var(--color);
    text-align: center;
    letter-spacing: 7px;
}


.offergallery__nav {
    display: flex;
    justify-content: center;
    padding: 8px 0px 8px 0px;
}

.offergallery__btn {
    font-size: 1.4rem;
    font-family: Victorn;
    color: var(--color);
    padding: 0rem 0.5rem;
    text-decoration: none;
    letter-spacing: 1px;
}
.offergallery__btn:hover{
    color: var(--gold);
}

.offergallery__btn-active {
    cursor: default;
    font-size: 1.4rem;
    font-family: Victorn;
    color: var(--gold);
    padding: 0rem 0.5rem;
    text-decoration: none;
    letter-spacing: 1px;
}


.offergallery__nav-start {
    display: flex;
    justify-content: start;
    margin-top: 8px;
}
.offergallery__nav-between {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}
.offergallery__nav-end {
    display: flex;
    justify-content: end;
    padding-top: 8px;
}


@media screen and (max-width: 500px) {
    .offergallery h1 {font-size: 2rem;}
    
    .offergallery__btn {font-size: 1.2rem;}
    .offergallery__btn-active {font-size: 1.2rem;}
}
@media screen and (max-width: 374px) {
    .offergallery h1 {font-size: 1.5rem;}
    
    .offergallery__btn {font-size: 1.1rem;}
    .offergallery__btn-active {font-size: 1.1rem;}
}
@media screen and (max-width: 319px) {
    .offergallery h1 {font-size: 1.2rem;}
    
    .offergallery__btn {font-size: 1rem;}
    .offergallery__btn-active {font-size: 1rem;}
}

.gallery,
.gallery_vertical {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
}
.gallery a {
    height: 200px;
    width: 300px;
    margin: 20px;
    border-radius: 5px;
    box-shadow: 0 3px 15px black;
    overflow: hidden;
}
.gallery img,
.gallery_vertical img {
    height: 100%;
    width: 100%;
    transition: 1s;
}
.gallery a:hover,
.gallery_vertical a:hover{
    border: 2px solid white;
}
.gallery img:hover,
.gallery_vertical img:hover {
    transform: scale(1.4);
}

.gallery_vertical a {
    height: 300px;
    width: 200px;
    margin: 20px;
    border-radius: 5px;
    box-shadow: 0 3px 15px black;
    overflow: hidden;
}


/* CONTACT */
.contact {
    background: url('../images/contact-back.png');
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    padding: 0.5rem calc((100vw - 1200px) / 2);  
}
.contact__us {
    font-size: 2rem;
    padding-left: 10px;
    padding-right: 10px;
    text-align: start;
    width: 100%;
    height: 100%;
    display: flex;   
}
.contact__phone {  
    color: black;
    margin: 0;
    padding-top: 40px;
    width: 100%;
    height: 100%;
    text-align: center;
}
.contact__phone h1 {  
    letter-spacing: 5px;
    margin-bottom: 20px;
}
.contact__phone h3 {
    padding: 2px;
}
.contact__phone p {
    font-family:'Times New Roman', Times, serif; 
    margin-top: 20px;
    color: red;
}
.contact__map {
    margin-top: 40px;
    margin-bottom: 80px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    height: 450px;
    border: none;
}

@media screen and (max-width: 768px) {
    .contact__phone h1 {  
        letter-spacing: 1px; 
    }
}

@media screen and (min-width: 525px) and (max-width: 768px) {
    .contact__phone h3 { font-size: 1.8rem; }
    .contact__phone p  { font-size: 1.8rem; }
}
@media screen and (min-width: 470px) and (max-width: 524px) {
    .contact__phone h1 { font-size: 2.5rem; }
    .contact__phone h3 { font-size: 1.6rem; }
    .contact__phone p  { font-size: 1.6rem; }
}
@media screen and (min-width: 388px) and (max-width: 469px) {
    .contact__phone h1 { font-size: 2.2rem; }
    .contact__phone h3 { font-size: 1.3rem; }
    .contact__phone p  { font-size: 1.3rem; }
}
@media screen and (min-width: 320px) and (max-width: 387px) {
    .contact__phone h1 { font-size: 2rem;   }
    .contact__phone h3 { font-size: 1.2rem; } 
    .contact__phone p  { font-size: 1.2rem; }
}

@media screen and (max-width: 319px) {
    .contact__phone h1 { font-size: 1.8rem; }
    .contact__phone h3 { font-size: 1.1rem; } 
    .contact__phone p  { font-size: 1.1rem; }
}


/* MESSAGE */ 
.message {
    background:url(../images/message-back.png);  
    padding: 6rem calc((100vw - 1200px) / 2);
    color: var(--color);
}
.message h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: clamp(2rem, 7vw, 3.5rem);
    padding: 0 1rem;
}
.message__info{
    color: orange;
    text-align: center;
    margin-top: 8px;
}
.message__form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem; 
}
.message__input {
    text-align: center;
    width: 100%;
    height: 40px;
    background-color: lightgray;
    color: #555;
    border-radius: 5px;
    font-size: 20px;
    border: none;
    padding: 30px;
    margin-bottom: 30px;
    letter-spacing: 2px;
    outline: none;
}
.message__text {
    text-align: center;
    width: 100%;
    height: 150px;
    padding-top: 10px;
    background-color: lightgray;
    color: #555;
    border: none;
    border-radius: 5px;
    font-size: 20px;
    resize: none;
    letter-spacing: 2px;
    outline: none;  
}
.message__submit {
    
    width: 100%;
    height: 40px;
    background-color: #B8860B;
    color: var(--color);
    border: none;
    border-radius: 15px;
    font-size: 20px;
    cursor: pointer;
    margin-top: 10px;
    letter-spacing: 3px;
    outline: none;
}
.message__input:focus,
.message__text:focus {
    -webkit-box-shadow: 0px 0px 10px 2px rgba(184,134,11,0.9);
    -moz-box-shadow: 0px 0px 10px 2px rgba(184,134,11,0.9);
    box-shadow: 0px 0px 10px 2px rgba(184,134,11,0.9);
    border: 2px solid #B8860B;
    background-color: #e9f3e9;
    color: var(--gold);
}
.message__submit:hover {
    background-color: #e7ab14;   
}
.message__submit:focus {
    -webkit-box-shadow: 0px 0px 10px 5px rgba(184,134,11,0.9);
    -moz-box-shadow: 0px 0px 10px 5px rgba(184,134,11,0.9);
    box-shadow: 0px 0px 10px 5px rgba(184,134,11,0.9);
}

@media screen and (max-width: 768px) {
    .message__form {
        width: 80%;
    } 
    .message__input,
    .message__text{
        font-size: 16px;
    }
}
@media screen and (max-width: 425px) {
    .message__form {
        width: 95%;
    } 
    .message__input,
    .message__text{
        font-size: 14px;
    }
}



/* ABOUT */
.about {
    background:url(../images/about-back.png);
    min-height: 100vh;
    font-size: 1rem;
    padding: 3rem calc((100vw - 1200px) / 2);;
    display: flex;
    flex-direction: column;  
}
.about h1 {
    font-family: Victorn;
    font-size: 2.5rem;
    text-align: center;
}
.about h2 {
    padding-bottom: 1rem;
    font-size: 1.6rem;
    text-align: center;
}
.about h3 {
    margin: 1rem;
}
.about p {
    text-align: left;
}
.about p, 
.about h1,
.about h2,
.about h3 {
    margin: 0.8rem;
}


#preloader {
    background: rgb(28, 27, 27) url(../images/loader.gif) no-repeat center center; 
    background-size: 4%;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 100;
}

@media screen and (max-width: 768px) {
    #preloader{
        background-size: 7%;
    }
}
@media screen and (max-width: 425px) {
    #preloader{
        background-size: 10%;
    }
}
