header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 9px;
    width: auto;
    height: auto;
    background-color: rgb(79, 159, 79);
    font-size: 15px;
}

footer {
    display: flex;
    background-color: rgb(79, 159, 79);
    padding: 9px;
    width: auto;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top: 3%;
    font-size: 15px;
    height: auto;
}

section {
    border: 5px 5px solid white;
}

h1 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0.5em 0;
    color: white;
}

h2,
h3 {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin: 1em 0;
}

body {
    font-family: Helvetica, Arial, sans-serif;
}

.logo {
    text-align: center;
    margin: 5px;

}

* {
    padding: 0;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nav {
    display: flex;
    list-style: none;
    background: rgb(79, 159, 79);
    padding: 7px;

}

.nav li {
    display: inline-block;
    position: relative;
}

.nav li a {
    display: block;
    padding: 10px 30px;
    color: rgb(255, 255, 255);
    text-decoration: none;
    text-align: center;
    font-size: 17px;
}

.align {
    text-align: center;
}


.nav li ul.dropdown li {
    display: block;
    padding: 8px;

}

.nav li ul.dropdown {
    width: 90%;
    background: rgb(79, 159, 79);
    position: absolute;
    z-index: 999;
    display: none;
    text-align: center;

}

.nav li a:hover {
    background: rgb(68, 138, 68);
    border-radius: 10px;

}

.nav li:hover ul.dropdown {
    display: block;
    padding: 0px 10px;
}


li:hover .dropdown:hover {
    display: block;

}

.menu li,
.socialmedia li {
    list-style: none;
}

.menu,
.socialmedia {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.menu a {
    color: white;
    display: inline-flex;
    text-decoration: none;
    margin: 0 30px;
}

.socialmedia a {
    font-size: 1.5em;
    color: white;
    display: inline-block;
    transition: 0.2s;
    margin: 20px 15px;
}

.menu a:hover,
.socialmedia a:hover,
.contact a:hover {
    color: rgb(60, 60, 60);
    transition: 0.2s;
}

.contact {
    color: rgb(255, 255, 255);
}

.contact a {
    justify-content: center;
    text-decoration: none;
    margin: 20px 15px;
    color: white;
}

#copyright {
    color: white;

}

.page {
    box-sizing: border-box;
}

/*HOME PAGE*/

.para1 {
    font-size: 20px;
}

.class1 {
    margin-left: 15%;
    margin-right: 15%;
}

.class2 {
    margin-left: 47%;
    margin-top: 8px;
}

.class3 {
    margin-left: 44%;
    margin-top: 2px;
    margin-bottom: 8px;
}

.cont {
    background-image: url('images/home page image/home page image.jpg');
    background-size: cover;
    color: rgb(255, 251, 251);
    font-size: 40px;
    padding: 60px 40px;

}

.logo {
    width: 80px;
    height: 90px;
}

.hometext {
    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: left;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 40px;
    opacity: 20%;

}

.box,
.box1 {
    border: 5px 5px 5px 5px solid white;
    border-style: double;
    margin: 5px;
    padding: 5px;
    border-radius: 20px;
    width: 98%;

}

.area {
    margin-left: 35%;
}

.regiontea {
    margin-top: 50px;
    margin-right: 15%;
    margin-bottom: 5%;
    width: 350px;
    height: 500px;
}


.img2 {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Prompt', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
}

.img3 {
    align-items: center;
}

.img {
    align-items: right;
}

.historyimg1 {
    width: 500px;
    height: 350px;
}

.history2,
.history3 {
    border-radius: 10px;
    margin-left: 50px;
    margin-right: 50px;
    width: 400px;
    height: 300px;
    margin-bottom: 3%;
    margin-top: 3%;
}

.teamap {
    border-radius: 10px;
    width: 400px;
    height: 300px;

}

/*TEA PLANTATIONS*/

.teabanner {
    color: white;
    font-size: 30px;
    background-color: #75c175;
    padding: 2px;
    width: 100%;
}

.nuwara1 {
    margin-right: 50px;
    margin-bottom: 20px;
    border-radius: 15px;
    width: 400px;
    height: 250px;

}

.ella1 {
    margin-right: 50px;
    margin-bottom: 20px;
    border-radius: 15px;
    width: 400px;
    height: 250px;
}

.hatton1 {
    margin-right: 50px;
    margin-bottom: 20px;
    border-radius: 15px;
    width: 400px;
    height: 250px;

}

.haputale1 {
    margin-right: 50px;
    margin-bottom: 20px;
    border-radius: 15px;
    width: 400px;
    height: 250px;

}

.paraplant {
    font-size: 20px;
    text-align: center;
}

.lipton {
    border-radius: 15px;
    width: 400px;
    height: 250px;
    margin: 20px;

}

.teafac1 {
    border-radius: 15px;
    width: 400px;
    height: 250px;
    margin: 20px;

}

.teafac2 {
    border-radius: 15px;
    width: 400px;
    height: 250px;
    margin: 20px;

}

.container {
    display: flex;
}

.container1 {
    display: inline-flex;
    flex-flow: row wrap;
}

.nuwaraeliya,
.hatton {
    background-color: #ffffff;
    box-sizing: border-box;
    box-shadow: 0 2px 2px 2px rgb(197, 195, 195);
    border: 1px hidden rgb(72, 71, 71);
    padding: 15px 25px;
    margin: 20px;
    border-radius: 15px;
}

.ella,
.haputale {
    background-color: #e7eae7;
    box-sizing: border-box;
    box-shadow: 0 2px 2px 2px rgb(197, 195, 195);
    border: 1px hidden rgb(72, 71, 71);
    padding: 15px 25px;
    margin: 20px;
    border-radius: 15px;
}

table,
th,
td {
    border: 2px solid black;
    border-collapse: separate;
    border-radius: 5px;

}

.mapouter {
    position: relative;
    text-align: right;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: none;

}

.table {
    margin-left: auto;
    margin-right: auto;
}

.container {
    text-align: center;
}


/*CEYLON TEA MUSEUM*/

.teamuseumtext {
    color: rgb(0, 0, 0);
    font-size: 30px;
    background-color: #75c175;
    padding: 2px;
}

.teamuseumlogo {
    width: 30%;
    height: 40%;
    justify-content: center;
    margin-top: 1%;
    margin-bottom: 20px;
}

.teamuseum {
    border-radius: 15px;
    margin-left: 80%;
    margin-top: 10%;
}

#teamuseumpara {
    font-size: 20px;
}

