
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,700&family=Roboto+Slab:wght@600&family=Rye&display=swap');



body {
    margin: 0;
    background-image: radial-gradient(#270a0a , #000000 );
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;

}

.header {
    width: 100%;
    height: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 40px;
    padding-right: 40px;
    border-bottom: 1px solid red;
}
.header button {
    font-size: large;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: transparent;
    border: 0;
}


.header a:visited {
  color: #c0392b;
}


.header a:hover {
  color: #ff0000; 
}
.intro {
    width: 100%;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.red-dead {
    width: max-content;
    height: max-content;

}

.redemption {
    width: max-content;
    height: max-content;   
}


.number {
    width: 150px;
    height: 200px;
}
#red {
    width: 200px;
    animation: fromleft;
    animation-duration: 2s ;
}
#dead {
    width: 255px;
    animation: fromup;
    animation-duration: 2s  ;
}
#redemption {
    width: 460px;
    animation: fromdown;
    animation-duration: 2s;
}
#two {
    margin-left: 10px;
    width: 130px;
    animation: fromright;
    animation-duration: 5s;
}
@keyframes fromright {
    from {
        transform: translateX(500px);
        scale: 2;

    }
    to {
        transform: translateX(0);
        scale: 1;
    }
}
@keyframes fromleft {
    from {
        transform: translateX(-500px);
        scale: 2;

    }
    to {
        transform: translateX(0);
        scale: 1;
    }
}
@keyframes fromup {
    from {
        transform: translateY(-500px);
        scale: 2;

    }
    to {
        transform: translateY(0);
        scale: 1;
    }
}
@keyframes fromdown {
    from {
        transform: translateY(500px);
        scale: 2;

    }
    to {
        transform: translateY(0);
        scale: 1;
    }
}

.container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    olor: green;
    

}
.info {
    width: 40%;
    min-width: 600px;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;   
}
.name {
    width: 400px;
    height: max-content;
    line-height: 1.1;
    letter-spacing: 2px;
    font-size: 70px;
    font-family: 'Rye', cursive;
    text-transform: uppercase;
    color: rgb(0, 0, 0);
    border-bottom: 2px solid rgb(220, 129, 32);
}
.name span {
    font-size: 60px;
}

.about {
    color: rgba(109, 116, 123, 0.856);
    font-family:'Roboto Slab', serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 1px;
    text-transform: uppercase;
    
}
.bio {

    color: rgba(179, 160, 38, 0.81);
    font-family: 'Crimson Text', serif;
    font-size: 22px;
    line-height: 1.5;
}
.photo {
    width: max-content;
    height: 100vh;
    -color: blue;

}
.photo #image {
    height: 99%;
    animation: zoomin;
    animation-timeline: view();
    animation-range:  entry 0% cover 100vh;

}


@keyframes zoomin {
    from{
        transform: translateX(+100px);
        filter: blur(5px) saturate(0) contrast(4) brightness(.1);
    }
    to {
        transform: translateX(0);
        filter: none;
    }
}
.name {
    color: #f4ebd060;
}

.about {
    color: #a47b23;
}

.bio {
    color: #e6e6e6;
}


.container.alt {
    flex-direction: row-reverse;
    text-align: end;
}
.container.alt .info {
    align-items: end;

}

.container.alt .photo #image {
    animation: zoomin2;
    animation-timeline: view();
    animation-range:  entry 0% cover 100vh;
}
@keyframes zoomin2 {
    from{
        transform: translateX(-100px);
        filter: blur(5px) saturate(0) contrast(1) brightness(.1);

    }
    to {
        transform: translateX(0);
        filter: none;
    }
}
.highlighted {
    color: rgba(242, 19, 19, 0.633);
}
.othercharacters {
    margin-top: 200px;
    width: 100%;
    height: 100px;
    text-align: center;
    font-size: 70px;
    font-family: 'Times New Roman' ;
    font-weight: 600;
    color: red;
    border-bottom: 2px solid red;
}
.grid {
    height: max-content;
    width: 100%;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 50px;
    padding-top: 50px;

}
.smallbox {
    width: 380px;
    height: 230px;
    position: relative;
    z-index: 9;
    clip-path: inset(0 0 0 0);
    transition: z-index 1.15s step-end, clip-path 1.15s ease;
   
}
.smallbox:hover{
    clip-path: inset(-200px 0 0 0);
    z-index: 10;
    transition: z-index 0s, clip-path 0s;
}
.smallimg {
    width: 100%; 
    transition: transform 1.15s ease;
    display: block;
}


.smallbox:hover .smallimg{
    transform: translateY(-50px) ;
}
.smallname {
    z-index: 8;
    font-size: 35px;
    position: absolute;
    color: #b80000b6;
    top: 250px;
    left: 90px;
    transition: transform 1.15s ease;

    font-weight: 900; 
    letter-spacing: 1px;

    -webkit-text-stroke: 1.5px #000000;

    text-shadow: 
        3px 3px 5px rgba(0, 0, 0, 0.9),
        0px 0px 15px rgba(0, 0, 0, 0.7);

}
.smallbox:hover .smallname {
     transform: translateY(-70px) scale(1); 
}
        .container-main {
            display: flex;
            position: relative;
            width: 100%;
            height: 100vh;
            overflow: hidden;
        }
        .image-background {
            height: 100vh;
            position: sticky;
            z-index: 1;
            top: 0;
        }
        .image-main {
            z-index: 200;
            position: sticky;
            width: 800px;
            height: 100vh; 
            left: 500px;
            top: 0; 
            overflow: hidden;     
        }
        #image-train {
            position: absolute;
            left: 0;
            height: 100vh;
            animation-name: movingleft;
            animation-duration: 40s ;
            animation-iteration-count: infinite;
            animation-timing-function: linear;

        }
        @keyframes movingleft {
            0% {
                transform: translateX(-90px);
            }
            50% {
                transform: translateX(-380px);
            }
            100% {
                transform: translateX(-90px);
            }
        }
        .space-empty {
            height: 100vh;
        }
        #image-arthur {
            width: 600px;
        }