* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    font-family: Arial, Helvetica, sans-serif;
}

html {
    background-color: bisque;
    --dark-color: rgb(48, 10, 10);
}

#test-1-content p {
    margin-top: 2rem;
}

header {
    padding: 2rem;
    text-align: center;
    border-bottom: 3px solid var(--dark-color);
    background-color: antiquewhite;
}

main {
    display: flex;
    flex-direction: column;
}

.testarea {
    width: 90vw;
    height: auto;
    border: 3px solid var(--dark-color);
    border-radius: 20px;
    margin: 5%;
    display: flex;
    flex-direction: column;
    padding: 5%;
    justify-content: center;
    align-items: center;
    background-color: beige;
}

/*Layout test*/

#test-1 {
    border: 3px solid var(--dark-color);
    border-radius: 20px;
    width: 90%;
    height: auto;
    padding: 5%;
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto 500px auto;
    grid-template-areas: 
    'test-1-header test-1-header test-1-header test-1-header test-1-header test-1-header'
    'test-1-nav test-1-content test-1-content test-1-content test-1-content adbar-1'
    'test-1-footer test-1-footer test-1-footer test-1-footer test-1-footer test-1-footer'
   ;
}

#test-1 > div {
    border: 1px solid;
    padding: 1.5rem;
}

#test-1-header {
    grid-area: test-1-header;
    text-align: center;
    height: 6rem;
}

#test-1-nav-container {
    grid-area: test-1-nav;
}

#test-1-content {
    grid-area: test-1-content;
    overflow-y: scroll;
}

#adbar-1 {
    grid-area: adbar-1;
}

#test-1-footer {
    grid-area: test-1-footer;
    text-align: center;
}

#fake-ad {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

#fake-ad-image {
    padding-bottom: 15px;
    width: 90%;
    height: 80%;
    border: 1px solid;
    background-color: white;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

#face {

    background-color: yellowgreen;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    z-index: 0;
    position: absolute
}

#eye-right {
    background-color: black;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 5px;
}

#eye-left {
    background-color: black;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    right: 5px;
}

#smile {
    border: 1px solid black;
    border-color: transparent transparent black transparent;
    border-radius: 50%;
    height: 9px;
    width: 30px;
    top: 15px;
    position: absolute;
    left: 10px;
    z-index: 3;
    
}

#the-square {
    width: 90%;
    height: 50%;
    align-self: center;
    overflow-y: hidden;
    overflow-x: hidden;
}

#square-colors {
    height: 100%;
    width: 100%;
    animation: square 3s linear infinite;
    background-image: linear-gradient(
    90deg,
     red,
     orange, 
     yellow, 
     limegreen, 
     cyan, 
     blue, 
     purple, 
     violet);
}

@keyframes square {
    0% {
        filter: hue-rotate(0deg);
    }
    500% {
        filter: hue-rotate(180deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

#test-2 button {
    padding: 1rem;
    border-radius: 25px;
    margin: 1rem;
    border: 3px solid;
}

#test-2 button:hover {
    cursor: pointer;
    border: 4px solid;
}