:root {
    --bg-color: #CFE8E3; 
    --txt-color: #111;
}

@font-face {
    font-family: "Poppins";
    src: url("assets/fonts/Poppins/Poppins-Regular.ttf");
    }

body {
    color: var(--txt-color);
    font-family: "Poppins", sans-serif;
    margin: 0;
}

p a {
    color: var(--txt-color);
    font-weight: bold;
}

p {
    line-height: 21px;
}

.bg-seledine {
    background-color: var(--bg-color);;
}

#hello {
    padding-bottom: clamp(1rem, 10vw + .5rem, 4rem);
}

nav {
    padding: 2rem clamp(16px, 10vw + .5rem, 64px);
    gap: 16px;
}

nav a {
    color: var(--txt-color);
    font-weight: 800;
    text-decoration: none;

    &:first-of-type {
        margin-right: 1rem;
    }
}

.heading {
    font-size: clamp(1.5rem, 10vw + .5rem, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.header-text {
    margin-bottom: 2.5rem;
}

.btn-primary {
    font-size: 1rem;
    color: #fff;
    background-color: var(--txt-color);
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;

    &:hover {
      background-color: transparent;
      color: var(--txt-color);
      border: 1px solid var(--txt-color);
      transition-duration: 0.4s;  
    }
}

.px-md {
    padding-left: clamp(16px, 10vw + .5rem, 64px);
    padding-right: clamp(16px, 10vw + .5rem, 64px);
}

.py-sm {
    padding-top: clamp(16px, 10vw + .5rem, 36px);
    padding-bottom: clamp(16px, 10vw + .5rem, 36px);
}

.py-md {
    padding-top: clamp(16px, 10vw + .5rem, 64px);
    padding-bottom: clamp(16px, 10vw + .5rem, 64px);
}

.projects .project {
    width: 300px;
    height: 200px;
    margin-bottom: 3rem;
}

.projects .project a div {
    margin-bottom: 1rem;
}

.projects .project-img {
    background-size: cover; 
    background-position: center; 
    width: 100%; 
    height: 100%;
}

@media screen and (min-width: 1080px){
    .projects {
    display: flex;
    gap: 2rem;
    }
}