body{
    background: rgba(0,0,0, 0.9);
    margin: 0;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    animation: transitionIn .5s;
}

@keyframes transitionIn {

    from{
        opacity: 0;
        transform: translateY(-10px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }

}


.main::after {
    content: '';
    background-image: url("../img/doctorbg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 70vh;
    width: 100%;
    display: block;
    text-align: center;
    filter: blur(4px);
    -webkit-filter: blur(4px);
    transition: all 1000ms;
}

.main:hover::after{
    filter: blur(0px);
    -webkit-filter: blur(0px);
}

.content{
    margin-top: 105px;
    height: 350px;
    width: 800px;
    text-align: center;
}

.main h2{
    font-weight: bold;
    font-size: 60px;
    text-align: center;
}

.grid-3{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 0;
}

.center {
    text-align: center;
    margin: auto;
}

.bg-light{
    background: #f4f4f4;
    color: #333;
}

.bg-dark{
    background: #333;
    color: #f4f4f4
}

.obr{
    width: 60%;
    height: 40vh;
    transition: all 1000ms;
}
.mine:hover{
    cursor: pointer;
    color: #333333;
    opacity: 0.4;
}

.mine{
    background-image: url("../img/minecraft.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 35vh;
    transition: opacity 1000ms;
    position: relative;
}

.scp{
    transition: opacity 1s;
    background-image: url("../img/scp.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 35vh;
    position: relative;
}

.fivem:hover{
    cursor: pointer;
    color: #333333;
    opacity: 0.4;
}

.fivem{
    transition: opacity 1s;
    background-image: url("../img/csgo.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 35vh;
    position: relative;
}

.csgo:hover{
    cursor: pointer;
    color: #333333;
    opacity: 0.4;
}

footer p{
    margin: 0;
    padding: 2.2rem;
}

.container{
    max-width: 960px;
    margin: auto;
    overflow: hidden;
    padding: 4rem 1rem;
}

.container2{
    max-width: 1400px;
    margin: auto;
    overflow: hidden;
    padding: 4rem 1rem;
}

.grid-4{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 2rem;
}


.grid-2{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}

.about{
    font-size: 22px;
}

.ikony{
    padding-top: 5%;
}

.linky{
    font-size: 22px;
}

.fa-discord{
    transition: color .5s;
}
.fa-discord:hover{
    color: blue;
}
.fa-wpforms{
    transition: color .5s;
}
.fa-wpforms:hover{
    color: blue;
}
.fa-teamspeak{
    transition: color .5s;
}
.fa-teamspeak:hover{
    color: blue;
}

.reklamy{
    height: 100px;
}

.rek{
    width: 200px;
    height: auto;
}

/*Small Screen*/
@media (max-width: 1320px) {
    .overlay{
        display: none;
    }
}
@media (max-width: 1262px) {
    .main h2{
        display: none;
    }

    .content{
        width: 5px;
    }

}

@media (max-width: 560px){


    .linky div{
        padding: 1.2rem 1rem;
    }

    .content{
        top: 5%;
        margin-top: 5px;
        height: 200px;
    }


    .grid-3, .grid-2{
        grid-template-columns: 1fr;
    }

}

@media (max-height: 500px){
    .content .title, .content .text{
        display: none;
    }

    .content{
        top: 0;
        height: 200px;
    }
}

