@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');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}
.container {
    padding: 0rem 1.6rem;
}

nav {
    background-color: #fff;
}
.nav-row-1 {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0rem;
}
.nav-row-1 h1 {
    font-size: 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 6px;
}
.nav-row-1 h4 {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
}
.nav-row-1 img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.border-line {
    border-bottom: 4px solid #3c6288;
}
.border-line-thin {
    border-bottom: 1px solid #aab7c380; /* #aab7c3; */
}

.contact {
    display: flex;
    justify-content: end;
    align-items: center;

    padding: .6rem 0rem;
}
.email-address {
    font-size: 1rem;
    font-weight: 600;
    padding-left: .6rem;
}

/* Section Heading */
.section-heading {
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 3px;
    text-align: center;
}

/* Designs */
.section-design {
    padding: 4rem 0rem;
}
.designs {
    margin-top: 2.8rem;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    grid-gap: 3rem;
}
.designs a {
    text-decoration: none;
    color: black;
}
.designs-card {
    display: flex;
    flex-direction: column;

    text-align: center;
    border-radius: 6px;
    box-shadow: 0 0 0.5rem #0003;
    transition: transform .3s;
}
.designs-card:hover {
    transform: translateY(-0.6rem);
}
.designs-card img {
    border-radius: 6px 6px 0 0;
    flex-grow: 1; /* all images in all cards will take the same height */
}
.designs-card h5 {
    font-size: 1.4rem;
    font-weight: 400;
    padding: 1rem 0rem;
}

/* Section Testimonials */
.section-testimonials {
    padding-top: .5rem;
    padding-bottom: 2rem;
}
.testimonials {
    margin-top: 2rem;

    display: flex;
    justify-content: space-evenly;
    gap: 3rem;    
}
.testimonial-card {
    display: flex;
    flex-direction: column; /* to stack text and header */
    flex-basis: 50%;

    padding: 1.4rem 1rem;
    /* border-radius: 6px; */
     box-shadow: 0 0 0.5rem #0003;

    /* border: 1px solid; */
    border-right: none;
    border-left: none;
    border-top: 3px solid #3c6288;
}

.testimonial-card .text {
    padding-bottom: .8rem;
}
.testimonial-card .name {
    font-size: 1rem;
    font-weight: 600;
}
q::before {
    content: '"';
    font-weight: 800;
    margin-right: -2px;
}
q::after {
    content: '"';
    font-weight: 800;
    margin-right: -2px;
}

/* Section Tech */
.section-tech {
    padding-top: 1.8rem;
    padding-bottom: .4rem;
}

.tech { /* tech card */
    display: flex;
    flex-direction: column;

    margin-top: 1.5rem;
    margin-bottom: 2.8rem;
    box-shadow: 0 0 0.5rem #0003;
    border-right: none;
    border-left: none;
    border-top: 3px solid #3c6288;    
}
.tech-header {
    text-align: center;
    font-weight: 300;
    font-size: 1.5rem;
    padding: .5rem 0rem;
    border-bottom: 1px solid #aab7c380;
}
.tech-header-icon {
    font-size: 1.4rem;
}
.tech-detail {
    flex-grow: 1;
}
.tech-detail-grid {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 2rem;
    padding: 1.5rem .4rem;

}
.tech-detail-grid-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 300;
}
.tech-detail-grid-item-icon {
    padding: 0rem .5rem;
}
.tech-detail-grid-item-name {
    flex-grow: 1;
    flex-shrink: 0;
}
.tech-detail-grid-item-icon #csharp {
    font-size: 1.4rem;
}
.lang-php {
    font-size: 1.9rem;
}
.type-script-img {
    padding-top: .5rem;
    width: 1.3rem;
    height: 1.8rem;
}

.footer {
    padding: 1rem;
    text-align: center;
}

/* Media Queries */
@media (max-width: 75em) { /* when screen size is <= 1200px, 1200px = 1200/16 = 75em */
    .tech-detail-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .tech-detail-grid-item {
        font-size: 1.2rem;
    }
    .tech-detail-grid-item-icon #csharp {
        font-size: 1rem;
    }
    .lang-php {
        font-size: 1.4rem;
    }
    .type-script-img {
        padding-top: .5rem;
        width: 1.1rem;
        height: 1.6rem;
    }
}
@media (max-width: 56.25em) { /* when screen size is <= 900px, 900px = 900/16 = 56.25em */
    .tech-detail-grid-item {
        font-size: 1rem;
    }

}

@media (max-width: 37.5em) { /* when screen size is <= 600px, 600px = 600/16 = 37.5em */
    .nav-row-1 h1 {
        font-size: 1.4rem;
        font-weight: 600;
        letter-spacing: 4px;
    }
    .nav-row-1 h4 {
        font-size: .7rem;
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: 3px;
        
    }
    .nav-row-1 img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
    }

    .email-address {
        font-size: .8rem;
        font-weight: 500;
    }

    .section-heading {
        font-size: 1.5rem;
        text-transform: uppercase;
        font-weight: 400;
        letter-spacing: 2px;
        text-align: center;
    }

    .designs {
        margin-top: 1.5rem;
    }
    .designs-card:hover {
        transform: translateY(0rem);
    }
    .designs-card h5 {
        font-size: 1rem;
        font-weight: 400;
        padding: 1rem 0rem;
    }

    .testimonials {
        flex-direction: column;
        margin-top: 1.2rem;
    }
    .testimonial-card .text {
        font-size: .9rem;
    }
    .testimonial-card .name {
        font-size: .8rem;
        font-weight: 700;
    }
    
    .tech {
        margin-top: 1.4rem;
    }
    .tech-header {
        font-size: 1rem;
    }
    .tech-header-icon {
        font-size: .9rem;
    }
    .tech-detail-grid-item-icon #csharp {
        font-size: 1rem;
    }
    .tech-detail-grid-item-icon #csharp {
        font-size: .8rem;
    }
    .lang-php {
        font-size: 1.1rem;
    }
    .type-script-img {
        padding-top: .5rem;
        width: .8rem;
        height: 1.3rem;
    }

    .footer {
        font-size: .8rem;
    }


    @media (max-width: 31.25em) { /* when screen size is <= 500px, 500px = 500/16 = 31.25em */
        .tech-detail-grid-item {
            font-size: .9rem;
        }
        .tech-detail-grid {
            grid-template-columns: repeat(2, 1fr);
        }        
    }

    @media (max-width: 25em) { /* when screen size is 4= 500px, 400px = 400/16 = 25em */
        .tech-detail-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    
}
