@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@500;600;700&family=Fraunces:wght@700;900&display=swap');

:root {
--soft-red: hsl(7, 99%, 70%);
--yellow: hsl(51, 100%, 49%);
--dark-desaturated-cyan: hsl(167, 40%, 24%);
--dark-blue: hsl(198, 62%, 26%);
--dark-moderate-cyan: hsl(168, 34%, 41%);
--light-moderate-blue: #6fcfff;

--very-dark-desaturated-blue: hsl(212, 27%, 19%);
--very-dark-grayish-blue: hsl(213, 9%, 39%);
--dark-grayish-blue: hsl(232, 10%, 55%);
--grayish-blue: hsl(210, 4%, 67%);
--white: hsl(0, 0%, 100%);

--primary: #3dbeff;
--black: #000;
--footer-primary: #90d4c5;
--fraunces: 'Fraunces', sans-serif;
--barlow: 'Barlow', sans-serif;
}
*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-size: 18px;
    font-family: var(--barlow);
}
ul {
    list-style-type: none;
}
a {
    text-decoration: none;
}

/* navbar styling */
.navbar {
    background-color: var(--primary);
    width: 100%;
    top: 0;
    left: 0;
    position: fixed;
    transition: all 0.4s ease;
    z-index: 9999;
}   
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
    padding: 0.4rem 3rem;
}
.logo a {
    font-family: var(--fraunces);
    color: var(--white);
    font-size: 1.5rem;
}
.menu li {
    display: inline-block;
    margin: 2rem 0;
}
.menu li a {
    color: var(--white);
    padding: 0.6rem 2.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
    border-radius: 1.5rem;
}
.menu li a:hover {
    border: 1px solid var(--white);
    background-color: transparent;
}
.menu .btn {
    color: var(--black);
    background-color: var(--white);
    text-transform: uppercase;
    font-family: var(--fraunces);
}
.menu .btn:hover {
    color: var(--white);
    background-color: var(--light-moderate-blue);
    border: none;
}
.menu-btn {
    display: none;
}

/* hero section styling */
.home-section {
    background: url('images/home.jpg') no-repeat center;
    background-size: cover;
    height: 88vh;
    margin-top: 5rem;
    padding-top: 6rem;
    text-align: center;
    color: var(--white);
    font-family:  var(--fraunces);
    font-size: 4rem;
}
.home-section img {
    padding-top: 3rem;
    position: relative;
    animation-name: down;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}
@keyframes down {
    0% {
        top: 0;
    }
    100% {
        top: 40%
    }
}

/* about section styling */
.about-section {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.about-section .left-col {
    padding:  5rem 9rem;
    align-self: center;
    width: 50%;
}
.about-section .left-col h2 {
    font-family: var(--fraunces);
    font-size: 3rem;
    margin-bottom: 2rem;
}
.about-section .left-col p {
    color: var(--dark-grayish-blue);
    margin-bottom: 3rem;
    line-height: 2rem;
}
.about-section .left-col a {
    color: var(--black);
    font-family:  var(--fraunces);
    text-transform: uppercase;
    font-weight: 900;
    padding: 0 1rem;
    position: relative;
}
.about-section .left-col a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--yellow);
    opacity: 0.3;
    border-radius: 5px;
    transition: all 0.5s ease;
}
.about-section .left-col a:hover::before {
    background: var(--soft-red);
    height: 100%;
}
.about-section .right-col {
    width: 50%;
}
.about-section .right-col img {
    width: 100%;
}
.about-section2 {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: -5px;
}
.about-section2 .left-col2 {
    width: 50%;
} 
.about-section2 .left-col2 img {
     width: 100%;
     height: 100%;
}
.about-section2 .right-col2 {
    padding:  5rem 9rem;
    align-self: center;
    width: 50%;
}
.about-section2 .right-col2 h2 {
    font-family:  var(--fraunces);
    font-size: 3rem;
    margin-bottom: 2rem;
}
.about-section2 .right-col2 p {
    color: var(--dark-grayish-blue);
    margin-bottom: 3rem;
    line-height: 2rem;
}
.about-section2 .right-col2 a {
    color: var(--black);
    font-family:  var(--fraunces);
    text-transform: uppercase;
    font-weight: 900;
    padding: 0 1rem;
    position: relative;
}
.about-section2 .right-col2 a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--soft-red);
    opacity: 0.3;
    border-radius: 5px;
    transition: all 0.5s ease;
}
.about-section2 .right-col2 a:hover::before {
    height: 100%;
    background-color: var(--yellow);
}

/* services section styling */
.services-section {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    height: 85vh;
    text-align: center;
    color: var(--dark-desaturated-cyan);
    line-height: 2rem;
}
.services-section h2 {
    font-family: 'Fraunces', sans-serif;
    margin-bottom: 3rem;
}
.services-section .left-col {
    background-image: url('./images/desktop/image-graphic-design.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 5rem 12rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

}
.services-section .right-col {
    background-image: url('./images/desktop/image-photography.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 5rem 12rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* testimonial section start */
.testimonial-section {
    width: 100%;
    padding: 12rem 4rem;
    text-align: center;
    line-height: 2rem;
}
.testimonial-section h2 {
    color: var(--dark-grayish-blue);
    text-transform: uppercase;
    font-family:  var(--fraunces);
    letter-spacing: 0.5rem;
    margin-bottom: 5rem;
}
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0 7rem;
}
.card-content {
    padding: 2rem;
}
.card-content img {
    width: 6rem;
    margin-bottom: 4rem;
    border-radius: 50%;
}
.card-content p {
    color: var(--dark-grayish-blue);
    margin-bottom: 4rem;
}
.card-content span {
    font-family:  var(--fraunces);
    font-weight: 900;
    color: var(--very-dark-desaturated-blue);
}
.card-content cite {
    display: block;
    font-style: normal;
    color: var(--dark-grayish-blue);
}

/* projects section styling */
.projects-section {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.projects-section img {
    width: 25%;
}

/* footer section styling */
.footer-section {
    background-color: var(--footer-primary);
    padding: 5rem 0;
    text-align: center;
}
.footer-section a {
    color: var(--dark-desaturated-cyan);
}
.footer-logo {
    font-family:  var(--fraunces);
    font-weight: 900;
    font-size: 2rem;
    margin-bottom: 5rem;
}
.footer-section .footer-menu li {
    display: inline-block;
    margin-bottom: 7rem;
}
.footer-section .footer-menu li a {
    margin: 0 2rem;
}
.footer-section .footer-menu li a:hover,
.icon-links a:hover {
    color: var(--white);
}
.icon-links a {
    margin: 0 1rem;
}

.attribution {
     font-size: 11px;
      text-align: center; 
    }
.attribution a {
    color: hsl(228, 45%, 44%); 
}










