@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    font-family: "Poppins", sans-serif;
    font-style: normal;
    margin: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

h1 {
    font-weight: 800;
    color: #000000;
}

h3 {
    font-weight: 500;
}

h2 {
    font-weight: 600;
    color: #000000;
    font-size: 6vw;
}

h5 {
    font-weight: 500;
    color: #4343439d;
}

p {
    font-weight: 500;
    color: #2d2d2db1;
}

label {
    font-weight: 500;
}

.portfolio-start h1 {
    font-size: 8vw;
}

.portfolio-start p {
    font-size: 2vw;
}

.portfolio-start h5 {
    font-size: 1vw;
}

body {
    background-color: aliceblue;
}

.portfolio-start, .about-container, .container-projects, .contacts-container {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 100vw !important;
    min-height: 100vh !important;
}

.portfolio-profile, .about, .projects, .contacts {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.portfolio-profile {
    gap: 1vw !important;
}

.langs {
    margin-top: 3vh;
    display: flex;
    gap: 1vw;
}

.langs img {
    border: 0.1vw solid #9AA0A6;
    border-radius: 0.5vw;
    max-width: 6vw;
    cursor: pointer;
}

.about {
    gap: 3vw !important;
}

.projects {
    gap: 2vw !important;
}

.thin-black-line {
    width: 45%;
    height: 0.5vh;
    background: #000000;
    border-radius: 5px;
}

.black-line {
    width: 80%;
    height: 1vh;
    background: #000000;
    border-radius: 5px;
}

.about h3 {
    font-size: 3vw;
}

.projects-container {
    min-width: 90vw;
    min-height: 90vh;
    padding-left: 8vw !important;
    display: flex;
    gap: 2vw;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    /* padding: 1vw !important; */
}

.project-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5vh;
    width: 15vw;
    border: 0.15vw solid #282828;
    border-radius: 10px;
}

.project-imgs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    overflow: hidden;
    /* border-top-left-radius: 10px;
    border-top-right-radius: 10px; */
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-color: aliceblue;
}

.project-imgs img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.project-name {
    font-size: 2vw;
}

.project-desc {
    color: #1d1d1dd9;
    font-size: 1vw;
}

.project-client {
    font-size: 0.8vw;
}

.split {
    margin-top: 5vh;
    display: flex;
    align-items: stretch;
    min-width: 80vw;
    min-height: 30vh;
}

.contacts-info,
.info {
  flex: 1 1 50%;
}

.contacts-info span {
    font-weight: 500;
    font-size: 2vw;
}

.contacts-info {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

.info {
    font-size: 3vw;
    align-items: center;
    justify-content: center;
}

/* .project-imgs:has(> img:nth-child(2)) {
    grid-template-columns: repeat(2, 1fr);
}

.project-imgs:has(> img:nth-child(3)):not(:has(> img:nth-child(4))) > img:nth-child(3) {
    grid-column: 1 / -1;
} */