.teamuseum1 {
    margin-bottom: 10px;
    border-radius: 10px;
    width: 200px;
    height: 300px;
}

.teamuseum2,
.teamuseumimage {
    border-radius: 10px;
    margin: 20px;
    width: 500px;
    height: 350px;

}

.mach1 {
    float: center;
    margin-right: 80px;
    border-radius: 10px;
    width: 400px;
    height: 250px;
}

.mach2 {
    float: center;
    margin-right: 80px;
    border-radius: 10px;
    width: 400px;
    height: 250px;
}

.mach3 {
    float: center;
    border-radius: 10px;
    width: 400px;
    height: 250px;
}

.historymuseum {
    box-sizing: border-box;
    box-shadow: 0 2px 2px 2px rgb(197, 195, 195);
    border: 1px hidden rgb(72, 71, 71);
    padding: 15px 25px;
    margin: 20px;
    border-radius: 15px;

}

.location {
    background-color: rgb(111, 201, 111);
    padding: 20px;
}

.button4 {
    text-decoration: none;
    background-color: #dfe0df;
    color: rgb(0, 0, 0);
    padding: 15px 20px;
    text-align: center;
    display: block;
    font-size: 20px;
    margin-left: 38%;
    width: 20%;
    margin-top: 20px;
    margin-bottom: 2%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-radius: 20px;
}

.button4:hover {
    background-color: #64a564;
    color: rgb(255, 251, 251);

}

/*BYPRODUCTS*/

.teapot {
    margin-bottom: 20px;
    width: 400px;
    height: 400px;

}

.teasoap {
    margin-bottom: 20px;
    width: 400px;
    height: 400px;
}

.teatree {
    margin-bottom: 20px;
    width: 400px;
    height: 400px;
}

.products {
    margin-left: 25%;

}

.para2 {
    margin-left: 44%;
    font-size: 20px;
}

.button {
    text-decoration: none;
    background-color: #dfe0df;
    color: rgb(0, 0, 0);
    padding: 15px 32px;
    text-align: center;
    display: inline-block;
    font-size: 15px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-radius: 15px;
}

.button:hover {
    background-color: #babcba;

}

.byprocont {
    box-sizing: border-box;
    box-shadow: 0 2px 2px 2px rgb(197, 195, 195);
    border: 1px hidden rgb(72, 71, 71);
    padding: 15px 25px;
    margin: 20px;
    border-radius: 15px;
}

/*PURCHASE AND DONATE*/

