@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,600,700&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600&f[]=cabinet-grotesk@400,500&display=swap');

html,
body {
    margin: 0;
    padding: 0;
    max-height: fit-content;
    font-family: 'Cabinet Grotesk', sans-serif;
    font-weight: 300;
    background-color: #b9b9b9;
    color: #332e22;
    
}

h1,
h2,
h3 {
    font-family: 'Clash Display', sans-serif;
    font-weight: 600;
    text-shadow: 2px 2px 0 #f9f8f5;
}

p{
    color: #332e22 !important;
}

.confirm-button {
    background-color: #AFA07C;
    font-weight: 300 !important;
}

.generate-button{
    background-color: #B26235;
    font-weight: 300 !important;
}

.confirm-button,
.generate-button {
    margin: 0 4px;
    border-radius: 1rem;
    border: none;
    font-weight: 100;
    color: #f9f8f5;
    padding: .5rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
}

.confirm-button:hover {
    background-color: #332e22;
    color: white;
}

.generate-button:hover{
    background-color: #914D2C;
    color: white;
}

button {
    margin-bottom: 10px;
}

img {
    -webkit-user-select: none; 
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none; 
}

.container{
    border-radius: 1.2rem;
}

.copy-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: hwb(0 26% 74% / 0.93);
    color: #fff;
    padding: 10px 20px;
    border-radius: .3rem;
    z-index: 9999;
    display: none;
    margin-bottom: 2rem;
}

@media(max-width: 1440px){
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1; 
        backdrop-filter: blur(4px);
    }
    
    .hero * {
        position: relative;
        z-index: 2;
    }

    .arrow{
        margin-bottom: 10rem;
    }
    
    .post-section {
        width: 100% !important;
        margin: 0 auto important;
    }

}

@media (max-width: 768px) {
    .copy-notification {
        bottom: 70px;
    }

    .swatch {
        width: 100%;
        height: 20vh;
    }

    .newsletter-section{
        padding: 0 !important;
    }

    .feature{
        margin-right: 0 !important;
    }
    
}

@media (max-width: 990px){
    #userInput{
        margin-top: 1.5rem !important;
        margin-left: 1.5rem !important;
    }
    
    body{
        animation: none;
    }

    .arrow {
        transform: rotate(-90deg);
    }

    .about-section{
        padding: 0 !important; 
    }


}

@media (max-width: 576px) {
    .arrow {
        transform: rotate(-45deg) !important;
    }

    .swatch {
        width: 100%;
        height: 20vh;
    }

}

@media(max-width: 380px){
    .hero-body{
        padding-bottom: 7rem;
    }
}

.arrow {
    transform: rotate(-30deg);
}

.nav-link {
    color: #332e22;
}

.nav-item{
    list-style: none;
}

.about-section{
    padding: 5rem;
}

.nav-link:hover {
    opacity: .7;
}

.dropdown-toggle{
    color: #332e22 !important;
}

.dropdown-toggle:hover{
    color: #332e22 !important;
}

.dropdown-item:active,
.dropdown-item.active {
    background-color: #B26235;
    outline: none;
    border: none;
}

.palette-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#paletteContainer {
    display: none;
    max-width: 100vw;
}

.swatch {
    position: relative;
    height: 20vh;
}

.swatch::after {
    content: attr(data-hex);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.swatch:hover::after {
    border: solid;
    padding-left: 8rem;
    padding-right: 8rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius: .5rem;
}

.feature {
    padding: 1.5rem;
    border-radius: 1rem;
    flex-grow: 1;
    max-width: 300px;
    margin-right: 1rem;
    margin-top: 1rem;
    border: 3px solid #f9f8f5;
    box-shadow: 3px 3px #332e22;
    background-color:hsla(0, 0%, 100%, 0.3);
}

.footer {
    background-color: #f9f8f5;
}

.footer.container.row {
    align-items: center;
}

.footer p{
    color: #332e22;
}

.footer a:hover{
    color: black;
}

#logo {
    max-width: 7rem;
}

.navbar-brand {
    margin-right: .5rem;
}

.navbar{
    background-color: #f9f8f5;
}

.input{
    background-color: #e4e4e4 !important;
}

.hero {
    position: relative;
    background-image: url('Palette.png');
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover; 
    background-repeat: no-repeat;
}


.hero-body{
    background-color:hsla(0, 0%, 100%, 0.6);
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: 4px 4px #332e22;
    border: 3px solid #f9f8f5;
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(8px);
}

