/* menu-bar */
nav.menu-bar{
    position: relative; 
    z-index: 10; 
    background-color: #FDF6F0;
}
nav.menu-bar a{
    background-color: #C79DA3;
    color: #FDF6F0;
}

/* container - 1 */
section.container-one {
        /* border:red solid 1px; DEBUG ONLY */
    top:0;
    /* width: 100%; */
    z-index:1;
    position: relative;
    margin-top:-100px;
    border-radius: 0px 0px 100px 100px;
    padding:60px;
    background-color: #C79DA3;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

div.purple-box {
    /* border: purple solid 1px; */
    width: 100%;
    max-width: 1024px;
    height:100%;
    margin:auto;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-bottom: 40px;
    margin-top: 120px;
    gap: 15px;
}
h1.page-title {
    /* border:gray 1px solid; */
    width: 100%;
    display: block;
    margin:0;
    flex:1;
    color:#FDF6F0;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}
p.subtitle {
    /* border:gray 1px solid; */
    display: block;
    width: 100%;
    margin:0;
    flex:1;
    color:#FDF6F0;
    text-align: center;
    font-size: clamp(1.1rem, 2vw + 0.25rem, 1.25rem);
    font-weight: 300; 
}
div.project-buttons {
    /* border:pink 1px solid; */
    display: flex;
    flex:1;
    margin:0;
    margin-top:25px;
    justify-content:space-around;
    max-height: max-content;
    flex-wrap: wrap;
    gap:5px;
    width: 100%;
}
.project-buttons a {
    border:none;
    background-color: #B76E60;
    border-radius: 100px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    color: #FDF6F0;
    font-weight: 300;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    line-height: 1.2;
    transition: color 0.2s ease;
    flex:0 1 1;
    height: 40px;
    width: 200px;
    text-decoration: none;
    text-align: center;
    align-content: center;
}
.project-buttons a.other-proj {
    background-color: #D9B87D;
}

/* pseudo-class */
.project-buttons a:hover {
    /* border:#D9B87D solid 1.5px; */
    transition: color 0.2s ease;
    transform:scale(1.01);
}
.project-buttons a:active {
    background-color:#D9B87D;
    transform: scale(0.99);
    transition: color 0.2s ease;
}
.project-buttons a.other-proj:active {
    background-color: #B76E60;
}

/* Gallery */
section.featured-projects {
    /* border: purple solid 1px; */
    width: 100%;
    max-width: 1024px;
    height:100%;
    margin:auto;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-bottom: 60px;
    margin-top: 60px;
    gap: 50px;
}

article.first-project {
    /* border: grey solid 1px; */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-content: center;
    align-items: center;
}

.gallery-container {
    border: 15px solid #D9B87D;
    max-height: 440px;
    max-width: 500px;
    flex: 0 1 auto;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.gallery-container div {
  /* border: #D9B87D solid 5px; */
  border-radius: 25px;
  overflow: hidden; 
}

.gallery-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

div.description {
    /* border:pink solid 1px; */
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    flex:1;
    max-width: 340px;
    padding:30px;
    gap:15px;
}
div.description h2 {
    /* border:green solid 1px; */
    display:block;
    margin:0;
    color: #58524B;
    text-align: center;
}
div.description p {
    /* border:green solid 1px; */
    display:block;
    margin:0;
    color: #58524B;
    text-align: center;
}
div.description h3 {
    /* border:green solid 1px; */
    display:block;
    margin:0;
    color: #58524B;
    text-align: center;
}
div.description ul {
    /* border:green solid 1px; */
    display:block;
    margin:0;
}
ul.tools-list li{
    /* border: solid 1px orange; */
    color: #58524B;
    text-align: center;
}

article.second-project {
    /* border: grey solid 1px; */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-content: center;
    align-items: center;
}

article.third-project {
    /* border: grey solid 1px; */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-content: center;
    align-items: center;
}

a.description-button {
    /* border:orange solid 1px; */
    margin:15px;
    border:none;
    background-color:#D9B87D;
    border-radius: 100px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    color: #FDF6F0;
    font-weight: 300;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    line-height: 1.2;
    transition: color 0.2s ease;
    flex:0 1 1;
    height: 40px;
    width: 200px;
    text-decoration: none;
    text-align: center;
    align-content: center;
    font-size: clamp(0.875rem, 1.5vw + 0.25rem, 1rem);
}
/* @media */
@media(max-width: 1000px){
    div.gallery-container {
        margin-left: 15px;
        margin-right: 15px;
    }
    article.first-project, article.second-project, article.third-project {
        flex-direction: column;
    }
    div.description {
        max-width: fit-content;
    }
}
@media(max-width: 600px) {
    section.container-one {
        margin-top:-130px;
    }
}

/*pseudo-code */
img:hover {
    transform:scale(1.01);
}

div.description a:hover{
    transform:scale(1.01);
}

div.description a:active{
    background-color:#B76E60;
    transform: scale(0.99);
    transition: color 0.2s ease;
}
/* container - purple */
section#container-purple {
    /* border:1px solid red; */
    margin-top:120px;
    background-color: #C79DA3;
    border-radius: 100px 100px 0px 0px;
    padding:60px;
    box-shadow: 0 -5px 8px -3px rgba(0,0,0,0.1); 
}

h2.cards-title{
    /* border:grey 1px solid; */
    color: #FDF6F0;
    display: block;
    justify-content: center;
    align-content: center;
    text-align: center;
}

div.cards-container {
    /* border:1px solid purple; */
    width: 100%;
    max-width: 1024px;
    height:100%;
    margin:auto;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 160px;
    gap: 25px;
    justify-content: space-evenly;
}

article.card-one {
    /* border:1px solid gray;  */
    flex:1 1 auto;
    background-color: #FDF6F0;
    border-radius: 50px;
    display:flex;
    flex-direction: column;
    align-items: center;
    padding:25px;
    max-width: 250px;
    justify-content: flex-start;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
article.card-one div{
    /* border:1px solid green;  */
    height: 60px;
    width: 60px;
    align-content: center;
}
#icon-one {
  filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.1));
}
article.card-one h3{
    /* border:1px solid green; DEBUG ONLY */
    display: block;
    margin:0;
    flex:1;
    margin-top:5px;
    text-align: center;
    align-content: center;
    color: #58524B;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
    line-height: 1.3;
    max-height: 60px;
}