.purchase {
    box-sizing: border-box;
    box-shadow: 0 2px 2px 2px rgb(195, 191, 191);
    background-color: #e4e9e4;
    border: 1px hidden rgb(72, 71, 71);
    padding: 15px 25px;
    margin: 20px;
    border-radius: 15px;

}

.text {
    font-size: 20px;
    text-align: center;
}

.button2 {
    text-decoration: none;
    background-color: #69c569;
    color: rgb(0, 0, 0);
    padding: 15px 32px;
    text-align: center;
    display: inline-block;
    font-size: 15px;
    margin-left: 47%;
    margin-top: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-radius: 15px;
}

.donation {
    box-sizing: border-box;
    box-shadow: 1px 1px 1px 1px rgb(197, 195, 195);
    border: 1px hidden rgb(72, 71, 71);
    padding: 15px 25px;
    margin: 20px;
    border-radius: 15px;

}

.donate {
    text-align: center;
    font-size: 20px;
}


.purch1 {
    box-sizing: border-box;
    box-shadow: 0 5px 5px 5px rgb(197, 195, 195);
    border: 1px hidden rgb(72, 71, 71);
    padding: 15px 20px;
    margin: 20px;

}

#logo {
    color: black;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}

.purch {
    width: 400px;
    height: 250px;
}

.purch2 {
    display: flex;
    justify-content: space-between;

}

.purch3 {
    width: 290px;
    height: 250px;
}


.topic {
    background-color: rgb(111, 201, 111);
    padding: 30px;
}

.container3:hover,
.purchase:hover {
    transform: scale(1.02, 1.02);
}

.button {
    margin-bottom: 20px;
}

.button2 {
    text-decoration: none;
    background-color: #dfe0df;
    color: rgb(0, 0, 0);
    padding: 15px 20px;
    text-align: center;
    display: inline-block;
    font-size: 15px;
    margin-top: 7%;
    margin-bottom: 4%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-radius: 20px;
    margin-left: auto;
    margin-right: auto;

}

.button3 {
    text-decoration: none;
    background-color: #dfe0df;
    color: rgb(0, 0, 0);
    padding: 15px 20px;
    text-align: center;
    display: block;
    font-size: 20px;
    margin-left: 38%;
    width: 20%;
    margin-top: 20px;
    margin-bottom: 2%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-radius: 20px;
}

.button1:hover,
.button2:hover {
    background-color: #91d991;

}

.button3:hover {
    background-color: #c1c3c1;
}

.container3 {
    margin: 30px;
    margin-left: auto;
    margin-right: auto;
    width: 30%;
    height: 30%;
    box-sizing: border-box;
    box-shadow: 0 5px 5px 5px rgb(197, 195, 195);
    background-color: white;
    border: 0.1px hidden rgb(72, 71, 71);
    border-radius: 10px;
    align-items: center;
}


.container:hover {
    transform: scale(1.03, 1.03);
}

#donate {
    background-color: rgb(111, 201, 111);
    padding: 30px;
    color: white;
}

.details {
    text-align: left;
    flex-direction: row;
    margin: 50px;

}

.bar {
    background-color: rgb(111, 201, 111);
    color: #ffffff;
    width: 100%;
    text-align: center;
    font-size: 15px;
    padding: 2px;

}

.details1 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 20px;

}

input[type="text1"] {
    width: 30%;
    margin: 5px;
}

select {
    width: 15%;
    height: 20%;
    text-align: center;
}

.details2 {
    text-align: left;
    flex-direction: row;
    margin: 50px;
}

input[type="text"] {
    width: 20%;
}

.submit,
.reset {
    color: white;
    background-color: #69c569;
    width: 10%;
    height: 20%;
    margin: 20px;
}

#justify {
    display: flex;
    flex-direction: column;
}

input[placeholder] {
    text-align: center;
}

fieldset {
    width: 50%;
    height: 50%;
    margin-left: auto;
    margin-right: auto;

}

input[type="number"] {
    width: 20%;
}

#prompt-box {
    width: fit-content;
    border: 1px solid black;
    position: fixed;
    background-color: white;
    top: 50vh;
    display: none;
    padding: 2%;
    text-align: center;
    animation-duration: 2.5s;
}

.error {
    color: red;
    font-size: 12px;
}

/*MOBILE COMPATIBILITY*/

