@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
body{
    color:black; 
    background:mistyrose;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin:0;
}

h1, h2{
    color:black;
    font-family: 'Press Start 2P', cursive;
    font-weight:bold;
    text-shadow: 0px 0px 10px rgba(255,255,255,.75);
    margin:0;
}

ul, li{
    margin:0;
    padding:0;
    display:inline;
}

p{
    font-size:16px; 
    font-weight:normal; 
    line-height:1.5;
}

.main-nav{
    background-color:rgb(248, 242, 241);
    color:#f27e9d;
    font-family:'Press Start 2P', cursive;
    padding:20px;
    font-size:12px;
    position:fixed;
    width:100%;
    top:0;
    z-index:999;
}

.main-nav a{
    color:#f27e9d;
    text-decoration:none;
    font-family:'Press Start 2P', cursive;
    padding:20px;
    margin-right:20px;

}

.main-nav a:hover{
    color:#d90b6b !important;
    text-decoration:underline;
}

.main-nav a:visited{
    color:#eca1b5;
}

.dropdown{
    display:none;
    position:absolute;
    left:422px;
    padding-top:20px;
}

.dropdown li{
    display:block;
    width:290px;
    background:rgb(248, 242, 241);
    border-top: 1px solid white;
    padding: 10px;
}

.dropdown-link:hover .dropdown{
    display:block;
}

.dropdown-link::after{
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    content:"<3";
    line-height:0;
}

.active{
    color:#d90b6b!important;
    text-decoration:underline !important;
}

.main-header{
    background-image:url(images/pixel_heart.png);
    background-size:334px;
    background-repeat: repeat-x;
    background-position:bottom left;
    padding:80px;
    padding-top:138px;
    text-align:center;
}

.main-content {
    background-color: rgb(248, 242, 241);
    border-width: 2px;
    border-style: solid;
    border-color:#d90b6b;
    border-radius: 20px;
    box-shadow: 0px 5px 8px #d90b6b ;
    width:600px;
    margin:100px auto;
    padding:25px 50px;
    text-align:left;
}

a{
    color: #d90b6b;
}

.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:5px;
    border-radius:20px;
    border-bottom:10px solid black;
    transform: translateY(0px);
    transition-property: all;
    transition-duration:300ms;
    animation-name:movingbutton;
    animation-duration: 2s;
    animation-iteration-count:infinite;
    animation-timing-function: ease-in-out;
    animation-direction:reverse;
}

.button:hover {
    background-color:#f22e76;
    color:white;
    border-bottom:10px solid #d02262;
    opacity:1;
}

.button:active{
    background:#d71570;
    color:#ecc4cf;
    transform:translateY(10px);
}

.main-content img{
width:50%;
margin-left:auto;
margin-right:auto;
display:block;
margin-bottom:10px;
}

.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 movingbutton{
    0% {transform:translateX(0); background-color:#d02262; width:300px;}
    25% {transform:translateX(-200px); background-color: #eca1b5; width:400px;}
    50% {transform:translateX(0); background-color:#d02262;width:300px;}
    75% {transform:translateX(200px); background-color:#eca1b5;width:400px;}
    100% {transform:translateX(0); background-color:#d02262;width:300px;}
}