.navbar-toggler {
    border: none;
    margin: 0;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav,
.nav-link{
    z-index: 9999;
}

.btn-subscribe {
    background-color: #B26235;
    color: #f9f8f5;
    border-radius: 1rem;
}

.btn-subscribe:hover {
    color: #f9f8f5;
    background-color: #914D2C;
}

.form-control {
    border-radius: 1rem;
    background-color: rgba(255, 255, 255, 0.4);
    color: #332e22;
}

.btn-coffee {
    padding: .5rem;
    border-radius: 1rem;
    border: solid #AFA07C .15rem;
    font-weight: 300;
    font-size: 14px;
    color: #332e22;
}

.btn-coffee:hover {
    border: solid #B26235 .15rem;
}

.btn-home{
    padding: .5rem;
    margin-top: .5rem;
    background-color: #AFA07C;
    border-radius: 1rem;
}

.btn-home:hover{
    background-color: #B26235;
}

.btn-contact{
    background-color: #B26235;
    color: #f9f8f5;
    border-radius: 2rem;
}

.btn-contact:hover{
    background-color: #914D2C;
    color: #f9f8f5;
}

.btn-seemore{
    margin-top: .5rem;
    background-color:#AFA07C;
    border-radius: 1rem;
    color: #f9f8f5;
}

.btn-seemore:hover{
    background-color:#332e22;
    color: #f9f8f5;
}

.headline{
    margin-top: 2rem;
}

a{
    color: #332e22;
    text-decoration: none;
}

a:hover{
    text-decoration: none;
    color: #332e22;
}

.contact{
    padding: 3rem;
    margin-top: 2rem;
    margin-right: 1rem;
    border-radius: 2rem;
    max-width: 25rem;
    border: 3px solid #f9f8f5;
    box-shadow: 3px 3px #332e22;
    background-color:#cdcdcdc0;
}

.column {
    overflow-y: scroll;
}

.headings,
.column{
    max-height: 700px;
}

.headings{
    align-items: center;
    justify-content: center;
    display: flex;
}

.headings ul{
    border: 3px solid #f9f8f5;
    box-shadow: 3px 3px #332e22;
    background-color:#cdcdcdc0;    
    padding: 2rem;
    border-radius: 2rem;    
}

ul{
    list-style-type: none;
    padding: 0;
}

#userInput{
    border-radius: 1rem;
    border: none;
    background-color: rgba(255, 255, 255, 0.4);
    padding: .5rem;
}


@media(min-width: 992px)
{
    .contact-section{
        height: 75vh;
    }

    .arrow{
        margin-left: 3rem;
        margin-top: 3rem;
        transform: rotate(-60deg);
    }
}

#timestamp{
    font-weight: bold;
}

p{
    color: #131415;
}

.color-box {
    height: 6rem;
    display: flex;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    border-radius: 1rem;
    cursor: pointer;
}
.color-name {
    text-align: center;
    margin-top: 10px;
    font-size: 1rem;
}

#colorContainer{
    border: 3px solid #f9f8f5;
    box-shadow: 3px 3px #332e22;
    background-color:#cdcdcdc0;
    padding: 2rem;
    margin-top: 2rem;
    border-radius: 3rem;
}

.post-section {
    width: 40%;
    margin: 0 auto;
}

.post-img{
    width: 100% !important;
    object-fit: cover !important;
    max-height: 400px !important;
}

.blog-card-img{
    height: 250px;
    object-fit: cover;
}

.small-text{
    font-size: .8rem;
}

.category {
    text-transform: uppercase;
    padding: 0.4rem 0.8rem; 
    border: 1px solid #332e22; 
    border-radius: 1rem;
    display: inline-block; 
    cursor: pointer;
    background-color: transparent;
    color: #333333; 
    transition: background-color 0.3s ease, color 0.3s ease;
}

.category:hover {
    background-color: #332e22; 
    color: white; 
}

.card-title,
.main{
    color: #332e22 !important; 
}

.blog-content img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 1rem auto;
}

.latest-blog-card {
    display: flex;
    flex-direction: column; 
    height: 100%;
    box-shadow: 3px 3px #332e22;
    background-color:hsla(0, 0%, 100%, 0.3);
    border: 3px solid #f9f8f5;
    border-radius: 1rem;
}

.latest-blog-card img {
    height: 13rem;
    object-fit: cover; 
    border-radius: 1rem 1rem 0 0;
}

.latest-blog-card .card-body {
    flex-grow: 1;
}

.blog-card{
    box-shadow: 3px 3px #332e22;
    background-color:hsla(0, 0%, 100%, 0.3);
    border: 3px solid #f9f8f5;
    border-radius: 1rem;
}

.blog-card img{
    border-radius: 1rem 1rem 0 0;
}

.navbar-img{
    width: 5%;
    height: 5%;
}
