@font-face {
  font-family: 'Pixel';
  src: url('ibm_vga8.woff2');
}

@keyframes cursor {
    0% {cursor: url(./Cursors/Wait/Wait_page_01.png), wait;}
    20% {cursor: url(./Cursors/Wait/Wait_page_02.png), wait;}
    40% {cursor: url(./Cursors/Wait/Wait_page_03.png), wait;}
    60% {cursor: url(./Cursors/Wait/Wait_page_04.png), wait;}
    80% {cursor: url(./Cursors/Wait/Wait_page_05.png), wait;}
    100% {cursor: url(./Cursors/Wait/Wait_page_06.png), wait;}
}

h1 {
    font-size: 50px;
}

h1, h2, h3, h4, h5, h6, p, span {
    cursor: url('./Cursors/IBeam.png'), auto;
    margin: 0;
}   

a {

    
    font-size: 1.2rem;
    &:focus {
        cursor: url(frame1.png), auto;
        -webkit-animation: cursor 400ms infinite;
        animation: cursor 400ms infinite;
        p {
            cursor: url(frame1.png), auto;
        -webkit-animation: cursor 400ms infinite;
        animation: cursor 400ms infinite;
        }
    }
    &:hover {
        cursor: url("./Cursors/hand.png"), auto;
        p {
            cursor: url("./Cursors/hand.png"), auto;
        }
    }
}

html {
    color: white;
    font-family: Pixel;
    background: url('./rainbow.png') repeat 100%;
    padding: 10%;
    cursor: url("./Cursors/arrow.png"), auto;
   



    body {
      
        
        header {
           
            
   

            nav {

                
                height: fit-content;
                display: grid;
                background-color: #401951;
                grid-template-columns: 3fr 5fr 8fr;

                .links {
                    
                    height: 100%;
                    width: 100%;
                    display: flex;
                    grid-column-start: 3;
                }

                a {
                     
                    margin: auto;
                    width: 100%;
                    height: 100%;
                    background-color: #401951;
                    border-left: 2px #894B92 solid;
                    border-top: 0;
                    border-bottom: 0;
                    color: white;
                    text-decoration: none;
                    align-content: center;
                    text-align: center;
                    transition-duration: 300ms;

                    p {
                        transition-duration: 300ms;
                    }
                   &:hover {
                    background-color: #512066;
                    p {
                        rotate: 5deg;
                    }
                   }
                }

                a:last-child
                {
                    border-right: 2px #894B92 solid;
                }

                img {
                    width: 100%;
                    height: 100%;
                    border-right: 2px #894B92 solid;
                    
                }
            }
           
        

            .window {
                 overflow: hidden;
                display: flex;
                border: 2px #894B92 solid;
                border-radius: 3px 3px 0 0;
                justify-content: space-between;
                
                .title {
                    align-content: center;
                    color: white;
                    font-size: 25px;
                }

                .window_buttons {
                    display: flex;
                    justify-content: end;
                  
                }
                background-color: #790e87;
           
                padding: 5px 5px;
                img {
                    width: 24px;
                    height: 24px;
                    pointer-events: none;
                    margin: 1px;
                    box-shadow: 1px 1px 5px #67596A;
                }
            }
        }

        main {
            transition: all 300ms;
            display: flex;
            flex-direction: column;
            gap: 20px;
            padding: 20px;
            background-color: #401951;
            border: 2px #894B92 solid;
            border-radius: 0 0 3px 3px;
            .header {
                color: white;
                border: 2px #894B92 solid;
                background-color: #790e87;
                text-align: center;
                padding: 20px;
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            .main {
                color: white;
                border: 2px #894B92 solid;
                background-color: #790e87;
                text-align: center;
                padding: 20px;
                display: flex;
                flex-direction: column;
                align-items: center;
                
            }
        }
    }
}