* {
    box-sizing: border-box;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    overflow-x: hidden;
}

.noggle {
    display: none;
}

h1 {
    color: #000463;
}


.footer img{
    width: 20%;
}

.footer{
    border-top: 1px solid lightgray ;
    padding: 50px 0px 50px 0px;
}
h2{
    
    color: #000463;
    font-weight: bold;
}
.ylh1 {
    color: #e7a811;
}

.nvbar {
    display: flex;
    gap: 1em;
    padding-left: 40px;
}

.box{
    box-shadow: 2px 2px 3px 3px lightgrey;
    height: 240px;
    overflow-y: hidden;
}


.box2 {
    background-color: #f1f1fa;
    box-shadow: 0px 2px 4px 0px lightgrey;
    border-radius: 10px;
    border: 0.5px solid lightgrey;
}

.rvs img{
    box-shadow: 0px 2px 4px 0px lightgray;
}

.box1 {
    background-color: #f1f1fa ;
    box-shadow: 0px 2px 4px 0px lightgrey;
    border-radius: 10px;
    border: 0.5px solid lightgrey;
}

.box1:hover{
    background-color: #000463;
    color: white;
}

.box:hover{
    transform: scale(1.02);
    transition: all 0.2s ease-in-out;
    box-shadow: 0px 4px 8px 0px lightgray;
}

.box .hed{
    background-color: #000463;
    color: white;
    font-size: 27px;
    padding: 20px;
    font-weight: bold;
}

.box p{
    padding: 20px;
}

.herotext {
    padding: 5em;
}

.herotext img {
    width: 100%;
    margin-top: -45px;
}

.nvitem {
    padding: 1em 2em 1em 2em;
}

.log {
    width: 30%;
    margin-top: -8px;

}

.nvbar img {
    width: 100%;
}

.ylbtn {
    background-color: #e7a811;
    padding: 10px 30px 10px 30px;
    border: none;
    color: white;
    border-radius: 5px;

}

.in-btw{
    display: flex;
    justify-content: center;
    text-align: center;
}

.ylbtn:hover {
    background-color: #e1a210;
}

.nvbar .ylbtn {
    margin-top: -10px;
}

.blwkeys{
    display: flex;
    justify-content: center;
    gap: 2em;
    font-size: 20px;
    color: #000463;
}


iframe{
    overflow: hidden;
    height: 180px;
    width: 400px;
}

.form input{
    margin-top: 10px;
}


@media only screen and (min-width: 300px) and (max-width: 800px) {
    .herotext img {
        margin-top: 20px;
    }

    
    .footer img{
        width: 60%;
    }
    .footer h2{
        font-size: 20px;
    }
    iframe{
        width: 300px;
    }

    .blwkeys{
        flex-direction: column;
    }



    .herotext{
        padding: 1em;
    }

    .nvbar {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .noggle {
        display: inline-block;
    }

    .nvbar .log {
        display: none;
    }

    .nvitem {
        font-size: 13px;
    }

    .ylbtn {
        font-size: 12px;
        padding: 10px 20px 10px 20px;
    }

    .slider {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.8s ease;
    }

    .slider.open {
        max-height: 600px;
        transition: max-height 0.8s ease;
    }



    .slider {
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.3s ease;
    }

    .slider.open {
        transform: scaleY(1);
    }


    .hide {
        display: none;
    }
}