article.card-two {
    /* border:1px solid gray; DEBUG ONLY */
    flex:1 1 auto;
    background-color: #FDF6F0;
    border-radius: 50px;
    display:flex;
    flex-direction: column;
    align-items: center;
    padding:25px;
    max-width: 250px;
    justify-content: flex-start;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
article.card-two div{
    /* border:1px solid green; DEBUG ONLY */
    height: 60px;
    width: 60px;
    align-content: center;
}
#icon-two {
  filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.1));
}
article.card-two h3{
    /* border:1px solid green; DEBUG ONLY */
    display: block;
    margin:0;
    flex:1;
    margin-top:5px;
    text-align: center;
    align-content: center;
    color: #FDF6F0;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
    line-height: 1.3;
    color: #58524B;    
    max-height: 60px;
    justify-content: flex-start;

}

article.card-three {
    /* border:1px solid gray;  */
    flex:1 1 auto;
    background-color: #FDF6F0;
    border-radius: 50px;
    display:flex;
    flex-direction: column;
    align-items: center;
    padding:25px;
    max-width: 250px;
    justify-content: flex-start;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
article.card-three div{
    /* border:1px solid green;  */
    height: 60px;
    width: 60px;
    align-content: center;
}
#icon-three {
  filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.1));
}
article.card-three h3{
    /* border:1px solid green;  */
    display: block;
    margin:0;
    flex:1;
    max-height: 60px;
    margin-top:5px;
    text-align: center;
    align-content: center;
    color: #FDF6F0;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
    line-height: 1.3;
    color: #58524B;
}

article ul{
    /* border:#58524B solid 1px; */
    display:flex;
    flex-direction: column;
    list-style: none;
    padding:0;
    margin:0;
    margin-top: 5px;
}
div.cards-container li{
    /* border:orange solid 1px;  */
    color:#58524B;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    font-weight: 300;
    line-height: 1.6;
    display: block;
    flex:1;
    margin-top: 5px;
    text-align: center;
}

    /* pseudo-class */
article.card-one:hover {
    transform:scale(1.01);
}
article.card-two:hover {
    transform:scale(1.01);
}
article.card-three:hover {
    transform:scale(1.01);
}


/* container - 2 */
section.container-two {
    /* border:1px solid red; */
    margin:auto;
    position: relative;
    padding-top:1px;
    top:-100px;
    background-color: #FDF6F0;
    border-radius:100px 100px 0px 0px;
    box-shadow: 0 -4px 3px -3px rgba(0,0,0,0.1);
    padding-bottom: 80px;
}

div.container-explore{
    /* border:1px solid purple;  */
    /* width: 100%; */
    max-width: 1024px;
    height:100%;
    margin:auto;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-top: 60px;
    padding-left: 30px;
    padding-right: 30px;
}

h2.CTA-explore {
    /* border:1px solid gray;  */
    width: 100%;
    text-align: center;
    display: block;
    color: #C79DA3;
    /* margin:0; */
    margin-bottom: 15px;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
    flex:1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

p.CTA-subtitle {
    /* border:1px solid gray; DEBUG ONLY */
    text-align: center;
    margin:0;
    margin-bottom: 30px;
    font-weight: 300;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.5;
    color: #58524B;
    display: block;
    flex:1;
    width: 100%;
}
div.explore-buttons{
    /* border:1px pink solid; */
    display: flex;
    justify-content: space-around;
    width: 100%;
    flex-wrap: wrap;
    gap:15px;
}

a.red-click {
    /* border:1px solid green; DEBUG ONLY */
    border:none;
    background-color: #B76E60;
    border-radius: 100px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    color: #FDF6F0;
    font-weight: 300;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    line-height: 1.2;
    transition: color 0.2s ease;
    flex:0 1 1;
    height: 40px;
    width: 250px;
    text-decoration: none;
    text-align: center;
    align-content: center;
}

/* pseudo-class */
a.red-click:hover {
    /* border:#D9B87D solid 1.5px; */
    transition: color 0.2s ease;
    transform:scale(1.01);
}
a.red-click:active {
    background-color:#D9B87D;
    transform: scale(0.99);
    transition: color 0.2s ease;
}

@media(max-width: 600px) {
    body{
        padding-left:15px;
        padding-right:15px;
    }
}

@media(max-width: 480px) {
    body{
        padding-left:5px;
        padding-right:5px;
    }
}