.mySection {
    /* display: inline-block; */
    min-height: 100vh;
}
.myHidden {
    display: none;
}

nav{
    position: relative;
    
}
.socialicons{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
}
.sociallink{
    font-size: 18px;
    text-decoration: none;
}

#home{
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/cover.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#home::before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.6);

    z-index: 1;
    pointer-events: none;
}

#home > * {
    position: relative;
    z-index: 2;
}

.skills img{
    display: inline-block;
    width: 70px;
    height: 70px;
    margin: 10px;
}
.skillBox{
    display: inline-block;
}

.w3-wide{
    font-weight: bolder !important;
    text-transform: uppercase;
    padding-left: 30px;
    border-left: 5px solid #fff;
    margin: 20px 0;
}
.testimonyBox{
    margin: 20px 0;
}
.testimonyBox img{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 20px;
}

.buttons{
    margin-top: 20px;
}

.btn{
    padding: 10px 20px;
    margin: 10px;
    border: 2px solid #fff;
    border-radius: 15px;
    transition: all 0.3s ease;
}
.btn:hover{
    background-color: #fff;
    color: #000;
}

input, #message{
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 15px;
}

.cke_notifications_area{
    display: none !important;
}

.projectImg{
    width: 100%;
    height: 200px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}
.projectImg img{
    /* width: 100%; */
    max-height: 100%;
}


.resume-skills img{
    width: 40px;
    height: 40px;
    margin: 15px;
}
.resume-skills .w3-wide{
    padding-left: 5px;
    border-left: 5px solid #000;
}






.resume-section {
    margin-bottom: 28px;
}

.resume-section:last-child {
    margin-bottom: 0;
}

.resume-section-title {
    margin-bottom: 12px;
}

.resume-section-content {
    margin-left: 6px;
}


@media (max-width: 500px) {
    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    .w3-content {
        margin-top: 0 ;
        max-width: 100% ;
        width: 100% ;
        overflow-x: hidden;
    }

    .w3-row-padding,
    .w3-row-padding > .w3-third,
    .w3-row-padding > .w3-twothird {
        padding-left: 0 ;
        padding-right: 0 ;
        margin-left: 0 ;
        margin-right: 0 ;
    }

    .w3-third,
    .w3-twothird {
        width: 100% ;
        float: none ;
    }

    /* Long links */
    a {
        word-break: break-word;
        overflow-wrap: break-word;
    }

    /* Reference emails */
    p {
        overflow-wrap: break-word;
        word-break: break-word;
    }

    /* Skills section */
    .skills {
        flex-wrap: wrap;
        justify-content: center;
    }

    .skillBox {
        width: 70px;
        margin: 5px;
    }

    .skillBox img {
        max-width: 40px;
        height: auto;
    }

    /* Prevent any element from exceeding viewport */
    img,
    div,
    ul,
    li {
        max-width: 100%;
    }

    /* Important links */
    ul li a {
        display: inline-block;
        max-width: 100%;
    }









    .w3-jumbo{
        font-size: 30px !important;
    }
    #myMobileNavbar {
        display: block;
        position: fixed;
        bottom:0;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.7);
        color: #fff;
        padding: 0px 0;
        z-index: 1000;
    }
    #myMobileNavbar a:first-child{
        margin-left: 1%;
    }
    #myMobileNavbar a{
        color: #fff;
        text-decoration: none;
        font-size: 18px;
        width: 22%;
        display: inline-block;
        text-align: center;
        border: 1px solid #fff;
        padding: 5px 0;
        margin-right: 1%;
    }
    #home .buttons, #home .buttons a{
        display:inline-block;
        margin: 5px;
        padding: 10px;
    }
    #about, #projects, #contact{
        padding-left: 15px;
        padding-right: 15px;
    }
}