@import url(reset.css);
/*main styles*/

*, *::before, *::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-weight: 500;
    font-size: 28pt;
}

html {
    scroll-behavior: smooth;
}

.wrapper {
    box-sizing: content-box;
    height: 40px;
    display: flex;
    margin-top: 0.5em;
    animation: right 1.5s ease;
}
@keyframes right {
    0%{
        opacity: 0;
        transform: translateX(-110px);
    }
    100%{
        opacity: 1;
        transform: translateY(0px); 
    }
}

.words {
    overflow: hidden;
}

span {
    display: block;
    height: 100%;
    padding-left: 10px;
    animation: spin_words 8s infinite;
}

@keyframes spin_words {
    10% {
        transform: translateY(-112%);
        color: #e1fa00;
    }
    25% {
        transform: translateY(-100%);
        color: grey;
        
    }
    35% {
        transform: translateY(-212%);
        color: #e1fa00;
    }
    50% {
        transform: translateY(-200%);
        color: grey;
    }
    60% {
        transform: translateY(-312%);
        color: #e1fa00;
    }
    75% {
        transform: translateY(-300%);
        color: grey;
    }
    85% {
        transform: translateY(-412%);
        color: #e1fa00;
    }
    100% {
        transform: translateY(-400%);
        color: grey;
    }
}

.top {
    background: linear-gradient(35deg,#000000,#570202, #2e2e2e);
    background-image: url(images/blackBall.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.inner {
    background: rgba(0, 0, 0, 0.74);
}

.info {
    padding: 2em;
    background-image: url(images/nkosiyapha\ logo.png);
    z-index: 0;
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: drop 1.5s ease;
}
@keyframes drop {
    0%{
        opacity: 0;
        transform: translateY(-110px);
    }
    100%{
        opacity: 1;
        transform: translateY(0px); 
    }
}


blockquote {
    color: #858585;
    width: 50%;
    margin: 7em 0;
    line-height: 1rem;
    font-size: 12pt;
    text-align: left;
    font-family: monospace;
    animation: up 2s ease;
}
@keyframes up {
    0%{
        opacity: 0;
        transform: translateX(200px);
    }
    100%{
        opacity: 1;
        transform: translateX(0px); 
    }
}

blockquote::before,blockquote::after {
    content: open-quote;
    font-weight: bold;
    color: #858585;
    font-family:sans-serif;
}
blockquote::after{
    content: close-quote;
}

.down {
    display: flex;
    text-align: center;
    align-content: center;
    margin-bottom: 0.5rem;
}
.down>a {
    border-radius: 2ch;
    border: 1px solid rgb(88, 88, 88);
    color: #858585;
    padding: 1em;
    display: flex;
    justify-content: center;
    align-content: center;
}

.down>a:hover {
    transition: 0.14s;
    border: 1px solid #e1fa00;
    color: #e1fa00;
}

@media (max-width: 680px) {
    .wrapper {
        margin-top: 0.62rem;
    }
    .wrapper>h1, .wrapper>h1::before, span {
        font-size: 14pt;
    }
    .inner {
        height: 100%;
    }
    .info {
        align-items: center;
    }
    blockquote {
        margin: 2rem 0;
        margin-bottom: 2rem;
        width: 90%;
    }
}

/*contents*/

.contents, .more>p {
    font-size: 12pt;
    padding: 1rem;
    text-align: left;
}

.contents {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    background:linear-gradient(to left,#000000,#272727, #000000);
    animation: left .5s ease;
}
@keyframes left {
    0%{
        opacity: 0;
        transform: translateY(-100px);
    }
    100%{
        opacity: 1;
        transform: translateY(0px); 
    }
}

.content {
    width: 30%;
    margin: 0.5rem;
    background: rgba(0, 0, 0, 0.171);
}

.more {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.more>p{
    text-align: center;
}

.image {
    width: 100%;
    height: 300px;
    background-image: url(images/Nkosiyapha.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter:grayscale(0)
}
.image:hover {
    box-shadow: 1px 1px 5px solid #000;
    transition: 0.5s;
    filter:grayscale(1)
}

.img-one,.img-eleven,.img-twelve{
    background-size: contain;
}


.contents>.content:first-child{
    display: none;
}

.img-two {
    background-image: url(images/b.jpg);
}

.img-three {
    background-image: url(images/c.jpg);
}

.img-four {
    background-image: url(images/d.jpg);
}

.img-five {
    background-image: url(images/i.jpg);
}

.img-six {
    background-image: url(images/e.jpg);
}

.img-seven {
    background-image: url(images/t.jpg);
}

.img-eight {
    background-image: url(images/j.jpg);
}

.img-nine {
    background-image: url(images/x.jpg);
}

.img-ten {
    background-image: url(images/y.jpg);
}

.img-eleven {
    background-image: url(images/nkosiyapha\ web.png);
}
.img-twelve {
    background-image: url(images/joemac.png);
}
footer{
    padding-top: 80px;
}
footer>p{
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: center; 
    font-size: 12pt;
    padding: 1em;
}


@media (max-width:1008px) {
    .content {
        width: 100%;
    }
}

@media (max-width:500px) {
    .content {
        width: 100%;
    }
    footer>p{
        font-size: 8pt;
    }
    
}
