@import url('https://fonts.googleapis.com/css2?family=Chivo&family=Gambetta:opsz,wght@9..72,400;9..72,700&display=swap');

/* header */
* {
    margin: 0;
    padding: 0;
}

header {
    display: flex;
    justify-content: center;
    background-color: #fff;
    color: black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.head-container {
    width: 100%;
    z-index: 2;
    position: absolute;
    top: 0;
    align-items: center;
    display: grid;
    grid-template-columns: 1fr 7fr;
}

.logo img {
    margin-top: 10px;
    height: 50px;
    width: auto;
}

header .menu .navmenu {
    position: relative;
    margin-bottom: 0;
    list-style: none;
    display: flex;
    justify-content: right;
    text-align: center;
    margin-top: 5px;
    margin-right: 50px;
    gap: 50px
}

.menu nav a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.menu li a:hover {
    color: red;
}

.menu .submenu {
    list-style: none;
}

@media(min-width:768px) {
    .submenu li a {
        text-decoration: none;
        color: #ffffff;
    }

    .submenu ul {
        padding: 20px 28px 15px 25px;
        border-radius: 5px;
        background: rgba(255, 255, 255, 0.3);
        text-align: left;
        right: 185px;
        top: 25px;
        position: absolute;
        list-style: none;
        min-height: 200px;
        display: none;
    }

    .submenu ul li {
        margin: 10px;
    }

    .navmenu li:hover .submenu ul {
        display: block;
    }

    @keyframes scaleup3 {
        from {
            transform: translateY(20px);

        }

        to {
            transform: translateY(-50px);
        }
    }

    @keyframes scaleup2 {
        from {
            transform: translateY(40px);

        }

        to {
            transform: translateY(-40px);
        }
    }

    @keyframes scaleup1 {
        from {
            transform: translateY(30px);

        }

        to {
            transform: translateY(-15px) translateX(40px);
        }
    }
}

@media(min-width:768px){
    #firstcP{
        font-size: 1rem;
    }
}
/* carousel */
.carousel-transition {
    transition: all 1s ease;
}

#firstcap {
    animation: scaleup1 1.5s forwards;
}

#secondcap {
    animation: scaleup2 1s forwards;
}

#thirdcap {
    animation: scaleup3 1s forwards;
}

/* container1 */
.mid-sec {
    padding: 0;
    background-color: #eedecb;
}

section {
    padding-top: 80px;
}

.container1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    width: 75%;
    margin: auto;
    margin-bottom: 130px;
    box-sizing: border-box;
}

.sideimagetext h2 {
    color: #271912;
    opacity: 90%;
    font-family: 'Gambetta', serif;
    padding-bottom: 42px;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.sideimagetext p {
    font-family: 'Chivo', sans-serif;
    color: #271912;
    opacity: 75%;
    font-size: 1.02rem;
    line-height: 31px;
    padding-right: 110px;
}

.sideimagetext button {
    margin-top: 25px;
    padding: 10px 35px;
    transition: all 0.33s ease-in-out;
    background-color: white;
    color: black;

}

.sideimage img {
    height: auto;
    width: 550px;
}

.sideimagetext button:hover {
    transition: all 0.33s ease-in-out;
    color: white;
    background-color: black;
}

.sideimagetext button:hover a {
    transition: all 0.33s ease-in-out;
    background-color: #111;
    color: #fff;
}

.container1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* slidee */
.slidee img {
    width: 100%;
    height: auto;
}

.slidee {
    position: relative;
    overflow: hidden;
}

.slidee-content {
    background: linear-gradient(to right,
            rgba(0, 0, 0, 1),
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0));
    height: 100%;
    width: 600px;
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;

}

.slidee-content h3 {
    color: rgb(255, 255, 255);
    font-family: 'Montserrat', sans-serif;
    padding-right: 90px;
    padding-left: 60px;
    width: 100%;
    margin: auto;
    font-size: 3rem;
}

.appointment {
    margin-bottom: 50px;
}

.book {
    margin-top: 20px;
    background-color: white;
    color: black;
    padding: 15px 40px;
    border-radius: 3px;
    border: none;
    transition: all 0.33s ease-in-out;
}

.book:hover {
    transition: all 0.33s ease-in-out;
    background-color: black;
    color: white;
}

/* container2 */
.show {
    background: linear-gradient(to top,
            rgba(255, 240, 194, 0.9),
            rgba(0, 0, 0, 0));
    box-sizing: border-box;
}

#four {
    border-right: none;
}

.service {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.container2 {
    text-align: center;
}

.details {
    margin-bottom: 25px;
    border-right: 1px solid black;
}

.container2 h2 {
    padding-top: 50px;
    color: #271912;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    padding-bottom: 55px;
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.container2 h4 {
    color: #271912;
    font-family: 'Chivo', sans-serif;
    padding-bottom: 15px;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.container2 p {
    font-family: 'Chivo', sans-serif;
    color: #07070c;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.container2 i {
    font-size: 2rem;
    margin-bottom: 25px;
}

/* footer */
footer {
    width: 100%;
    background-color: #271912;
}

.foot {
    height: 230px;
    padding-top: 30px;
    z-index: 1;
    max-width: 75%;
    margin: auto;
    border-top: 0.8px solid rgb(255, 255, 255);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    color: rgb(255, 247, 247);
}

.copyright {
    padding-top: 20px;
    padding-bottom: 30px;
    color: rgb(255, 255, 255);
    z-index: 2;
    max-width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

footer p {
    padding-right: 80px;
}

.second i {
    margin-left: 20px;
}

/* input */
.email {
    max-width: 190px;
    padding: 15px;
    font-size: 17px;
    color: black;
    margin-right: -10px;
}

.emailbutton {
    background-color: black;
    text-decoration: none;
    padding: 17px;
    font-size: 17px;
    color: #fff;
    cursor: pointer;
    border: none;
}

h1,
h2,
h3,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

body,
p,
li,
a,
input,
button {
    font-family: 'Chivo', sans-serif;
    font-weight: 400;
}

button {
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.3px;
}

#firstcap h5 {
    width: 195px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4rem;
    color: #ffffff;
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
}

#firstcap p {
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 400;
    letter-spacing: 1.2px;
    line-height: 1.5;
}

#secondcap h5 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.9);
    font-weight: 700;
    text-transform: uppercase;
}

#secondcap p {
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
    font-size: 1.2rem;
    color: #cccccc;
    font-weight: 400;
    letter-spacing: 1.2px;
    line-height: 1.5;
}

