@import url('https://fonts.googleapis.com/css?family=Poppins:900i');

* {
box-sizing: border-box;
}

body {
position: relative;
background-image: url("pizzaclub.jpeg");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
margin: 0;
height: 100vh; 
display: flex;
align-items: center;
flex-direction: column;
}


.pizzainfo {
    top: 490px; 
    left: 50%;
    width: 1000px;
    height: 100px;
    background-color: #060606;
    border: 2px solid #0b0a0a;
    padding: 0.1px;
    font-family: monospace; 
    color: white; 
    font-size: 24px;
    text-align: justify;
    opacity: 0.7;
    margin-top: 70px;
    text-align: center;
    
}

.pizza {
animation: color-animation 1s linear infinite;
}
.p {
--color-1: #DF8453;
--color-2: #3D8DAE;
--color-3: #E4A9A8;
}
.i {
--color-1: #DBAD4A;
--color-2: #ACCFCB;
--color-3: #17494D;
}
.z {
--color-1: #ACCFCB;
--color-2: #E4A9A8;
--color-3: #ACCFCB;
}
.z2 {
--color-1: #3D8DAE;
--color-2: #DF8453;
--color-3: #E4A9A8;
}
.a {
--color-1: #DF8453;
--color-2: #3D8DAE;
--color-3: #E4A9A8;
}
.space {
--color-1: #DBAD4A;
--color-2: #ACCFCB;
--color-3: #17494D;
}
.c {
--color-1: #ACCFCB;
--color-2: #E4A9A8;
--color-3: #ACCFCB;
}
.l {
--color-1: #DF8453;
--color-2: #3D8DAE;
--color-3: #E4A9A8;
}

.u {
--color-1: #3D8DAE;
--color-2: #DF8453;
--color-3: #E4A9A8;
}
.b {
--color-1: #DBAD4A;
--color-2: #ACCFCB;
--color-3: #17494D;
}
.start:hover {background-color: #1dc822}
.start:active {
background-color: #3e8e41;
}
@keyframes color-animation {
0% {color: var(--color-1)}
32% {color: var(--color-1)}
33% {color: var(--color-2)}
65% {color: var(--color-2)}
66% {color: var(--color-3)}
99% {color: var(--color-3)}
100% {color: var(--color-1)}
}
.container {
top: 0;
left: 80%;
}
.title {
font-family: "Montserrat", sans-serif;
font-weight: 800;
font-size: 8.5vw;
text-transform: uppercase;
background-color: rgb(253, 254, 254);
opacity: 0.8;
border: 2px solid black;
border-radius: 35px;
}

h2 {
    display: block;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.wrapper {
    top: 330px;
    left: 50%;
    display: flex;
    justify-content: center;

}

.cta {
    display: flex;
    padding: 10px 45px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    color: white;
    background: #6225E6;
    transition: 1s;
    box-shadow: 6px 6px 0 black;
    transform: skewX(-15deg);
}

.cta:focus {
    outline: none; 
}

.cta:hover {
    transition: 0.5s;
    box-shadow: 10px 10px 0 #FBC638;
}

.cta span:nth-child(2) {
    transition: 0.5s;
    margin-right: 0px;
}

.cta:hover  span:nth-child(2) {
    transition: 0.5s;
    margin-right: 45px;
}

    span {
    transform: skewX(15deg) 
    }

    span:nth-child(2) {
    width: 20px;
    margin-left: 30px;
    position: relative;
    top: 12%;
    }
    
/**************SVG****************/

path.one {
    transition: 0.4s;
    transform: translateX(-60%);
}

path.two {
    transition: 0.5s;
    transform: translateX(-30%);
}

.cta:hover path.three {
    animation: color_anim 1s infinite 0.2s;
}

.cta:hover path.one {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.6s;
}

.cta:hover path.two {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.4s;
}

/* SVG animations */

@keyframes color_anim {
    0% {
        fill: white;
    }
    50% {
        fill: #FBC638;
    }
    100% {
        fill: white;
    }
}
