html{
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
header{
    background-image: url("mobile.jpg");
    height: 100vh;
    background-position: center;
    background-size: cover;
}
.topBar{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topBar a{
    text-decoration: none;
    color: white;
    padding: 20px 25px;
    font-family: 'Lato', sans-serif;
}
.hamborgerImage{
    display: flex;
    flex-direction: column;
    align-items: end;
}
.bar{
    background-color: white;
    width: 20px;
    height: 2px;
    margin-right: 23px;
    margin-bottom: 5px;
    transition: .6s;
}
.navLinks{
    position: absolute;
    width: 100vw;
    top: 60px;
    text-align: center;
    overflow: hidden;
}
.navLinks ul{
    width: 100%;
    background-color: white;
    list-style-type: none;
    transform: translateY(-100%);
    transition: .6s;
}
.navLinks li{
    position: relative;
    padding: 10px;
}
.navLinks a{
    color: black;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}
.navLinks a::after{
    content: '';
    width: 0%;
    margin-top: 8px;
    height: 2px;
    display: block;
    position: absolute;
    background-color: white;
    transition: .35s;
}
.navLinks a:hover::after{
    width: 100%;
}
input.headerBar{
    display: none;
}
label{
    cursor: pointer;
}
input.headerBar:checked ~ .navLinks ul{
    transform: translateY(0);
}
input.headerBar:checked + .labelBar .bar1{
    transform: rotateZ(45deg);
    transform-origin: top left;
}
input.headerBar:checked + .labelBar .bar2{
    opacity: 0;
}
input.headerBar:checked + .labelBar .bar3{
    transform: rotateZ(-45deg);
    transform-origin: bottom left;
}
.midText{
    color: white;
    height: 44%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    text-transform: capitalize;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.4;
}
.midText h2{
    font-size: 3.5rem;
    font-weight: 700;
}
.midText p{
    font-size: 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}
.midText span{
    font-weight: 500;
}
header ::selection{
    background-color: white;
    color:black;
}
.icons{
    margin-top: 1.1rem;
    display: flex;
    gap: 9px;
    align-items: center;
}
.icons a{
    text-decoration: none;
}
a.linkedin::after{
    content: '\f0e1';
}
a.x::after{
    content: '\e61b';
}
a.github::after{
    content: '\f09b';
}
a.snapchat::after{
    content: '\f2ab';
}
a.insta::after{
    content: '\f16d';
}
a.headerIcon::after{
    font: var(--fa-font-brands);
    color: white;
}
a.headerIcon::after{
    font-size: 20px;
}
a.headerIcon:hover::after{
    color: rgba(255,255,255,0.7);
}

/* About Section */

.about{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 45px 20px;
    overflow: hidden;
}
.aboutImages{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px 0px;
    width: 82vw;
    /* border: 1px solid; */
    max-width: 450px;
}
img.me_irl{
    width: 85%;
}
img.dots{
    width: 85%;
    height: 93%;
    bottom: -1%;
    left: 0;
    position: absolute;
    z-index: -1;
}
.redAbout{
    width: 85%;
    height: 93%;
    position: absolute;
    background-color: rgba(115,37,59, 0.3);
    z-index: -2;
    right: 0;
    top: -1%;
}
.content{
    max-width: 650px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
}
.content h1{
    font-family: 'Lato', sans-serif;
    font-size: 2rem;
    font-weight: 700;
}
.content p{
    font-family: 'Montserrat', sans-serif;
    padding-top: 10px;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 30px;
}
.content span{
    font-weight: 600;
}
p.role{
    padding-top: 2px;
    margin-bottom: 0px;
    font-size: 1.1rem;
    font-weight: 300;
}
.skills{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.skillBar{
    font-family: 'Lato', sans-serif;
    max-width: 650px;
    width: 82vw;
    border-radius: 6px;
    color: white;
    margin-bottom: 30px;
    box-shadow: inset 0px 0px 10px rgba(0,0,0,0.3);
}
.black{
    padding: 4px 10px;
    background-color: #1c1c1c;
    display: flex;
    justify-content: space-between;
    border-radius: 6px;
}
.webDev{
    width: 90%;
}
.webDev::after{
    content: '90%';
}
.python{
    width: 85%;
}
.python::after{
    content: '85%';
}
.java{
    width: 75%;
}
.java::after{
    content: '75%';
}
.contentWrapper{
    display: flex;
    align-items: center;
    width: 82vw;
    max-width: 650px;
    flex-direction: column;
}

/* Portfolio Section */

.portfolio{
    background-color: rgb(238, 238, 238);
    padding: 40px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.portfolioImages{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.portfolio h1{
    font-weight: 700;
    margin-bottom: 50px;
    font-family: 'Lato', sans-serif;
    font-size: 2rem;
    text-align: center;
}
.portfoliocard img{
    width: 100%;
    border-radius: 6px;
    transition: 0.35s;
}
.portfoliocard{
    position: relative;
    margin-bottom: 20px;
    width: 80vw;
}
.portfolioHoverStuff{
    text-align: center;
    position: absolute;
    top: 5px;
    bottom: 9px;
    left: 5px;
    right: 5px;
    gap: 6px;
    background-color: rgba(238, 238, 238, 0.9);
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.35s;
}
.portfolioHoverStuff p{
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    transform: translateY(-100%);
    transition: 0.35s;
}
.portfolioHoverIcons{
    display: flex;
    gap: 8px;
}
.faIcons::before{
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}
.icon1::before{
    content: "\f0ac";
    font: var(--fa-font-solid);
    color: black;
}
.icon2::before{
    content: "\f121";
    font: var(--fa-font-solid);
    color: black;
}
.hoverIcons{
    transform: translateY(100%);
    transition: 0.35s;
}
.portfoliocard:hover .portfolioHoverStuff{
    opacity: 1;
}
.portfoliocard:hover p{
    transform: translateY(0);
}
.portfoliocard:hover .hoverIcons{
    transform: translateY(0);
}
.portfolioHoverIcons a:hover .icon1::before{
    color: rgba(0,0,0,0.6);
}
.portfolioHoverIcons a:hover .icon2::before{
    color: rgba(0,0,0,0.6);
}

/* Testimonials Section */
.testimonialParentSect{
    overflow: hidden;
}
.testimonials-section{
    width: 100vw;
    overflow: hidden;
    height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}
.testimonials-section h1{
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Lato', sans-serif;
}
.testimonials{
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* align-items: center; */
}
.testimonials input{
    display: none;
}
.radioImgs{
    display: flex;
    width: 300%;
}
.slideImg{
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
.testimonialSingle{
    /* border: 1px solid black; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    gap: 6px;
}
.testimonialSingle img{
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
}
.testimonialSingle p:nth-child(2){
    margin-top: 25px;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    color: rgba(0,0,0,0.7);
    font-size: 1rem;
    font-weight: 400;
}
.testimonialSingle p:nth-child(3){
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
}
.testimonialSingle p:nth-child(4){
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 18px;
    font-size: 1rem;
    color: rgba(0,0,0,0.6);
    font-weight: 500;
}
.radioImgs .first{
    transition: .5s;
}
#radio1:checked ~ .radioImgs .first{
    margin-left: 0%;
}
#radio2:checked ~ .radioImgs .first{
    margin-left: -33.34%;
}
#radio3:checked ~ .radioImgs .first{
    margin-left: -66.67%;
}
.controls{
    /* width: 90%; */
    /* border: 1px solid; */
    display: flex;
    align-items: center;
    justify-content: center;
}
.radioBtn{
    border: 1px solid;
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
    transition: .35s;
}
.radioBtn:not(:last-child){
    margin-right: 8px;
}
.testimonials input:nth-child(1):checked ~ .controls label:nth-child(1){
    background-color: black;
}
.testimonials input:nth-child(2):checked ~ .controls label:nth-child(2){
    background-color: black;
}
.testimonials input:nth-child(3):checked ~ .controls label:nth-child(3){
    background-color: black;
}

/* Contact Section */
.ContactSect{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(238, 238, 238);
}
.Contact{
    padding: 50px 0px;
    width: 90%;
    /* border: 1px solid; */
}
.Contact h1{
    font-family: 'Lato', sans-serif;
    font-size: 2rem;
    text-align: center;
    font-weight: 700;
    margin-bottom: 40px;
}
.contactIcons{
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    justify-content: center;
    font-weight: 500;
    align-items: center;
    gap: 25px;
}
.contactSingleIcon{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.contactSingleIcon::before{
    transition: .35s;
}
.contactSingleIcon p:last-child{
    font-weight: 300;
    color: rgba(0,0,0,0.6);
}
.addressIcon::before{
    font: var(--fa-font-solid);
    content: "\f5a0";
    color: black;
    background-color: white;
    padding: 10px;
    border-radius: 50%;
}
.iconInfo:hover .contactSingleIcon::before{
    color: white;
    background-color: black;
}
.emailIcon::before{
    font: var(--fa-font-solid);
    content: "\f0e0";
    color: black;
    background-color: white;
    padding: 10px;
    border-radius: 50%;
}
.iconInfo a{
    text-decoration: none;
    color: rgba(0,0,0,0.6);
    font-weight: 300;
}
.phoneIcon::before{
    font: var(--fa-font-solid);
    content: "\f095";
    color: black;
    background-color: white;
    padding: 10px;
    border-radius: 50%;
}
.Contact form{
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.Contact input, textarea{
    width: 100%;
    padding: 12px 8px;
    border-radius: 5px;
    background-color: white;
    font-family: 'Montserrat', sans-serif;
    border: none;
    transition: .35s;
}
.Contact textarea{
    height: 160px;
    padding: 8px;
}
.Contact input:hover{
    background-color: rgba(255, 255, 255, 0.4);
}
.Contact textarea:hover{
    background-color: rgba(255, 255, 255, 0.4);
}
.Contact input[type="submit"]{
    font-family: 'Montserrat', sans-serif;
    background-color: black;
    color: white;
    border: none;
    width: fit-content;
    padding: 9px 30px;
    border-radius: 6px;
    transition: .35s;
    border: 1px solid;
    align-self: flex-start;
}
.Contact input[type="submit"]:hover{
    background-color: rgba(238, 238, 238);
    color: black;
}

/* Footer */

footer{
    background-color: black;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
footer p{
    color: rgba(255,255,255,0.7);
    font-size: 1.1em;
    font-family: 'Lato', sans-serif;
}

/* Different layouts */

@media screen and (min-width: 768px) {
    header{
        background-image: url("pc-dark.jpg");
    }
    .icons img{
        width: 27px;
    }
    .icons img.twitter{
        width: 22px;
    }
    .icons img.meta{
        width: 32px;
    }
    .icons a{
        padding-right: 12px;
    }
    .labelBar{
        display: none;
    }
    .navLinks{
        position: static;
        width: auto;
        overflow: visible;
    }
    .navLinks ul{
        display: flex;
        width: auto;
        transform: translateY(0);
        background-color: transparent;
    }
    .navLinks a{
        color: white;
        font-weight: 500;
    }
    .navLinks li{
        padding: 0px;
    }
    .topBar > a{
        padding: 20px 15px;
    }
    .portfolioImages{
        flex-direction: row;
        flex-wrap: wrap;
    }
    .portfoliocard{
        width: 43%;
        margin: 20px;
        max-width: 370px;
    }
    .portfolioHoverStuff{
        max-width: 370px;
    }
    .testimonialSingle{
        max-width: 570px;
    }
}

@media screen and (min-width: 1024px) {
    .topBar a{
        margin: 20px 10px;
        font-size: 19px;
    }
    .navlinks a{
        margin: 0px;
    }
    .topBar > a{
        margin-left:25px;
        font-size: 23px;
    }
    .midText{
        height: 42%;
    }
    .about{
        gap: 60px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    .skillBar:last-child{
        margin-bottom: 0px;
    }
    .content{
        margin-top: 0px;
    }
    .content p{
        line-height: 1.4;
        font-size: 1.2em;
    }
    .content h1{
        font-size: 2.2em;
    }
    .contentWrapper{
        flex-direction: column;
        margin: 50px 0px;
    }
    .aboutImages{
        max-width: 360px;
        padding-left: 30px;
    }
    .portfolio h1{
        font-size: 2.2rem;
    }
    .testimonials-section h1{
        font-size: 2.2rem;
    }
    .portfolioImages{
        flex-direction: row;
        flex-wrap: wrap;
    }
    .portfoliocard{
        width: 30%;
        margin: 20px;
        max-width: 450px;
    }
    .portfolioHoverStuff{
        max-width: 450px;
    }
    .testimonials-section{
        height: 60vh;
    }
    .radioImgs .first{
        transition: .8s;
    }
    .testimonialSingle{
        max-width: 800px;
        
    }
    .contactIcons{
        flex-direction: row;
        justify-content: center;
    }
    .iconInfo{
        max-width: 250px;
        flex-grow: 1;
    }
    .Contact{
        max-width: 900px;
        /* height: 60vh; */
    }
    .Contact h1{
        font-size: 2.3rem;
    }
    .Contact form{
        flex-direction: row;
        flex-wrap: wrap;
    }
    .contactForm input[type="text"], input[type="email"]{
        width: 48%;
        flex-grow: 1;
    }
    .portfolio h1{
        margin-top: 50px;
    }
    .portfolioImages{
        padding-bottom: 50px;
    }
}

@media screen and (min-width: 1200px) {
    .portfolio{
        /* height: 95vh; */
        align-items: center;
        padding: 0px;
    }
}
