@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abhaya+Libre:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

* {
    box-sizing: border-box;
}

html body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}


/* nav */
/* header */
header {
    width: 100%;
    padding: 25px;
}

.menu-open {
    font-size: 40px;
    cursor: pointer;
    color: rgb(10, 1, 1);
    float: right;
    padding: 5px;
}

@media (min-width: 800px) {

    header,
    .nav-close {
        display: none;
    }
}

/* header ends */
/* navbar links */
@media only screen and (min-width: 661px) and (max-width: 915px) and (orientation: landscape) {
    .menu-open {
        padding: 0px !important;
    }

    nav a {
        font-size: 20px !important;
    }

    .logo a img {
        max-width: 95px !important;
        max-height: 250px !important;
    }
}

@media (min-width: 801px) {
    nav {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        list-style: none;
        margin: 0;
        text-align: center;
        background-color: #F8F8F8;
    }

    .logo {
        width: 200px;
    }

    .logo a img {
        max-width: 180px;
        margin: 10px;
        padding: 10px;
    }

    nav a {
        display: inline-block;
        padding: 10px;
        min-width: 120px;
        text-decoration: none;
        font-size: 19px;
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 500;
        color: rgb(0, 0, 0);
    }

    nav a:hover {
        color: #2460AD;
        transition: all 0.2ms;
    }

}

/* hides untile width is met */
@media(max-width: 801px) {
    .hide {
        visibility: hidden;
    }

    header {
        height: 100px;
        background-color: #F8F8F8;
    }

    .logo {
        display: none;
    }

    nav {
        width: 100%;
        height: 100vh;
        z-index: 1;
        position: fixed;
        left: 0;
        top: 0;
        background-color: #0e0f0f;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    nav a {
        display: block;
        text-decoration: none;
        color: #fff;
        font-size: 25px;
    }

    .nav-links {
        font-weight: bold;
        text-transform: uppercase;
        margin-bottom: 45px;
        position: relative;
        transition: all 0.3s ease;
        padding: 10px;
    }

    .nav-links::before {
        content: ' ';
        height: 1px;
        width: 0%;
        position: absolute;
        left: 0;
        top: 0;
        transition: all 0.3s ease;
        background-color: rgb(255, 255, 255);
    }

    .nav-links::after {
        content: ' ';
        height: 1px;
        width: 0%;
        position: absolute;
        right: 0;
        bottom: 0;
        background-color: rgb(255, 255, 255);
        transition: all 0.3s ease;
    }

    .nav-links:hover {
        color: #1ca8ff;
    }

    .nav-links:hover::after,
    .nav-links:hover::before {
        width: 55%;
    }

    .nav-links-social {
        display: flex;
        justify-content: center;
    }

    .nav-links-social span {
        padding: 0 25px;
    }

    .nav-links-social span i {
        color: #fff;
        font-size: 20px;
        cursor: pointer;
    }

    .nav-links-social span i:hover {
        color: #EF5350;
        transition: all 0.3s ease;
    }

    .hide {
        visibility: hidden;

    }

    .show {
        visibility: visible;
    }

    .nav-close {
        position: absolute;
        right: 20px;
        top: 20px;
        font-size: 45px;
        color: rgb(255, 255, 255);
        cursor: pointer;
        padding: 15px;
    }
}

/* nav links ends */

/* about us banner */

.aboutbanner {
    margin-bottom: 50px;
    padding: 0px 3px 3px 3px;
    align-items: center;
}

.aboutbanner img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
}

/*  about us banner ends */

/* aboutText */
.aboutText {
    padding: 10px;
}

.aboutText h2 {
    font-size: 3em;
    font-family: "DM Serif Text", serif;
    font-style: normal;
    letter-spacing: 0.05em;
    padding: 15px auto;
}

.aboutText p {
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    font-weight: normal;
}

@media (max-width:480px) {
    .aboutText p {
        font-size: 13px;
        padding: 10px;
    }
}

/* aboutText ends */

/* meet the owner */
/* meet us */

.wrappers {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 7%;
}

.user-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 10px;
    /* change it here 650 */
    padding: 20px;
    width: 85vw;
    /* change it here */
    position: relative;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.user-card::before {
    position: absolute;
    content: '';
    height: 410%;
    width: 240px;
    background: #262626;
    top: -150px;
    left: -300px;
    z-index: 0;
    transform: rotate(17deg);
}

.user-card-img {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.user-card-img img {
    width: 185px;
    height: 260px;
    margin-top: 45px;
    object-fit: cover;

}

.user-card-info {
    text-align: center;
    height: 30vh;
    justify-content: center;
    margin-top: 100px;
}

.user-card-info h2 {
    font-size: 24px;
    font-family: "DM Serif Text", serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    margin-bottom: 10px;
}

.user-card-info .ceoo {
    font-weight: bold;
    font-family: "Playfair Display", serif;
}

.user-card-info p {
    font-family: 'Times New Roman', Times, serif;
    font-size: 19px;
    font-weight: normal;
}

/* grouphot0 */
.groupbanner {
    width: 100%;
    padding: 15px;
    height: 100%;
    margin-top: 15px;
}

.groupbanner img {
    max-height: 600px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

/* groupphot end */

@media (min-width: 1000px) {
    .user-card {
        flex-direction: row;
        align-items: flex-start;
        height: 488px;
    }

    .user-card-img {
        margin-right: 20px;
        margin-bottom: 0;
    }

    .user-card-info {
        text-align: center;
        margin-top: 90px;
    }
}

@media (max-width: 999px) {
    .wrappers {
        padding-top: 3%;
    }

    .user-card {
        height: 860px;
    }

    .user-card-info {
        height: 100vh;
    }

    .user-card::before {
        width: 300%;
        height: 200px;
        transform: rotate(0);
    }

    .user-card-img img {
        width: 255px;
        height: 300px;

    }
}

@media (max-width: 480px) {
    .user-card-info {
        height: 80vh;
    }

    .user-card {
        height: 110vh;
    }

    .user-card-info p {
        font-size: 14px;
        padding: 10px;
    }
}

/* .user-card-img img {
    width: 255px;
    height: 300px;
    padding: 50px;
    margin-top: 110px;
} */
/* meet the owner ends */


/* footer */
.footer {
    background-color: #424656;
    color: white;
    padding: 120px 0px 90px 0px;
}

.leftfoot {
    padding: 5px;
}

.Contact_footer h2 {
    font-family: "DM Serif Text", serif;
    font-size: 25px;
    padding: 10px;
}

.Contact_footer ul {
    padding: 10px;
    list-style: none;
}

.Contact_footer ul li {
    margin: 15px;
}

.footer .Contact_footer a {
    font-size: 17px;
    font-family: "Abhaya Libre", serif;
    text-decoration: none;
    pointer-events: none;
    transition: all .25s;
    text-decoration: none;
    color: #fff;
}

.footer .Contact_footer a:hover {
    color: #5ec1ff;
}

.footerlogo img {
    max-width: 70%;
    height: auto;
}

.single_footer ul {
    margin: 0;
    padding: 5px;
    list-style: none;
}

.single_footer ul li {
    font-size: 17px;
    margin: 10px;
}

.single_footer h2 {
    font-size: 25px;
    font-family: "DM Serif Text", serif;
    padding: 10px;
}

.footer .single_footer a {
    font-size: 19px;
    font-family: "Abhaya Libre", serif;
    text-decoration: none;
    transition: all .25s;
    text-decoration: none;
    color: #fff;
}

.footer .single_footer a:hover {
    color: #5ec1ff;
}

.copyright {
    font-family: "Abhaya Libre", serif;
}

/* footer ends */