* {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body,
html,
main {
    height: 100%;
}

/* Header */
header {
    width: 100%;
    position: absolute;
}

.mobile-nav {
    position: absolute;
    width: 100%;
    height: 60px;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #232323;

    transition: color 0.3s ease;
}

a:hover {
    color: tomato;
}

#menuToggle {
    display: flex;
    position: absolute;
    justify-content: space-between;
    top: 20px;
    width: 100%;
    z-index: 1;
    padding: 0 1rem;
    -webkit-user-select: none;
    user-select: none;
}

#menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -4px;
    right: 12px;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    -webkit-touch-callout: none;
}

#menuToggle span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;

    background: #cdcdcd;
    border-radius: 3px;

    z-index: 1;

    transform-origin: 4px 0px;

    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        opacity 0.55s ease;
}

#menuToggle span:first-child {
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
}

#menuToggle input:checked~span {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #232323;
}

#menuToggle input:checked~span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked~span:nth-last-child(2) {
    opacity: 1;
    transform: rotate(-45deg) translate(0, -1px);
}

#menu {
    position: absolute;
    width: 400px;
    max-width: 100%;
    padding: 125px 30px;
    right: -100px;

    height: 130vh;
    margin: -77px 100px 0 0;

    background: #ededed;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    transform: translate(100%, 0);

    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

#menu li {
    padding: 0.3rem 0;
    font-size: 1.2rem;
    text-align: right;
}

#menuToggle input:checked~ul {
    transform: none;
    opacity: 1;
}

@media screen and (max-width: 768px) {
    #menu {
        transform: none;
        opacity: 0;

        transition: opacity 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    }
}


.email {
    text-decoration: none;
    color: #ffffff;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 3rem;
}

.ml-2 {
    margin-left: 2rem;
}

.fw-bold {
    font-weight: bold;
}

.text-container-right {
    display: flex;
    flex-wrap: wrap;
    row-gap: 3rem;
    margin-top: 7rem;
}

.section+.section {
    margin-top: var(--spacing-sections-mobile, 3rem);
}

header {
    display: none;
}


#nav-title {
    margin-right: auto;
    font-size: 1.2rem;
    color: #c2c2c2;
}

header>div.nav-container ul {
    display: grid;
    font-size: 1.2rem;
    gap: 1rem;
    grid-template-columns: repeat(5, auto);
}

header li {
    list-style: none;
    text-align: center;
}

header a {
    text-decoration: none;
    color: #ffffff;

}

header a:hover {
    font-weight: 600;
    color: #c2c2c2;
}

header a:active {
    font-weight: 600;
    color: #c2c2c2;
}

/* header */

/* home banner */
#home-banner {
    background-image: url("home.webp");
    height: 65%;
    width: 100%;
    display: flex;
    justify-content: left;
    align-items: end;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* home banner */

.content-box {
    display: flex;
    flex-direction: column;
    padding: 5rem 1rem;
    row-gap: 1rem;
}

.content-box p {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: bold;
}

.text-section {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    gap: var(--grid-default-mobile-gap, 2rem)
}

.heading-and-text {
    display: flex;
    flex-wrap: wrap;
    place-self: normal;
    row-gap: 3rem;
}

.images-grid-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--grid-default-mobile-gap, 2rem);
}

#about,
#gallery,
#location {
    scroll-margin: 3rem;
}

.section-title {
    margin-bottom: 1rem;
    /* padding-left: 1rem; */
    text-align: center;
}

.location-section iframe {
    width: 100%;
}

.images-grid-section img {
    width: 100%;
}

#contacts {
    height: 100%;
}

.contact-form-image {
    background-image: url("IMG_9443.webp");
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.contact-us-container {
    display: flex;
    flex-direction: column;
    row-gap: 3rem;
    justify-content: space-between;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    border-radius: 20px;
    border: 2px solid;
    padding: 2rem;
    background: #00000099;
    width: 75%;
    max-width: 650px;
}


.form-container {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 2rem;
}

p.info {
    font-size: 0.8rem;
}

.contact-form {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-us-container h3 {
    font-size: 1.5rem;
}

.contact-us-container label,
.contact-us-container span {
    font-size: 1.05rem;
}

.contact-us {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}



@media screen and (min-width: 950px) {

    .mobile-nav {
        display: none;
    }

    input {
        font-size: 1.4rem
    }

    header {
        display: block;
    }

    .nav-container {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 1rem 4rem;
    }

    .content-box {
        padding: 5rem 4rem;
    }

    .content-box p {
        font-size: 1.4rem;
    }

    #home-banner {
        height: 100%;
        align-items: baseline;
    }

    #nav-title {
        font-size: 1.5rem;
    }


    .text-section,
    .images-grid-section {
        grid-template-columns: 1fr 1fr;
        gap: var(--grid-default-desktop-gap, 3rem)
    }

    .text-section {
        padding: 0;
    }

    .padding-x {
        padding: 0 8rem;
    }

    .form-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .contact-us-container {
        width: 80%;
        flex-direction: row;
        max-width: 850px;
        padding: 3rem;
    }

    .contact-us-container h3 {
        font-size: 2rem;
    }

    .contact-us-container label,
    .contact-us-container span {
        font-size: 1.45rem;
    }

    .contact-us {
        align-items: flex-start;
        text-align: right;
        gap: 1.5rem;
    }

    .info {
        text-align: left !important;
    }

    p.info {
        font-size: 1rem;
    }

    .section+.section {
        margin-top: var(--spacing-sections-mobile, 8rem);
    }

    .section-title {
        text-align: left;
        padding-left: 0;
    }

    #contacts {
        max-height: 600px;
    }

}

.info {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 0.4rem;
}