@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@600&display=swap');
body {color:#333;
    background: #ebd5f2;
    font-family: sans-serif;
    margin: 0
    }

    h1, h2 {color:rgb(255, 255, 255);
    font-family: Montserrat Alternates;
    text-shadow: 2px 5px 8px rgba(255, 2, 133, 1);
    margin: 0;
    }

    ul, li{ margin:0;
            padding:0;
            list-style: none;
            display: inline;
    }
        

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

    .main-nav {
        background-color:rgb(150, 146, 240);
        color:white;
        font-family: Montserrat Alternates;
        padding:20px;
        position:fixed;
        width:100%;
        top: 0;
        z-index:999;
    }

    .main-nav a {color:white;
    text-decoration: none;  
    margin-right: 20px;
    }


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

    .main-nav a:visited {
        color:rgb(227, 73, 166);
    }

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

    }

    .dropdown li {
        display:block;
        width: 200px;
        background:rgb(150, 146, 240);
        border-top: 1px solid white;
        padding:10px;
    }

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

    .dropdown-link::after {
        content:">";
        
    }


    .active {color:rgb(116, 3, 165) !important;
    text-decoration: underline !important}

    .main-header{
        background-image: url(images/header.jpg);
        background-size: cover;
        background-position:left -150px;
        background-repeat: no-repeat;
        background-color:#dfdedf;
        padding:80px;
        text-align:center;
        padding-top:138px;
    }

    .main-content {
        background-color: #fff;
        border-width: 7px;
        border-style: double;
        border-color: rgba(191, 75, 241, 1);
        border-radius: 20px;
        box-shadow: 5px 7px 7px rgb(49, 39, 239);
        overflow:hidden;
        width: 600px;
        margin: 100px auto;
        padding:25px 50px;
        text-align:left;
    }

.button {
    background-color:rgb(92, 92, 237);
    color: white;
    font-size: 24px;
    padding:20px;
    display:block;
    text-align:center;
    width:340px;
    margin-left:auto;
    margin-right:auto;
    font-weight:bold;
    text-decoration:none;
    text-transform:uppercase;
    letter-spacing:13px;
    border-radius:50px;
    border-bottom:7px solid rgb(37, 36, 36);
    transform: translateY(10px);
    transition-property: all;
    transition-duration: 300ms;
    opacity:.5;
    animation-name: moving-button;
    animation-duration: 10s;
    animation-iteration-count:infinite ;
    animation-timing-function: ease-in-out;
    animation-direction: reverse;

}

.button:hover {
    background-color: rgb(255,0,255);
    color: black;
    width:300px;
    opacity:1;

}

.button:active {
    background:black;
    color:rgb(255,0,255);
    border-bottom: 0px;
    transform: translateY(10px);

}

.main-content img {
    width:90%;
    margin-left: auto;
    margin-right:auto;
    display:block;
    margin-bottom:20px;

}

.main-content img:last-child {
    margin-bottom: 0px;
}

.main-content img:first-child {
    display:none;
}

.main-content img:nth-child(3) {
    width:40%;
}

.main-header h1 {
    animation-name: popinheader;
    animation-duration: 1s;
}
.main-header h2 {
    animation-name: popinheader;
    animation-duration: 1s;
    animation-delay: .7s;
    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: #000000; width: 300px;}
    25% {transform: translateX(-200px); background-color:rgb(3, 255, 37); width: 400px;}
    50% {transform: translateX(0); background-color: #000000; width: 300px;}
    75% {transform: translateX(200px); background-color: rgb(68, 0, 255); width: 400px;}
    100% {transform: translateX(0); background-color: #000000; width: 300px;}
}


