@font-face {
    font-family: 'Product Sans';
    src: url('./font/Product Sans Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --yellow: #FCB03F;
    --grey: #707070;
    --black: #050505;
    --marginpercent: 18%;
    --margin: 390px;

}

.margin390 {
    margin: 0px min(var(--margin), var(--marginpercent));
}

* {
    margin: 0px;
    box-sizing: border-box;
    font-family: Product Sans;
}

a,
a:hover,
a:visited,
.underline {
    font-family: "Product Sans";
    -webkit-text-decoration: none;
    text-decoration: none;
    background-image: linear-gradient(to top, var(--yellow), var(--yellow));
    background-position: 100% 100%;
    background-size: 100% 25%;
    background-repeat: no-repeat;
    color: inherit;
    -webkit-transition: background-size .15s ease-out;
    transition: background-size .15s ease-out;
    outline: none;
}

a:hover {
    background-size: 100% 100%;
}

.news {
    font-weight: bold;
    font-size: 68px;
    line-height: 56px;
    text-align: left;
    color: var(--black);
}

.yellow {
    color: var(--yellow) !important;
}

.home-news-title {
    font-weight: bold;
    font-size: 24px;
    line-height: 26px;
    text-align: left;
    color: var(--black);

}

.home-news-date {
    font-weight: normal;
    font-size: 12px;
    line-height: 35px;
    text-align: right;
    color: var(--black);

}

.card img {
    width: 285px;
    height: 285px;
    aspect-ratio: 1;
}

@media screen and (max-width: 950px) {
    .hide-lastest {
        display: none;
    }
}

@media (min-width: 801px) and (max-width: 1620px) {
    .card {
        margin: 0 2%;
    }

    .home-news-title, .home-news-title1 {
        font-size: calc(10px + 0.7vw);
    }
}

@media (min-width: 2060px) {
    .card img {
        width: 340px;
        height: 340px;
    }

    .card1 img {
        width: 540px;
        height: 540px;
    }

    .home-news-title, .home-news-title1 {
        font-size: 28px;
    }
}

@media (max-width: 40em) {
    :root {
        --margin: 36px;
    }

    .card1 img, .card img {
        width: 317.21px;
        height: 317.21px;
    }

    .home-news-title {
        width: 264px;
    }

    .news {
        font-size: 36px;
        line-height: 35px;
    }
}

.card:hover a, .card1:hover a {
    background-size: 100% 100%;
}

.latestnews {
    width: 510px;
    font-family: "Product Sans";
    font-weight: bold;
    font-size: 55px;
    line-height: 61px;
    text-align: left;
    color: var(--black);

}

.location {
    font-family: "Product Sans";
    font-size: 21px;
    line-height: 25px;
    text-align: left;
    color: var(--black);
}

.contacttext {
    /* width: 1136px; */
    /* height: 83px; */
    font-family: "Product Sans";
    font-weight: normal;
    font-size: 23px;
    line-height: 40px;
    text-align: left;
    color: #707070;

}

label {
    font-family: "Product Sans";
    font-weight: normal;
    font-size: 24px;
    line-height: 40px;
    text-align: left;
    color: #000;
}

.contactinput, .contcactarea {
    padding: 2%;
    font-size: 20px;
    line-height: 24px;
    border-radius: 15px;
    background: #f5f5f5;
    border: 1px solid #707070;
}

input:hover {
    border: 1px solid var(--yellow);
}

.contactbutton {
    border: 3px solid var(--yellow);
    border-radius: 32.5px;
    padding: 1%;
}

.contactbutton:hover {
    background-color: var(--yellow);
}

.githeading {
    font-family: "Product Sans";
    font-weight: bold;
    font-size: 30px;
    line-height: 26px;
    text-align: left;
    color: #fff;
}

.gitdetail {
    font-family: "Product Sans";
    font-weight: normal;
    font-size: 23px;
    line-height: 26px;
    text-align: left;
    color: var(--grey);
}

.text-black {
    color: #000 !important;
}

a.nobg {
    background: none;
}

.map {
    width: 62vw;
    height: clamp(319px, 100rem, 486.86px);
}

@media (max-width: 768px) {
    .map {
        width: 100vw;
    }

    .news {
        margin-top: 80%;
    }
}