/* Element Reset*/

* {
    margin: 0;
    padding: 0;
}

/*-------variables-----*/
:root{
    --mainColor: #ad8566;
}
/* main */

body {
    width: 100%;
    background-color: #4F5261;
    background-image: linear-gradient(rgba(4, 9, 30, 0.5), rgba(4, 9, 30, 0.5)), url("../images/Tea.jpg");
    background-size: contain;
    animation: fade-in 2s; 
    
}

.container {
    margin: auto;
    width: 100%;
    max-width: 1100px;
}


/* Navbar */

nav {
    height: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 1s;
}

nav:hover {
    height: 180px
}

.nav-links {
    text-align: right;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu {
    position: absolute;
    right: calc(30px - 1vw);
    display: none;
    fill: var(--mainColor);
    transition: 1s;
    cursor: pointer;
}

.menu:hover {
    fill: white;
    animation: menuShake 0.5s;
}

.nav-links a {
    text-decoration: none;
    padding: 10px 14px;
    margin-left: calc(1vw - 10px);
    color: white;
    font-weight: bolder;
    border-radius: 15px;
    transition: 1s;
}

.nav-links a:hover {
    text-decoration: none;
    background-color: var(--mainColor);
    color: black;
}

nav img {
    height: 200px;
}

.drop-down {
    width: 100px;
}

.drop-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.drop-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.drop-content a:hover {
    color: white;
    padding: 12px 16px;
    background-color: var(--mainColor);
    text-decoration: none;
    display: block;
}


/* Mobile response for nav */

@media (max-width:568px) {
    .menu {
        display: block;
    }
    .nav-links a {
        display: none;
    }
}

/* Content PArt 2*/
.landing {
    background-color: #4F5261;
    padding: 15px;
    min-height: 100%;
    align-items: center;
    justify-content: center;
    display: flex;
    color: #fff;
    margin-bottom: 10%;
    padding-bottom: 5%;
    animation: wipe-enter 1s;
}

.header {
    font-size: 2.4rem;
}

.header span .priority {
    color: var(--mainColor);
    font-size: 2.9rem;
}

.textbox {
    text-align: center;
    margin: auto;
    max-width: 800px;
}
.textbox h1 {
    font-size: 2rem;
}

.textbox p {
    margin-top: 20px;
    font-size: 1.6rem;
}
.textbox img{
    margin-top: 20px;
    width: 100%;
    max-width: 600px;
    transition: 1s;
}
.textbox img:hover{
    border-radius: 10px;
    max-width: 800px;
    box-shadow: 10px 10px 10px 10px rgba(0, 0, 0, 0.5);
}

/*-----------image gallery----------*/
.image-gallery{
    background-color: var(--mainColor);
    padding: 15px;
    min-height: 100%;
    color: #000;
    margin-bottom: 10%;
    padding-bottom: 5%;
}
.heading{
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 3%;
}
.row{
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
    padding: 20px;
    margin-top: 20px;
    border: #000 solid 1px;
}


.image-gallery img{
    height: 200px;
    width: 100%;
    margin: 10px 0px;
    transition: 1s;
}
.row img:hover {
    filter: brightness(70%);
}


/*----------the map section-------*/
.map-section{
    background-color: #4F5261;
    padding: 15px;
    min-height: 100%;
    color: #fff;
    margin-bottom: 10%;
    padding-bottom: 5%;
}

.map{
    display: flex;
    justify-content: center;
    max-width: 100%;
    
}

/* footer */

footer {
    height: 150px;
    background-color: #4F5261;
    display: flex;
    justify-content: center;
    text-align: center;
    margin: auto;
    width: 100%;
    max-width: 1100px;
}
.social-icon{
    display: flex;
    justify-content: center;
}
.social-item{
    width: 100%;
}

/*Ticket booking section*/
#form{
    background-color: #ad8566;   
    margin: auto;
    margin-bottom: 10%;
    
    border: 3px solid black;
    padding: 10px;

}
label {
    width: 350px;
    display: inline-block;
    padding: 1%;
}

#ticket{
    margin-bottom: 5%;
}
#number{
    margin-bottom: 5%;
}
#durations{
    margin-bottom: 5%;
}
#form h1{
    text-align: center;
    color: #000;
}
#buttons{
    text-align: center;
    margin-bottom: 5%;
}
#output {
    min-height: 100px;
    border: 1px solid black; 
    width: 100%;    
}
h4{
    text-decoration: underline;
}

/*donate section*/
.donate{
    background-color: #ad8566;   
    margin: auto;
    margin-bottom: 10%;
    
    border: 3px solid black;
    padding: 10px;
    
}
.donate h1 {
    text-align: center;
    color: #000;
}

.btn{
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid black;
    padding: 10px 20px;
    font-size: 0.7rem;
    background-color:var(--mainColor) ;
}
.btn:hover {
    border: 1px solid #4F5261;
    background: #4F5261;
    transition: 0.8s;
}





/*Animations*/

@keyframes menuShake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }
    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }
    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }
    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }
    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }
    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }
}
@keyframes fade-in {
    from{opacity: 0;}
    to{opacity: 1;}
    
}
@keyframes wipe-enter {
    0% {
        transform: scale(0, .025);
    }
    50% {
        transform: scale(1, .025);
    }
}
