@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Play:wght@400;700&display=swap');

@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes movement {
    from {
        transform: translateX(-200%);
    }
    to {
        transform: translateX(200%);
    }
}

.headwrapper {
    display: flex;
    position: fixed;
    top:0;
    left: 0;
    right: 0;
    height: 50px;
    background-color: #50C878;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(100, 100, 100, 0.402);
    box-shadow: inset 0px 0px 4px rgba(0, 0, 0, 0.441);
    z-index: 100;
}

#headerlogo {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    margin-left: 8px;
    margin-right: 8px;
}

#barname {
    color: #fff;
    font-size: 1.2rem;
    margin-right: 10px;
    font-family: Play,Poppins,Verdana,Tahoma,Arial;
    font-weight: 600;
    margin-left: 10px;
}

.announcements {

    display: flex;
    flex:1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    border-right: 1px solid rgba(0, 0, 0, 0.158);
    border-left: 1px solid rgba(0, 0, 0, 0.158);
    overflow: hidden;
    white-space: nowrap;
}

.announcementtitle {
    color:rgb(255, 255, 255);
    animation-name: movement;
    animation-duration: 40s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    margin-bottom: 10px;
}

.slideshow-container {
    width: 90vw;
}

.slide {
    height: 35vw;
}

.fade {
    animation: fade 1s ease-in-out 0s 1;
}

.works-section {
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 0;
}

.works-section img {
    width: 100%;
    box-shadow: 1px 1px 7px black;
}


.dots {
    margin-top: 10px;
    width: 10px;
    height: 10px;
    display: inline-block;
    background-color: black;
    border-radius: 50%;
    cursor: pointer;
    z-index: -1;
}

.changeBackgroundColor {
    background-color: rgb(186, 186, 186);
}

h1,h2 {
    overflow: hidden;
}

.underlines {
    position: relative;
    overflow: hidden;
    z-index: -100;
}

.underlines::after {
    position: absolute;
    content: '';
    border-bottom:5px double orange;
    height: 1px;
    width: 100vw;
    left:104%;
    bottom:0;
}

.underlines::before {
    position:absolute;
    content: '';
    border-bottom: 5px double orange;
    height:1px;
    width:100vw;
    right:105%;
    bottom: 0;
}

footer {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #3b9158;
    color: white;
    height: 100%;
    padding: 10px 20px;
}

.top-section {
    display: flex;
    justify-content: space-between;
}

.bottom-section {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

ul {
    margin-top: 7px;
    padding-left: 15px;
    list-style: square;
}

.socialmedia-links {
    color: #fff;
    text-decoration: underline;
    font-style: normal;
    transition: color, 0.15s;
}

.socialmedia-links:hover {
    color: rgba(255, 255, 255, 0.752);
}

.socialmedia-links:active {
    opacity: 0.4;
} 

#copyright {
    font-size: 0.7rem;
}

#credits {
    font-size: 0.7rem;
}

@media (max-width: 772px) {
    .top-section {
        flex-direction: column;
    }

    .right-section {
        margin-top: 15px;
    }

    .mid-section {
        margin-top: 15px;
    }
}