html {
    scroll-behavior: smooth;
  }

body{
    font-family: 'Montserrat', sans-serif;
    background-color: #171717;
    color: white;
    height: 100vh;
    margin: 0;
    overflow-x: hidden;
}

/*---------thecaptainbuster title-----------*/

#mainpage{
    text-align: center;
    /*height: 100%;*/
}


#mainpage .top{
    color: #0058FC;
    display: flex;
    justify-content: center;
    background-color: #171717;
    padding: 10em 0 0 0;
}

#mainpage .top .thecaptainbuster{
    align-self: flex-end;
}

#mainpage .thecaptainbuster{
    font-size: 2.5rem;
    padding: 0;
    margin: 0;
    text-align: center;
    font-weight: 1000;
    margin-bottom: 5px;
    margin-top: 60px;
}
/*---------thecaptainbuster sub title-----------*/
#mainpage .pagelinks{
    color: #0058FC;
    display: flex;
    justify-content: center;
    background-color: #171717;
    flex-direction: column;
    margin-top: 1.5rem;
}

#mainpage .content{
    font-size: 1.2rem;
    padding: 0;
    margin: 0;
    text-align: center;
    font-weight: 1000;
    margin-top: 5px;
    color: #FDFBF9;
    margin-bottom: 200px;
}

/*------------------nav--------------*/ 

#mainpage .pagelinks nav{
  margin-top: 30px;
}

#mainpage .pagelinks{
    color: #0058FC;
    
}

#mainpage .pagelinks nav a{
    display: inline-block;
    font-size: 2rem;
    margin: 20px;
    padding: 10px 20px;
    color: rgb(145, 255, 0);
    text-decoration: none;
    width: 200px;
}

#mainpage .pagelinks nav a:hover{
    color: rgb(68, 121, 0);
    transition: color 200ms ease-in-out;
}


/*-----------------------ABOUTME----------------*/


#aboutme{
    text-align: center;
    /*height: 100%;*/
    margin-top: 150px;
    padding-top: 100px;
}

#aboutme .heading{
    color: #0058FC;
}

#aboutme .heading .aboutmetitle{
    font-weight: bolder;
    font-size: 2rem;
    background-color: #0058FC;
    color: #171717;
    padding-top: 30px;
    padding-bottom: 30px;
    margin-right: 20px;
    margin-left: 20px;
}

#aboutme .body .aboutmebody{
    margin-top: 100px;
    font-size: 1.2rem;
    line-height: 30px;
    margin-left: auto;
    margin-right: auto;
    width :90%;
    box-sizing: border-box;
    max-width: 750px;

    
}


#aboutme .body .aboutmelangs{
    margin-top: 70px;
    font-size: 1.2rem;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    box-sizing: border-box;
    max-width: 750px;
    line-height: 30px;
    font-weight: bolder;
}

/*-----------------------MYGAMES----------------------*/

#mygames{
    text-align: center;
    /*height: 100%;*/
    padding-top: 100px;
}

#mygames .heading{
    color: #0058FC;
}

#mygames .heading .mygamestitle{
    font-size: 2rem;
    font-weight: bolder;
    background-color: #0058FC;
    color: #171717;
    padding-top: 30px;
    padding-bottom: 30px;
    margin-right: 20px;
    margin-left: 20px;
}

#mygames .heading .game1{
    margin-top: 150px;
    padding-top: 20px;
    padding-bottom: 50px;
    padding-left: 10px;
    display: grid;
    background-color: #292929;
    width: 250px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    border-radius: 2%;
}


#mygames .heading .game1 a{
    color: rgb(145, 255, 0);
    text-decoration: none;
    text-align: left;
}

#mygames .heading .game1 a:hover{
    color: rgb(68, 121, 0);
    transition: 200ms ease-in-out;
}

#mygames .heading .game1 .desc{
    padding: 0;
    text-align: left;
    margin-top: 10px;
}

/*-----*/

#mygames .heading .game2{
    margin-top: 50px;
    padding-top: 20px;
    padding-bottom: 50px;
    padding-left: 10px;
    display: grid;
    background-color: #292929;
    width: 250px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    border-radius: 2%;
}


#mygames .heading .game2 a{
    color: rgb(145, 255, 0);
    text-decoration: none;
    text-align: left;
}

#mygames .heading .game2 a:hover{
    color: rgb(68, 121, 0);
    transition: 200ms ease-in-out;
    cursor: pointer;
}

#mygames .heading .game2 .desc{
    padding: 0;
    text-align: left;
    margin-top: 10px;
}

/*--------------------MYSOCIALS---------*/
#mysocials{
    text-align: center;
    /*height: 100%;*/
    display: grid;
    padding-top: 100px;
}

#mysocials .heading{
    color: white;
    
}

#mysocials .heading .mysocialstitle{
    font-size: 2rem;
    font-weight: bolder;
    background-color: #0058FC;
    color: #171717;
    padding-top: 30px;
    padding-bottom: 30px;
    margin-right: 20px;
    margin-left: 20px;
}

#mysocials .heading .desc{
    margin-top: 70px;
    font-size: 1.2rem;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    box-sizing: border-box;
    max-width: 750px;
    line-height: 30px;
    font-weight: bold;
}

/*#mysocials .heading .socials img{
    height: 50px;
    width: 60px;
    display: grid;
    margin-top: 10px;
}*/

#mysocials .heading .socials .fa {
    padding: 20px;
    font-size: 30px;
    width: 50px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
  }

#mysocials .heading .socials .yt img{
    margin-top: 70px;
    height: 60px;
    width: 80px;
    margin-bottom: 20px;
}

#mysocials .heading .socials .twitter img{
    height: 50px;
    width: 60px;
    margin-bottom: 20px;

}

#mysocials .heading .socials .instagram img{
    height: 60px;
    width: 60px;
    margin-bottom: 20px;

}

#mysocials .heading .socials .itch img{
    height: 60px;
    width: 70px;
}

img:hover{
    filter: brightness(0.7);
}

footer{
    background-color: #292929;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/*----------------------------------------------------------*/



@media screen and (min-width: 720px)
{
    #mygames .heading .mygamestitle{
        margin-right: 80px;
        margin-left: 80px;
    }

    #aboutme .heading .aboutmetitle{
        margin-right: 80px;
        margin-left: 80px;
    }

    #mysocials .heading .mysocialstitle{
        margin-right: 80px;
        margin-left: 80px;
    }

    #mysocials .heading .socials{
        display: flex;
        margin-top: 100px;
        justify-content: center;

    }

    #mysocials .heading .socials .yt img{
        margin-top: 0;
    }
}