#thirdcap h5 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    color: #fff;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
}

#thirdcap p {
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
    font-size: 1.2rem;
    color: #fff;
    font-weight: 400;
    letter-spacing: 1.2px;
    line-height: 1.5;
}

.hamburger {
    color: #fff;
    display: none;
}

aside a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

aside nav ul {
    margin-top: 10px;
    margin-left: 25px;

}

aside nav li {
    margin-bottom: 10px;
    list-style: none;
}

aside {
    top: 0;
    transform: translate(-200px);
    transition: all 0.7s ease-in-out;
    display: block;
    background-color: #111;
    color: #fff;
    min-height: 250px;
    width: 200px;
    position: absolute;
    z-index: 9;
    left: 0;
    transform: translateX(-200px);
}

aside ul li {
    color: #fff;
}

body.hidden {
    overflow: hidden;
}

.close i {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px;
}
.submenu ul {
    display: none;
}
@media(max-width:550px) {
    .hamburger {
        text-align: end;
        margin-right: 20px;
        display: block;
    }

    .logo img {
        height: 25px;
        width: auto;
    }

    .menu {
        display: none;
    }

    .head-container {
        grid-template-columns: 2fr 1fr;
    }

    .submenu li{
        list-style:square;
    }
    aside nav ul {
        margin-top: 15px;
        margin-left: 0;
    }

    #firstcap h5 {
        width: 55px;
        font-size: 0.7rem;
    }

    #firstcap {
        padding: 0;
        top: auto;
        left: 20px;
        right: auto;
        bottom: 0px;
    }

    #firstcap p {
        font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
        font-size: 0.6rem;
        color: #ffffff;
        font-weight: 400;
        letter-spacing: 0.9px;
        line-height: 1.5;
    }

    #secondcap h5 {
        font-size: 0.7rem;
        letter-spacing: 0px;
        text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.9);
        font-weight: 700;
        text-transform: uppercase;
    }

    #secondcap {
        margin-top: 10px;
        padding: 0;
        top: auto;
        left: auto;
        right: 20px;
        bottom: 5px;
    }

    #secondcap p {
        margin: 0;
        font-size: 0.6rem;
        letter-spacing: 0.6px;
    }

    #thirdcap h5 {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    #third {
        top: auto;
        left: 100px;
        right: 100px;
        bottom: 0px;
    }

    #thirdcap p {
        margin: 0;
        font-size: 0.6rem;
        letter-spacing: 1.2px;
    }

    .container1 {
        padding: 0;
        width: 100%;
        margin-bottom: 75px;
        flex-direction: column-reverse;
        box-sizing: border-box;
    }

    .sideimagetext {
        text-align: center;
    }

    .sideimagetext h2 {
        padding-top: 25px;
        padding-bottom: 10px;
        font-size: 1.6rem;
    }

    .sideimagetext p {
        padding: 0px 30px;
        font-size: 0.9rem;
        text-align: justify;
        line-height: 1.2rem;
    }

    .sideimagetext button {
        margin-top: 25px;
        padding: 7px 30px;
        text-align: center;
    }

    .sideimage img {
        padding: 0;
        width: 270px;
    }

    .slidee img {
        width: 130%;
    }

    .slidee-content {
        height: 100%;
        width: 200px;
    }

    .slidee-content h3 {
        padding-right: 15px;
        padding-left: 8px;
        font-size: 1rem;
    }

    .appointment {
        margin-bottom: 15px;
    }

    .book {
        font-size: 10px;
        padding: 5px 10px;
    }

    .service {
        grid-template-columns: 1fr 1fr;
    }

    .details {
        margin-bottom: 15px;
        border-right: 1px solid black;
    }

    #two {
        border-right: none;
    }

    .container2 h2 {
        padding-top: 40px;
        padding-bottom: 40px;
        font-size: 1.5rem;
    }

    .container2 h4 {
        padding-bottom: 5px;
        font-size: 0.9rem;
    }

    .container2 p {
        padding: 0 7px;
        font-size: 0.7rem;
        margin-bottom: 25px;
    }

    .container2 i {
        font-size: 1.3rem;
    }

    .foot {
        display: flex;
        flex-direction: column;
        height: 420px;
        max-width: 90%;
        margin: auto;
        border: none;
    }

    footer h3 {
        font-size: 1.3rem;
    }

    .colunms {
        margin-bottom: 30px
    }

    footer h5 {
        font-size: 0.9rem;
    }

    footer p {
        margin: 0;
        font-size: 0.8rem;
    }

    .copyright {
        padding-top: 20px;
        max-width: 95%;
        margin: auto;
    }

    .second i {
        margin-left: 10px;
    }

    .email {
        max-width: 190px;
        padding: 15px;
        font-size: 10px;
    }

    .emailbutton {
        font-size: 10px;
    }
}