@media only screen and (max-width:1300px) {

    .page,
    .nav {
        margin-left: auto;
        margin-right: auto
    }

    .container3 {
        margin: 40px;
        margin-left: auto;
        margin-right: auto;
    }

    .menu a {
        margin: 5px;
    }

    /* HOMEPAGE */

    .hometext {
        font-size: 20px;

    }

    .para1 {
        font-size: 15px;
        align-content: center;
    }

    .box {
        border: 5px 5px 5px 5px solid white;
        border-style: double;
        margin: 10px;
        padding: 5px;
        border-radius: 20px;
        width: 96%;
        margin-left: 1%;
        margin-right: 1%;
    }

    .historyimg1,
    .history2,
    .history3 {
        width: 80%;
        height: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .regiontea {
        width: 100%;
        height: 100%;
        margin-left: auto;
        margin-right: auto;

    }

    .class3 {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 10%;

    }

    .para1 {
        align-content: center;
    }

    /* TEA PLANTATIONS */

    .nuwara1,
    .ella1,
    .hatton1,
    .haputale1 {
        width: 100%;
        height: 100%;
    }

    .lipton,
    .teafac1,
    .teafac2 {
        margin: auto;
        width: 80%;
        height: 80%
    }

    .gmap_canvas {
        width: 100%;
        height: 100%;
    }

    /* TEA MUSEUM */

    .teamuseum2,
    .teamuseumimage,
    .mach1,
    .mach2,
    .mach3 {
        width: 100%;
        height: 100%;
        margin: auto;
    }

    .teamuseumlogo {
        width: 50%;
        height: 70%;

    }

    .map {
        width: 100%;
        height: 100%;

    }

    .table {
        width: 90%;
        height: 90%;
    }

    /* PURCHASE */

    .conatiner,
    .purch {
        width: 100%;
        height: 100%;
    }

    .container3 {
        width: 90%;
        height: 90%;

    }

    .purchcaption {
        font-size: 200%;
    }

    .topic {
        font-size: 400%;
    }

    .purch2 {
        flex-direction: column;
    }

    /* BYPRODUCTS */
    .teapot,
    .teasoap,
    .teatree {
        width: 100%;
        height: 100%;
    }

    fieldset {
        font-size: 15px;
    }

    label {
        font-size: 30px;
    }

    .donate {
        font-size: 310%;
    }

    #donate {
        font-size: 300%;
    }

    fieldset {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    input[type="text1"] {
        width: 50%;
        margin: 5px;
    }

    #donation-amount {
        width: 40%;
    }

    input[type="text"] {
        width: 40%;
    }

    input[type="number"] {
        width: 40%;
    }

    #month,
    #year {
        width: 20%;
    }

    button[type='button'],
    button[type='reset'] {
        width: 40%;
    }

    label {
        font-size: 10px;
    }

}

@media only screen and (max-width:1160px) {
    .nav {
        flex-direction: column;
    }

    .menu {
        justify-content: center;
    }

    ul.menu {
        flex-direction: column;
        justify-content: center;

    }

    .purchcaption {
        font-size: 150%;
    }

    #donate {
        font-size: 200%;
    }

    .donate {
        font-size: 150%;
    }
}


@media only screen and (max-width:450px) {

    #teamuseumpara {
        font-size: 15px;
    }

    .map {
        height: auto;
        width: auto;

    }

    .location,
    .historymuseum,
    .haputale,
    .hatton,
    .ella,
    .nuwaraeliya {
        font-size: 15px;
    }

    .page,
    .nav {
        margin-left: auto;
        margin-right: auto;
        font-size: 5px;
        width: auto;

    }

    .purchcaption,
    .paraplant {
        font-size: 15px;
    }

    .logo {
        margin: 5px;
    }

    .box {
        width: 89%;
        margin-left: auto;
        margin-right: auto;
    }

    .class3 {
        width: 25%;
    }

    .teamuseumlogo {
        width: 80%;
        height: 100%;
    }

    .box1 {
        width: 92%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .class1 {
        margin-left: 25%;
    }

    .button3 {
        margin-left: 33%;
    }

    .donate {
        font-size: 310%;
    }

    #donate {
        font-size: 300%;
    }

    fieldset {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    input[type="text1"] {
        width: 70%;
        margin: 5px;
    }

    #donation-amount {
        width: 40%;
    }

    input[type="text"] {
        width: 60%;
    }

    input[type="number"] {
        width: 50%;
    }

    #month,
    #year {
        width: 30%;
    }

    /* button[type="submit"], button[type="reset"]{
        width:20%;
    } */

    label {
        font-size: 10px;
    }

    #font {
        font-size: 10px;
    }

    .table {
        font-size: 10px;
    }
}