@keyframes slide {
	0% {
		translate: 0px -1000px;
        transform: scale(0, .025);
	}
}

@media (prefers-reduced-motion: no-preference) {
    .cards {
       animation: slide 0.7s ease-in-out;
    }
    .cardsImages {
        animation: slide 0.7s ease-in-out;
    }
    .cardsApps {
        animation: slide 0.7s ease-in-out;
    }
    .cardsShortcuts {
        animation: slide 0.7s ease-in-out; 
    }
    .cardsWebsites {
        animation: slide 0.7s ease-in-out; 
    }
}

.title{
    text-align: center;
    font-size: 50px;
    text-shadow: 5px 5px 15px black;
}

.images{
    margin-bottom: -10px;

    /* smooth animations */
    transition: translate 0.3s ease;
}

.images:hover{
    translate: 0px 10px;
}

.icons {
    width: 50px; 
    height: auto; 
    padding: 50px;

    margin-bottom: -10px;

    /* smooth animations */
    transition: translate 0.3s ease;
}

.icons:hover{
    translate: 0px 10px;
}

.cards{
    background: #2c3aff;
    margin: 100px auto 0;
    border-radius: 35px;
    padding: 40px 35px;
    margin-right: 30px;
    margin-left: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;

    box-shadow: 5px 5px 15px black;

    /* smooth animations */
    transition: transform 0.3s ease;
}

/* hover animation */
.cards:hover{
    transform: scale(1.04);
    scroll-behavior: smooth;
}

.cardsShortcuts{
    background: #e40066;
    margin: 100px auto 0;
    border-radius: 35px;
    padding: 40px 35px;
    margin-right: 30px;
    margin-left: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;

    box-shadow: 5px 5px 15px black;

    /* smooth animations */
    transition: transform 0.3s ease;
}

.cardsImages{
    background: #2c3aff;
    margin: 100px auto 0;
    border-radius: 35px;
    padding: 0px 35px;
    margin-right: 30px;
    margin-left: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;

    box-shadow: 5px 5px 15px black;

    /* smooth animations */
    transition: transform 0.3s ease;

    /* hover animation hide when under div */
    overflow: hidden;
}

.cardsWebsites{
    background: #22ae3e;
    margin: 100px auto 0;
    border-radius: 35px;
    padding: 0px 35px;
    margin-right: 30px;
    margin-left: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;

    box-shadow: 5px 5px 15px black;

    /* smooth animations */
    transition: transform 0.3s ease;

    /* hover animation hide when under div */
    overflow: hidden;
}

.cardsApps{
    background: #c31de8;
    border-radius: 35px;
    padding: 0px 35px;
    margin-right: 30px;
    margin-left: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;

    box-shadow: 5px 5px 15px black;

    /* smooth animations */
    transition: transform 0.3s ease;

    /* hover animation hide when under div */
    overflow: hidden;
}

/* put the text on the left in lists */
ul {
    text-align: left;
}

/* computers */
@media not (max-width: 1000px){
    .programming-projects {
        display: flex;
        /* To put the cards on multiple lines */
        flex-wrap: wrap;
    }
}

/* mobile and tablets */
@media (max-width: 1000px){
    h1 {
        font-size: 200%;
    }
    h2 {
        font-size: 200%;
    }
    p {
        font-size: 200%;
    }
    li {
        font-size: 200%;
    }
    .images {
        width: 50%;
        height: auto;
    }
    .icons {
        width: 20%;
        height: auto;
    }
}

body{
    background-image: url("images/BackgroundImage.webp");
    color: #ffffff;
    font-family: 'Arial';
}