@import url('https://fonts.googleapis.com/css2?family=Pathway+Extreme:wght@100&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100;300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: #F2F2F2;
}

nav {
    background-image: linear-gradient(to bottom right, #6614D9, #854AD9);
    width: 100%;
    height: 50px;
    margin-top: 20px;
    box-shadow: rgba(0, 0, 0, 1) 0px 5px 15px;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav label.heading {
    color: white;
    font-family: 'Pathway Extreme', sans-serif;
    font-size: 40px;
    text-shadow: 2px 2px 0 #0F0D0B;
    line-height: 50px;
    margin: 0 70px;
}

nav ul {
    float: right;
    list-style-type: none;
    margin-right: 5px;
}

nav ul li {
    display: inline-block;
    line-height: 50px;
}

nav a {
    font-size: 25px;
    color: #0F0D0B;
    padding: 8px 20px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.5s;
}

nav a:hover {
    color: #F9F8F9;
    text-decoration: underline;
}

nav label#checkbtn {
    color: #0F0D0B;
    float: right;
    line-height: 50px;
    margin-right: 10px;
    font-size: 30px;
    display: none;
}

#check {
    display: none;
}

#check:checked~ul {
    right: 0;
}

@media(max-width:1059px) {

    nav label#checkbtn {
        display: block;
    }

    nav ul {
        background: rgba(0, 0, 0, 0.8);
        position: fixed;
        top: 70px;
        right: -100%;
        transition: 0.5s;
    }

    nav ul li {
        display: block;
        text-align: center;
        line-height: 50px;
        margin: 15px;
    }

    nav ul li a {
        color: white;
        font-weight: normal;
    }
}

@media(max-width:500px) {
    nav label.heading {
        font-size: 30px;
        margin: 0 10px;
    }
}

@media(max-width:291px) {
    nav label.heading {
        font-size: 10vw;
        margin: 0;
    }
}

.body-container {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.container1 {
    display: flex;
    justify-content: center;
    margin-top: 4vh;
    background: url('./images/farmland.jpg') no-repeat center;
    background-size: 100% 100%;
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
    width: 95%;
}

.left {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.text {
    font-size: 5vw;
    color: darkblue;
    font-weight: 800;
}

.sec-text {
    color: greenyellow;
    text-shadow: 2px 2px 5px #0F0D0B;
}

#changeText {
    opacity: 1;
    transition: 1s opacity;
}


.right {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main_img {
    width: 100%;
    height: auto;
}

.container2 {
    display: flex;
    justify-content: center;
    margin-top: 5%;
    padding: 10px;
    width: 100%;
    flex-direction: column;
    align-items: center;
}

.sub-heading {
    font-size: min(8vw, 100px);
    text-shadow: 2px 2px 0 goldenrod;
    color: black;
}


.welcome-container {
    padding: 10px;
    width: 95%;
    text-align: center;
    font-family: 'Raleway', sans-serif;
    margin-top: 2%;
    font-size: min(6vw, 30px);

}

.wrapper {
    width: 80%;
    position: relative;
    margin-top: 2%;
}

.wrapper i {
    top: 50%;
    height: 50px;
    width: 50px;
    cursor: pointer;
    font-size: 1.25rem;
    position: absolute;
    text-align: center;
    line-height: 50px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
    transform: translateY(-50%);
    transition: transform 0.1s linear;
}

.wrapper i:active {
    transform: translateY(-50%) scale(0.85);
}

.wrapper i:first-child {
    left: -22px;
}

.wrapper i:last-child {
    right: -22px;
}

.wrapper .carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 3) - 12px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    border-radius: 8px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel.no-transition {
    scroll-behavior: auto;
}

.carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.carousel.dragging .card {
    cursor: grab;
    user-select: none;
}

.carousel :where(.card, .img) {
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel .card {
    scroll-snap-align: start;
    list-style: none;
    background: transparent;
    cursor: pointer;
    padding: 15px 0;
    flex-direction: column;
    border-radius: 8px;
}


.card .img img {
    width: 20vw;
    object-fit: cover;
}

.carousel .card h2 {
    font-weight: 500;
    font-size: 1.56rem;
    margin: 30px 0 5px;
}

.carousel .card span {
    color: #6A6D78;
    font-size: 1.31rem;
}

@media screen and (max-width: 900px) {
    .wrapper .carousel {
        grid-auto-columns: calc((100% / 2) - 9px);
    }
}

@media screen and (max-width: 600px) {
    .wrapper .carousel {
        grid-auto-columns: 100%;
    }

    .card .img img {
        width: 80%;
    }
}

.container3 {
    display: flex;
    justify-content: center;
    margin-top: 5%;
    padding: 10px;
    width: 100%;
    flex-direction: column;
    align-items: center;
}

.about-container {
    display: flex;
    flex-direction: column;
    margin-top: 2%;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
    width: 95%;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-size: min(2.5vw, 20px);
}

.about-container p {
    text-align: justify;
}

.about-container p.about-subhead {
    font-family: 'Pathway Extreme', sans-serif;
    margin-top: 15px;
    font-weight: bolder;
    color: brown;
}

.contact-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap-reverse;
    width: 80%;
    justify-content: center;
    align-items: center;
    margin-top: 2%;
}


.contact-right {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-left {
    width: 50%;
    padding: 0 50px;
}

#map {
    border: 2px solid black;
    width: 25vw;
    height: 25vw;
    margin: 20px 0;
}

.contact-left p {
    font-family: 'Pathway Extreme', sans-serif;
    font-size: max(1vw, 18px);
}

.contact-left p.about-subhead {
    margin-top: 15px;
    font-weight: bolder;
    color: gray;
}

#mail,
.phone {
    color: black;
    text-decoration: none;
    margin-right: 2px;
}

footer {
    background-color: rgb(170, 170, 170, 0.9);
    width: 100%;
    text-align: center;
    margin: 10px 0;
}

@media (max-width:800px) {

    .contact-right {
        width: 100%;
    }

    .contact-left {
        width: 100%;
    }

    #map {
        width: 60vw;
        height: 60vw;
    }
}

#add-head {
    font-weight: bolder;
}

@media (max-width:650px) {
    .welcome-container {
        text-align: justify;
    }
}

.mob {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}