:root{
    --about-me-background-color: #333333;
}

main {
    width: 100%;
    height: calc(100vh - 60px);
    background-color: #333333;
    margin-top: 60px;
    background-image: url(../img/Merna_TD_2.png), url(../img/BG_Net.png);
    background-size: 70vh, cover;
    background-repeat: no-repeat;
    background-position: bottom left calc(50% + 80px), center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100px;
    column-gap: 220px;
    text-shadow: -2px 2px 4px #000;
}

main .main-intro h1 {
    font-size: 9.2rem;
    line-height: 1.1;
}

main p {
    font-size: 1.8rem;
    line-height: 1.75;
    max-width: 500px;
}

main a {
    margin-top: 30px;
    font-size: 1.8rem;
    display: none;
    text-align: center;
    background-color: var(--site-color-01);
    padding: 10px 20px;
    width: fit-content;
}

main a:hover{
    background-color: var(--site-color-01-hover);
}

main .main-important-topic a {
    margin-top: 30px;
    font-size: 1.8rem;
    display: block;
    text-align: center;
    background-color: var(--site-color-01);
    padding: 10px 20px;
    width: fit-content;
}

main .main-important-topic a:hover{
    background-color: var(--site-color-01-hover);
}

main .main-intro {
    padding-bottom: 8vh;
}


/* HOTSHOTS TOURNAMENT SECTION */
.index-hotshots-tournament{
    width: 100%;
    padding: 60px 0;
    background-color: #fff;
    display: flex;
    justify-content: center;
    column-gap: 20px;
    flex-wrap: wrap;
}

.index-hotshots-tournament p {
    color: #111;
    text-align: center;
    padding-bottom: 40px;
    flex-basis: 100%;
    text-transform: uppercase;
    font-size: 2.2rem;
}

.index-hotshots-tournament-box{
    width: 200px;
    height: 200px;
    background-color: #111;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.index-hotshots-tournament-box:nth-child(2){
    background-image: url(../img/Hotshots/crown.png);
}

.index-hotshots-tournament-box:nth-child(3){
    background-image: url(../img/Hotshots/davidvgoliath.png);
}

.index-hotshots-tournament-box:nth-child(4){
    background-image: url(../img/Hotshots/nova.png);
}

.dark-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left:0;
    background-color: #1A253A;
    opacity: 0.5;
    transition: all ease-in-out 200;
}

.index-hotshots-tournament-box h3{
    font-size: 2.2rem;
    line-height: 1.5;
    text-align: center;
    text-shadow: -2px 2px 4px #000;
    z-index: 100;
}

.index-hotshots-tournament-box:hover .dark-overlay{
    opacity: 0;
}

/* SUMMER TOURNAMENT SECTION */
.index-summer-tournament{
    width: 100%;
    padding: 60px 0;
    background-color: #fff;
    display: flex;
    justify-content: center;
    column-gap: 20px;
    flex-wrap: wrap;
}

.index-summer-tournament p {
    color: #111;
    text-align: center;
    padding-bottom: 40px;
    flex-basis: 100%;
    text-transform: uppercase;
    font-size: 2.2rem;
}

.index-summer-tournament-box{
    width: 200px;
    height: 200px;
    background-color: #111;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.index-summer-tournament-box:nth-child(2){
    background-image: url(../img/Tournaments/memorial_day.png);
}

.index-summer-tournament-box:nth-child(3){
    background-image: url(../img/Tournaments/mernament_kings.png);
}

.index-summer-tournament-box:nth-child(4){
    background-image: url(../img/Tournaments/labor_day.png);
}

.index-summer-tournament-box:nth-child(5){
    background-image: url(../img/Tournaments/garvey_classic.png);
}

.index-summer-tournament-box h3{
    font-size: 2.2rem;
    line-height: 1.5;
    text-align: center;
    text-shadow: -2px 2px 4px #000;
    z-index: 100;
}

.index-summer-tournament-box:hover .dark-overlay{
    opacity: 0;
}

/* ABOUT SECTION */
.index-about{
    width: 100%;
    padding: 60px 0;
    background-color: var(--about-me-background-color);
}

.index-about-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 60px;
}

.index-about-image img {
    width: 300px;
    height: 300px;
    border-radius: 300px;
}

.index-about-text {
    flex-basis: 300px;
}

.index-about-text p {
    padding: 20px 0;
}

.index-about-text a {
    font-size: 1.8rem;
    display: block;
    text-align: center;
    background-color: var(--site-color-01);
    padding: 10px 20px;
    width: fit-content;
}

.index-about-text a:hover {
    background-color: var(--site-color-01-hover);
}

.index-about-skill {
    flex-basis: 350px;
}

.index-about-skill-bar {
    width: 100%;
    height: 20px;
    border: 4px solid #0B0F16;
}

.index-about-skill-bar-fill {
    width: 100%;
    height: 100%;
    background-color: var(--site-color-01);
}

.htmlcss {
    width: 20%;
}

.ccpp {
    width: 75%;
}

.python {
    width: 45%;
}

.linux {
    width: 50%;
}

.eng {
    width: 95%;
}

.td {
    width: 90%;
}

/* MOBILE VERSION */

@media only screen and (max-width: 600px){
    main {
        flex-wrap: wrap;
    }

    main .main-intro {
        padding-bottom: 8vh;
    }

    main .main-intro h1 {
        font-size: 5.4rem;
        line-height: 1.1;
        text-align: center;
    }

    main p {
        text-align: center;
        padding: 0 20px;
        line-height: 2.5;
    }

    main a {
        margin: 30px auto;
    }

    .index-hotshots-tournament{
        padding: 40px 0 20px;
        row-gap: 10px;
    }

    .index-hotshots-tournament p {
        padding-bottom: 20px;
    }

    .index-hotshots-tournament-box {
        width: calc(100% - 20px);
        height: 160px;
    }
    
    .index-summer-tournament{
        padding: 40px 0 20px;
        row-gap: 10px;
    }

    .index-summer-tournament p {
        padding-bottom: 20px;
    }

    .index-summer-tournament-box {
        width: calc(100% - 20px);
        height: 160px;
    }

    .index-about-flex {
        flex-wrap: wrap;
        row-gap: 20px;
    }

    .index-about-image {
        width: 60%;
    }

    .index-about-image img {
        width: 100%;
    }

    .index-about-text {
        flex-basis: 100%;
    }

    .index-about-text h2 {
        text-align: center;
    }

    .index-about-text p {
        text-align: center;
    }

    .index-about-text a {
        margin: 0 auto 10px;
    }
}