@keyframes slideleft {
    from { background-position-x: 0%; background-position-y: 0%; }
    to { background-position-x: 250%; background-position-y: 1000%;} 
}

@keyframes wiggle{
    0% {right: 0%; rotate: 0deg;}
    25% {right: 2%;rotate: 5deg;}
    50% {right: 0%;rotate: 0deg;}
    75% {right: -2%;rotate: -5deg;}
    100% {right: 0%;rotate: 0deg;}
}

@keyframes wiggle2{
    0% {right: 0%; rotate: 0deg;}
    25% {right: 0%;rotate: 0.5deg;}
    50% {right: 0%; rotate: 0deg;}
    75% {right: 0%;rotate: -0.5deg;}
    100% {right: 0%;rotate: 0deg;}
}

@keyframes rotate{
    from { rotate: 0deg;}
    to {rotate: 360deg;}
}

@keyframes donAnimation{
    0% {right: 0px;}
    50% {right: 5px;}
    100% {right: 0px;}
}



*{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body{
    animation: slideleft linear infinite 60s;
    background-blend-mode: overlay;
    background-size:cover;
    background-size: 25%;
    background-image: url(Assets/beautiful-blue-stars-fill.jpg);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 200px 1fr 100px;
    grid-template-areas: 
    "header "
    "main"
    "footer";
}

.Navbar{
    display: flex;
    align-self: flex-start;
    width: fit-content;
    display: flex;
}
.Icon{
    flex:auto;
    width: 200px;
    height: 200px;
    animation: rotate linear infinite 60s;
}

header{
    grid-area: header;
    height: 125px;
    background-color: rgb(255, 255, 255);
    box-sizing: border-box;
    border: 10px black solid;
    border-radius: 20px;
}
.title{
    color: rgb(0, 0, 0);
    vertical-align:text-top;
}
.image{
    width: 75%;
    animation: wiggle linear infinite 60s;
    position: relative;
}
.Card{
    position: relative;
    animation: wiggle2 linear infinite 15s;
    width:fit-content;
    background-color: rgb(251, 251, 251);
    border-radius: 25px;
    margin: 10px;
    text-align: center;
    flex-wrap: wrap;
    padding: 5%;
    box-sizing: border-box;
    border: solid black 10px;
}
.Card2{
    position: relative;
    width:fit-content;
    background-color: rgb(251, 251, 251);
    border-radius: 25px;
    margin: 10px;
    text-align: center;
    flex-wrap: wrap;
    padding: 5%;
    box-sizing: border-box;
    border: solid black 10px;
}
.center{
    display: flex;
    justify-content: center;
}
.gridsocials{
    display: grid;
    grid-template-columns: 110px 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-areas: 
    "socialicon sociallink"
    "socialicon2 sociallink2"
    "socialicon3 sociallink3";
}
/*Button code*/
.button{
    margin: 1%;
    padding: 15px 20px;
    display:inline-block;
    text-align: center;
    padding:5%;
    flex:auto;
    box-sizing: border-box;
    border-radius: 30px;
    flex-direction: column;
    transition: ease 0.5s;
    border: solid 5px black;
    width:100%;
}
/*Specialized button code*/
.button:hover{
    transform: scale(105%);
    transition: ease .25s;
    color: white;
    background-color: rgb(30, 30, 30);
}
.idtButton:hover{
    transition: ease 0.25s;
    color: white;
    background-color: rgb(115, 34, 130);
}
/*The code for the buttons for my socials*/
.sociallink{
    grid-area: sociallink;
    margin: 10px;
    box-sizing: border-box;
    width:auto;
}
.sociallink:hover{
    background-color: rgb(255, 0, 13);
    color: white;
}
.socialicon{
    width: 100px;
    grid-area: socialicon;
    padding: 5px;
}
.sociallink2{
    grid-area: sociallink2;
    display: flexbox;
    margin: 10px;
    box-sizing: border-box;
    width:auto;
}
.sociallink2:hover{
    background-color: rgb(0, 0, 0);
    color: white;
}
.socialicon2{
    width: 100px;
    grid-area: socialicon2;
    padding: 5px;
}
.sociallink3{
    grid-area: sociallink3;
    margin: 10px;
    box-sizing: border-box;
    width:auto;
}
.sociallink3:hover{
    background-color: rgb(34, 136, 189);
    color: white;
}
.socialicon3{
    width: 100px;
    grid-area: socialicon3;
    padding: 5px;
}

/*This is old stuff from website 1.0*/
#don {
    border-radius: 10px;
    float:right;
    position: relative;
    margin: 10px;
    animation-name:donAnimation;
    animation-iteration-count: infinite;
    animation-duration: 0.1s;
    clear: left;
}
