html{
    padding: 0;
    border: 0;
    margin: 0;
}
body{
    background-image: linear-gradient(rgb(21, 32, 58), rgb(11, 15, 26));
    padding: 0;
    margin: 0;
    font-family: MontserratThin;
    color: antiquewhite;
}

a{
    color: inherit;
    text-decoration: none;
}

h1, h2, h3{
    font-weight: inherit;
}

hr{
    background-color: rgba(105, 52, 0, 1);
    height: 3px;
    border: none;
}



@font-face{
    font-family: YoungSerif-Regular;
    src: url(assets/font/YoungSerif-Regular.ttf);
}
@font-face{
    font-family: MontserratThin;
    src: url(assets/font/Montserrat-Thin.ttf);
}
@font-face{
    font-family: MontserratBold;
    src: url(assets/font/Montserrat-Bold.ttf);
}
@font-face{
    font-family: MontserratRegular;
    src: url(assets/font/Montserrat-Regular.ttf);
}



#header{
    margin: 5px;
    display: flex;
}
#header div{
    background-color: rgba(0, 0, 0, 0);
    margin-left: auto;
    display: flex;
    justify-content: space-evenly;
}
#header div h3{
    margin-top: 10px;
    margin-right: 10px;
    font-weight: bold;
}



#slideshow{
    margin: 0 auto;
    width: 500px;
    text-align: center;
}
.slideshowImages{
    width: 500px;
}
#slideshowImageContainer{
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
}
@keyframes slideshow{
    0%, 10%, 20%, 100% {left: 0px;}
    30%, 40%, 50% {left: -500px;}
    70%, 80%, 90% {left: -1000px;}
}
#slideshowImageContainer img{
    position: relative;
    animation-name: slideshow;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    animation-play-state: running;
    /* This apparently keeps the images from being streched
    and loosing aspect ratio */
    align-self: center;
}
#slideshowImageContainer:hover{
    transition: 0.5s;
    scale: 1.1;
}



#logo{
    margin: 40px;
    text-align: center;
}
#logo h1{
    font-family: MontserratRegular;
}
#logoImages{
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 20px;
    column-gap: 20px;
}
#logoImages div{
    /* background-color: rgba(21, 32, 58, 0.7); */
    max-width: 250px;
    min-width: 250px;
    height: 200px;
    flex-basis: 25%;
    border-radius: 20px;
    box-shadow: 0 0 0 3px rgba(105, 52, 0, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}
#logoImages div img{
    max-width: 95%;
    max-height: 95%;
}
#logoImages div img:hover{
    transition: 0.5s;
    scale: 1.4;
}



#portfolio{
    margin: 40px;
    text-align: center;
}
#portfolio h1{
    font-family: MontserratRegular;
}
#portfolioImages{
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 20px;
    column-gap: 20px;
}
#portfolioImages div{
    max-width: 250px;
    min-width: 250px;
    height: 200px;
    flex-basis: 25%;
    border-radius: 20px;
    box-shadow: 0 0 0 3px rgba(105, 52, 0, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}
#portfolioImages div img{
    max-width: 95%;
    max-height: 95%;
}
#portfolioImages div img:hover{
    transition: 0.5s;
    scale: 1.4;
}



#footer{
    margin: 40px;
    color: antiquewhite;
}
#footer pre span{
    font-size: 15px;
    font-family: MontserratThin;
}



@media screen and (max-width: 610px){
    #slideshow{
        margin: 0 auto;
        width: 400px;
        text-align: center;
    }
    #slideshowImageContainer{
        display: flex;
        overflow: hidden;
        scroll-behavior: smooth;
    }
    @keyframes slideshow{
        0%, 10%, 20%, 100% {left: 0px;}
        30%, 40%, 50%, 60% {left: -400px;}
        70%, 80%, 90% {left: -800px;}
    }
    .slideshowImages{
        width: 400px;
        position: relative;
        animation-name: slideshow;
        animation-duration: 10s;
        animation-iteration-count: infinite;
        animation-play-state: running;
    }
}



@media screen and (max-width: 430px){
    #footer{
        margin: 20px;
    }
    #footer pre span{
        font-size: 13px;
    }
}