*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow: hidden;
    height: 100%;
}

body {
    background-color: #000013;
    overflow: auto;
    height: 100%;
    color: #d2d2e6;
}



/*------- header -------*/

#header {
    width: 100%;
    height: 100vh;
    background-image: url(images/background.jpg);
    background-size: cover;
    background-position: center;
}

.container {
    padding: 20px 10%;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a {
    color: #d2d2e6;
    text-decoration: none;
    font-size: 18px;
    font-style: italic;
    position: relative;
}

nav ul li a::after {
    content: '';
    width: 0;
    height: 3px;
    background: #1070ff;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.25s;
}

nav ul li a:hover::after {
    width: 100%;
}

.header-text {
    margin-top: 20%;
    font-size: 30px;
}

.header-text-main p {
    font-style: italic;
}

.header-text-desc p {
    margin-top: 5px;
    font-size: 24px;
}

.header-text h1 {
    font-size: 60px;
    margin-top: 20px;
}

.header-text h1 span {
    color: #1070ff;
}

.social-layout {
    margin-top: 20px;
    margin-bottom: 15px;
}

.social-layout a {
    color: #d2d2e6;
    text-decoration: none;
    font-size: 30px;
    margin-right: 5px;
    transition: color 0.5s;
}

.sub-title {
    font-size: calc(50% + 3vw);
    font-weight: 600;
    color: #d2d2e6;
}

.social-layout a:hover {
    color: #1070ff;
}



/*------- about -------*/

.about-capsule {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.icon-layout {
    display: flex;
    flex-direction: column;
    width: 25%;
}

.icon-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 10px;
}

.icon-element {
    margin: 10px;
    color: black;
    text-decoration: none;
    font-size: 40px;
    background: #d2d2e6;
    line-height: 62px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    text-align: center;
    border-style: solid;
    border-width: 2px;
    border-color: #404040;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.5s;
}

.icon-element .tooltiptext {
    visibility: hidden;
    background: #262626;
    color: #fff;
    width: 200px;
    height: auto;
    font-size: 16px;
    text-align: center;
    line-height: 20px;
    padding: 5px 5px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -98px;
    opacity: 0;
    transition: opacity 0.3s;
}

.icon-element:hover {
    background: #1070ff;
}

  /* Tooltip arrow */
.icon-element .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #262626 transparent transparent transparent;
}

  /* Show the tooltip text when you mouse over the tooltip container */
.icon-element:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}



/*------- portfolio -------*/

#portfolio {
    margin-top: 100px;
    padding: 30px 0;
}

.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 30px;
}

.project-list div {
    background: #262626;
    padding: 40px;
    font-size: 18px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}

.project-list div img {
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
}

.project-list div h2 {
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 15px;
}

.project-list div p {
    font-size: 16px;
}

.project-list div a {
    text-decoration: none;
    color: #d2d2e6;
    font-size: 18px;
    margin-top: 20px;
    display: inline-block;
}

.project-list div a i {
    margin-right: 7px;
}

.project-list div:hover {
    background: #1070ff;
    transform: translateY(-10px);
}

.project-list div a:hover {
    color: black;
}



/*------- contact -------*/

#contact {
    width: 100%;
    padding: 25px;
    background: #262626;
    font-weight: 300;
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.copyright {
    font-size: 14px;
    margin-left: 10%;
}

.intouch {
    font-size: 14px;
    margin-right: 10%;
}



/*------- description -------*/

.project-header {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.project-name {
    margin-right: 20px;
    display: flex;
    flex-direction: row;
}

.project-name img {
    width: 75px;
    height: 75px;
    margin-right: 20px;
}

.project-name h1 {
    font-size: 64px;
    font-weight: 600;
}

.project-social {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.project-social a {
    color: #d2d2e6;
    text-decoration: none;
    font-size: 40px;
    margin-left: 20px;
    transition: color 0.5s;
}

.project-social a:hover {
    color: #1070ff;
}

.project-subheading {
    margin-top: 80px;
    font-size: 32px;
    font-style: italic;
    font-weight: 700;
}

.project-text {
    margin-top: 20px;
    font-size: 20px;
    line-height: 150%;
}

.project-feature-list {
    margin-top: 20px;
    margin-left: 44px;
    font-size: 20px;
    line-height: 200%;
}

.project-feature-list ul li i {
    margin-right: 20px;
}

.project-hint {
    margin-top: 30px;
    font-size: 20px;
    line-height: 150%;
}

.project-image {
    width: 75vw;
    height: auto;
    margin-top: 15px;
}



@media all and (max-width: 600px) {
    nav ul {
        display: flex;
        flex-direction: column;
        margin-top: 10px;
    }

    .header-text-main p {
        font-size: 28px;
    }

    .header-text-desc p {
        margin-top: 10px;
        font-size: 20px;
    }

    .sub-title {
        font-size: calc(200% + 4vw);
        font-weight: 600;
        color: #d2d2e6;
        text-align: center;
    }

    .about-capsule {
        display: flex;
        flex-direction: column;
    }

    .icon-layout {
        display: flex;
        flex-direction: column;
        width: auto;
        margin-bottom: 40px;
    }

    #contact {
        flex-direction: column-reverse;
    }

    .intouch {
        margin-left: 10%;
        margin-right: 0%;
        margin-top: 10px;
        margin-bottom: 30px;
    }

    .project-header {
        flex-direction: column;
    }

    .project-name {
        flex-direction: column;
        align-items: center;
        margin-right: 0px;
        margin-bottom: 10px;
    }

    .project-name h1 {
        font-size: 40px;
        margin-top: 15px;
    }

    .project-name img {
        margin-right: 0px;
        width: 128px;
        height: 128px;
    }

    .project-social a {
        margin-left: 10px;
        margin-right: 10px;
        font-size: 36px;
    }

    .project-text {
        font-size: 16px;
        word-spacing: 0px;
    }

    .project-feature-list {
        font-size: 16px;
        margin-left: 0px;
        word-spacing: 0px;
    }

    .project-feature-list ul {
        margin-left: 0px;
    }

    .project-feature-list ul li i {
        margin-right: 10px;
    }

    .project-hint {
        font-size: 16px;
        word-spacing: 0px;
    }
}
