@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

/* universal selector */
* {
    outline: none;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialised;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* background */
body::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    /* background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.45) 100%); */
    background: linear-gradient(180deg, rgba(190, 10, 10, 0.72) 0%, rgba(48, 5, 5, 0.45) 100%);
    -webkit-backdrop-filter: saturate(3);
    backdrop-filter: saturate(3);
}

body {
    font-family: "Poppins", sans-serif;
    background-image: url(https://4kwallpapers.com/images/wallpapers/macos-big-sur-apple-layers-fluidic-colorful-dark-wwdc-2020-5120x2880-1432.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2em;
    margin: 0;
    width: 100%;
    height: 100vh;
}

@media screen and (max-width: 480px) {
    body {
        padding: 0.8em;
    }
}

main {
    background-color: rgb(255 255 255 / 31%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 1250px;
    width: 100%;
    border-radius: 5px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    font-weight: 500;
    padding: 1rem 1rem 2rem 1rem;
    overflow: auto;
}

main::-webkit-scrollbar {
    display: none;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1.5px solid rgb(255 255 255 / 35%);
}

.navbar>h1,
.navbar>navmenu {
    margin: 10px;
}

.navmenu>a {
    padding: 5px 10px;
    margin-left: 10px;
    text-decoration: none;
    color: black;
    display: inline-block;
}

.navmenu>a:hover {
    transition: ease-in-out 300ms;
    background: white;
}

@media only screen and (max-width: 760px) {
    .navmenu {
        display: none;
    }
}

.heroSection {
    margin: 2rem 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
}

.profileImage {
    width: 350px;
    height: 350px;
    object-fit: cover;
    object-position: center;
    margin-right: 50px;
}

.heroSectionDetails {
    text-align: center;
    justify-content: center;
}

.heroSectionDetails>h1 {
    font-size: 30px;
}

.heroSectionDetails>h3 {
    font-size: 23px;
}

.heroSectionDetails>h4 {
    font-size: 18px;
}

.heroSectionDetails .resume-button {
    padding: 5px 10px;
    text-decoration: none;
    color: black;
    display: inline-block;
    margin-right: 20px;
    border-radius: 10px;
    cursor: pointer;
}

.heroSectionDetails .resume-button:hover {
    transition: ease-in-out 300ms;
    background: white;
}

.aboutMe {
    margin: 1rem;
    text-align: center;
}

.aboutMe p{
    text-align: justify;
}

.skillsProjects {
    margin: 1rem;
    display: grid;
    grid-template-columns: [one] 50% [two] 50%;
    grid-gap: 10px;
    align-items: center;
    justify-content: center;
    width: calc(100% - 2rem);
}

@media only screen and (max-width: 720px) {
    .skillsProjects {
        grid-template-columns: [one] 100%;
        grid-template-rows: [one] [two];
    }
}

.skillsProjects>.skills,
.skillsProjects>.projects {
    min-width: 250px;
    margin: 1rem;
    min-height: 250px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    align-content: center;
    background-color: rgb(255 255 255 / 31%);
    border: 1px solid rgb(255 255 255 / 31%);
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 5px;
}

.cardHeading {
    display: block;
    width: 90%;
    margin: 0;
    margin-bottom: 1rem;
}

.skillsProjects>.skills>img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    margin-right: 15px;
}

skillsProjects>.skills>img:hover {
    transition: ease-in 300ms;
    transform: scale(0.05);
    cursor: pointer;
}

.projectContainer {
    display: flex;
    width: 90%;
}

.projectContainer>img {
    width: 60px;
    height: 60px;
    padding-right: 10px;
}

.projectContainer>.projectDescription>h4 {
    margin: 0;
}

.projectContainer>.projectDescription>p {
    margin: 0;
    margin-bottom: 1rem;
}

@media only screen and (max-width: 460px) {
    .profileImage {
        width: 250px;
        height: 250px;
    }

    .heroSectionDetails>h1 {
        font-size: 30px;
        margin-top: 1.5rem;
        margin-bottom: 0rem;
    }

    .herosectionDetails>h3 {
        font-size: 20px;
        margin: 0;
        font-weight: 400;
    }

}

a {
    padding: 5px 10px;
    margin-left: 10px;
    text-decoration: none;
    color: black;
    display: inline-block;
}

a:hover {
    transition: ease-in-out 300ms;
    background: white;
}