@import url('https://fonts.googleapis.com/css2?family=Bitter&display=swap');
p {
    font-size:16px; 
    font-weight:normal;
    line-height:1.5;
}
body {
    color:#333;
    background:#EAE4D8;
    font-family:'Bitter', serif;
    margin:0;
    
}
h1,h2 {
    color:#678C61;
    font-family:serif;
    margin:0;
      }

ul,li {
    margin:0;
    padding:0;
    list-style: none;
    display:inline;
}  
.main-nav {
    background-color: #95B189;
    color: white;
    padding: 20px;
    position: fixed;
    width: 100%; 
    top:0;
    z-index:999;
}
.main-nav a:hover {
    color:white !important;
    text-decoration: underline;
}
.main-nav a:visited{
    color:rgb(61, 61, 61);
}
.dropdown{
    display:none;
    position:absolute;
    left: 236px;
    padding-top: 20px;

}
.dropdown li {
    display:block;
    width: 175px;
    background: #95B189;
    border-top: 1px solid white;
    padding: 10px;
}
.dropdown-link:hover .dropdown{
    display: block;
}
.dropdown-link::after{
 content:"+";   
 color:#eded8a;
 font-weight: bold;
}
.main-nav a {
    Color:white;
    text-decoration: none;
    margin-right: 20px;
    
}
.active {
    color: yellow !important;
    text-decoration: underline !important;
}
.main-header {
    background-image: url(_images/cactus.jpg);
    background-size: cover;
    background-position: left bottom;
    background-repeat: no-repeat;
    padding: 80px;
    text-align: center;
    padding-top: 138px;
    
}
.main-content {
    background-color: #fff;
    border-width: 2px;
    border-style: solid;
    border-color: #D1CCC0;
    border-radius: 20px;
    box-shadow: 0px 5px 8px rgba(171,166,157,.5);
    width:600px;
    margin: 100px auto;
    padding: 25px 50px;
    text-align: left;
}
.button{
    background-color: black;
    color: white;
    font-size: 24px;
    padding:20px;
    margin-top:40px;
    display: block;
    text-align: center;
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    font-weight:bold; 
    text-decoration:none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius:20px;
    border-bottom: 10px solid #666;
    opacity: .5;
    animation-name: moving-button;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-direction: reverse;
}
.button:hover{
    background-color:#678C61;
    color:black;
    opacity:1;
    transform: translateY(10px);

}
.button:active{
    background:#eded8a;
    color:white;
    margin-top: 50px;
    border-bottom: none;
}
.main-content img{
    width:50%;
    margin-left: auto;
    margin-right: auto;
    display:block;
    margin-bottom: 30px;
}
.main-content img:last-child {
    margin-bottom:0;
}
.main-content img:first-child{
    display:none;
}
.main-content img:nth-child(3) {
    width:100%;
}
.main-header h1 {
    animation-name: popinheader;
    animation-duration: 1s;
}
.main-header h2 {
    animation-name: popinheader;
    animation-duration: 1s;
    animation-delay: 1s;
    opacity: 0;
    transform:translateY(50px);
    animation-fill-mode:forwards;
}
@keyframes popinheader {

    from { opacity:0; transform:translateY(50px); }
    to { opacity: 1; transform:translateY(0px); }
    }

    @keyframes moving-button {
        0% {transform:translateX(0); background-color:#666; width:300px;}
        25% {transform:translateX(-200px); background-color:#678C61; width: 400px;}
        50% {transform:translateX(0); background-color:#666; width:300px;}
        75% {transform:translateX(200px); background-color:#eded8a; width: 400px;}
        100% {transform:translateX(0); background-color:#666; width: 300px;}
    }
    
   