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

* {
    padding: 0;
    margin: 0;
}

:root {
    --black: #000000;
    --white: #FFFFFF;
    --brown: #817468;
    --light-gray: #CCCCCC;
    --gray: #666666;
}

body {
    color: var(--white);
    font-family: 'Poppins', sans-serif;
}

a {
    color: var(--light-gray);
}

.home {
    height: 90vh;
}

.about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: #222222;
}

.services {
    padding: 2rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: #333333;
    text-align: center;
}

.offer {
    padding: 2rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: #222222;
    text-align: center;
}


.gallery {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: #333333;
}

.Testimonials {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: #222222;
}

.second {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1300px;
    margin-right: auto;
    margin-left: auto;
}

footer {
    background-color: #000;
    padding: 2rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.h1 {
    font-size: 28px;
    text-transform: uppercase;
}

.h2 {
    font-size: 22px;
}

.h3 {
    font-size: 0.8rem;
    text-align: justify;
}

img {
    width: 100%;
    height: auto;
}

.home a {
    all: unset;
    padding: 1rem;
    background-color: rgb(102, 102, 102, 0.7);
    color: #fff;
    border-radius: 3px;
}

.home a:hover {
    background-color: #333;
    cursor: pointer;
}

.grids {
    padding-top: 3rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1300px;
    margin: auto;
}

.gallerygrid {
    padding-top: 3rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1300px;
    margin: auto;
    align-items: center;
    gap: 20px;
}

.gallerygrid img {
    border: 1px solid var(--light-gray);
}

/* carousel */
.carousel-container {
    max-width: 100%;
    overflow: hidden;
    margin: auto;
    position: relative;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-buttons {
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
}

.carousel-dot-container {
    text-align: center;
    margin-top: 10px;
}

.carousel-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #bbb;
    margin: 0 5px;
    cursor: pointer;
}

.carousel-dot.active {
    background-color: #333;
}

.cbuttons {
    color: #000;
    background-color: #fff;
    border: 1px solid gray;
    border-radius: 100%;
    padding: 10px;
    display: flex;
}

.cbuttons:hover {
    background-color: #f3f4f6;
    cursor: pointer;
}

.icon {
    fill: var(--white);
}

.icon:hover {
    fill: var(--gray);
    cursor: pointer;
}

.insideimg {
    width: 100px;
    /*filter: grayscale(100%);*/
}

#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 1s ease-in-out;
    z-index: 9999;
}

#splash-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

#splash-screen img {
    max-width: 100%;
    max-height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;

}

@media only screen and (max-width: 700px) {
    .home {
        height: 50vh;
    }

    .second {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .grids {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallerygrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}