@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');




*,
*::before,
*::after {
    margin:0 ;
    padding:0;
    box-sizing:border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    text-decoration:none;
}
a {
    color:white;
}
button {
    color:black;
}
main {
    display:flex;
    flex-direction:column;
    align-items: center;
}
header {
    background-color:black;
    color:white;
    position:fixed;
    width:100%;
    display:flex;
    justify-content: center;
    align-items: center;
}
.header-contain {
    width:100%;
    max-width:1440px;
}
.header_top-bar {
    display:flex;
    justify-content: space-between;
    align-items:center;
    padding-inline: 6rem;
}
.header_top-bar img {
    width:2rem;
}
.guernsey-flag-container {
    display:flex;
    align-items:center;
    gap:1rem;
    font-size:0.8rem;
    font-weight:200;
}
.opening-times-container {
    display:flex;
    align-items: center;
    gap:1.5rem;
    font-size:0.8rem;
    font-weight:200;
}



nav {
    display:flex;
    justify-content: space-between;
    align-items: center;
    padding-inline:6rem;
    z-index:2;
}
header {
    z-index:2;
}
.logo-section img {
    width:12rem;
}
.nav-links ul {
    display:flex;
    list-style:none;
    align-items: center;
    gap:4rem;
    font-size:0.9rem;
    font-weight:600;
}
.nav-links button {
    padding:0rem 1rem;
    font-weight:700;
    background-color:white;
    border:3px solid white;
    transition:0.5s;
    
}
.burger {
    display:none;
}
nav ul li:nth-child(1)::before {
    content:"";
    width: 0px;
    height:2px;
    background-color:white;
    position:absolute;
    top:75%;
    transition:0.5s;
}
nav ul li:nth-child(1):hover::before {
    width:50px;
}
nav ul li:nth-child(2)::before {
    content:"";
    width: 0px;
    height:2px;
    background-color:white;
    position:absolute;
    top:75%;
    transition:0.5s;
}
nav ul li:nth-child(2):hover::before {
    width:70px;
}
nav ul li:nth-child(3)::before {
    content:"";
    width: 0px;
    height:2px;
    background-color:white;
    position:absolute;
    top:75%;
    transition:0.5s;
}
nav ul li:nth-child(3):hover::before {
    width:50px;
}
nav a {
    color:white;
    text-decoration:none;
}



nav ul:hover,
nav button {
    cursor:pointer;
}

nav ul li::before {
    content:"";
    width: 0px;
    height:2px;
    background-color:white;
    position:absolute;
    top:75%;
    transition:0.5s;
}
nav ul li:hover::before {
    width:70px;
}




/** Nav Media Queries
********************/

@media (max-width:884px) {
    .nav-links {
        display:none;
    }
    nav {
        padding-inline:2.5rem;
    }
    .burger {
        display:block;
    }
    .header_top-bar {
        padding-inline:2rem !important;
    }
}

@media (max-width:840px) {
    .opening-times-container p {
        display:none;
    }
    .display {
        display:block !important;
    }
   
}
@media (max-width:422px) {
    .header_top-bar {
        padding-inline:1rem;
    }
}
@media (max-width:333px) {
    .logo-section img {
        width:8rem;
    }
    nav {
        justify-content:center;
        align-items:center;
        padding-top:0.5rem;
        padding-bottom:0.5rem;
    }
    .burger {
        padding-inline:1.5rem;  
          
    }
}


/**********************
***********Products***/









.hero-section {
    
    background-repeat:no-repeat;
    background-size:cover;
}
.first-section {
    width:100%;
    display:flex;
    align-items: center;
    justify-content: center;
    background-image: url(../tinified/hero-redo.png);
    background-repeat:no-repeat;
    background-size:cover;
}
.hero-section {
    width:100%;
    max-width:1440px;
    display:flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
    padding: 12rem 6rem;
    padding-top:14rem; 
    color:white;
}
.hero-section h1 {
    font-size:3rem;
    text-align:center;
}
.hero-section p {
    font-size:1rem;
    font-weight:300;
    text-align:center;
}
.hero-section button {
    padding:0.5rem 2rem;
    font-size:1rem;
    font-weight:700;
    margin-top:1.5rem;
    cursor:pointer;
    border:2px solid white;
    background-color:white;
    transition:0.5s;

}



.hero-section button:hover {
    background-color:transparent;
    transition:0.5s;
    color:white;
}


/**** Media Queries for hero
***************************/

@media (max-width:826px) {
    .hero-section h1 {
        font-size:2.5rem;
    }
}
@media (max-width:713px) {
    .hero-section {
        padding-inline:4rem;
    }
}
@media (max-width:652px) {
    .hero-section button {
        padding-inline:1rem;
        font-size:0.9rem;
    }
    .hero-section h1 {
        font-size:2rem;

    }
    .hero-section p {
        font-size:0.9rem;
        margin-top:0.5rem;
    }
}
@media (max-width:525px) {
    
    .hero-section {
        padding-inline:2rem;
    }
}
@media (max-width:408px) {
    .hero-section {
        padding-inline:1rem;
    }
    .hero-section p {
        font-size:0.75rem;
    }
    .hero-section button {
        padding:0.4rem 0.8rem;
        font-size:0.8rem;
    }
}
@media (max-width:382px) {
    
}
@media (max-width:328px) {
    
    .hero-section {
        padding-inline:0.5rem;
    }
}















  


    





/*********/






/****************************************/
.product-cards {
    overflow:visible;
    padding-top:5rem;
    display:flex;
    flex-direction:column;
    align-items: center;
    justify-content:center;
    max-height:150rem;
    gap:0rem;
    width:100vw !important;
}
.best-seller-card-title {
    position:relative;
    overflow:visible;
    height:22rem;
    width:max-content !important;
    display:flex;
    justify-content: center;
    align-items:flex-end;
    padding-bottom:5rem;
    margin-bottom:6rem;
    align-self:center !important;
}
.pencil {
    position:absolute;
    left:-50%;
    top:5%;
    
}
.best-seller-title {
    font-size:2.5rem;
    align-self:flex-end;
    position:relative;
}
.product-card-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:1rem;
    place-items:end;
    overflow:visible;
    margin-bottom:10rem;
    /* width:55%; */
}
.best-seller-card {
    background-color:#F5F7FB;
    width:max-content;
    width:30rem;
    height:20rem;
    display:flex;
    align-items: center;
    justify-content: flex-start;
    padding:2rem;
    overflow:visible;
    position:relative;
    

}
.best-seller-card-title {
    align-self:flex-start;
    width:100%;
}
.best-seller-card h3 {
    font-size:1.5rem;
    width:70%;
}
.product-names {
    display:flex;
    flex-direction:column;
    align-items: flex-start;
    justify-content: center;
    gap:1rem;
    overflow:visible;

}
.product-first {
    right:0% !important;
    width:200px;
    position:absolute;
}

.product-fourth {
    width:125px ;
    position:absolute;
    right:5%;
   
}

.product-second {
    width:250px;
    position:absolute;
    right:1%;
}
.product-third {
    width:300px;
    right:-0% !important;
    position:absolute;
    
}
.best-seller-card button {
    padding:0.5rem 1.5rem;
    font-size:1rem;
    font-weight:bold;
    border-radius:0.75rem;
    border:1px solid black;
    background-color:#F5F7FB;
    transition:0.5s;
    
}
.best-seller-card button:hover {
    background-color:#1c1c1c;
    color:white;
    transition:0.5s;
    cursor:pointer;
}
.product-paragraph {
    width:80%;
    align-self:flex-start;
    padding-left:14.5rem;
    line-height:2.5;
    margin-bottom:10rem;
}

.best-seller-card h3 {
    width:100%;
}
.titles-for-shop-by-brand h3 {
    font-size:1.75rem;
    width:20ch;
}
.product-third {
    right:-5%;
}





@media (max-width:1016px) {
    .product-card-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width:632px) {
    .best-seller-title {
        font-size:1.75rem;
    }
    .pencil {
        width:12rem;
        top:35%;
    }
}
@media (max-width:524px) {
    .best-seller-card {
        width:25rem;
    }
    .best-seller-card img {
        width:9rem;
    }
    .product-fourth {
        width:6rem !important;
    }
    .best-seller-card h3 {
        font-size:1.25rem;
        z-index:3;
    }
    .best-seller-card button {
        width:6rem;
        font-size:0.8rem;
        padding-inline:0;
    }
}
@media (max-width: 448px) {
    .best-seller-card-title {
        height:max-content;
        margin-top:5rem;
    }
    .pencil {
        width:8rem;
        top:-40% !important;
        left:-30%;
    }
}
@media (max-width:428px) {
    .best-seller-card {
        width:18rem;
        height:15rem;
    }
    .best-seller-card h3 {
        font-size:0.9rem;
    }
    .best-seller-card p {
        font-size:0.7rem;
    }
    .best-seller-card button {
        width:5rem;
        font-size:0.8rem;
    }
    .product-names {
        width:50%;
    }
}
@media (max-width:362px) {
    .best-seller-title {
        width:50%;
    }
    .pencil {
        left:0;
    }
}
@media (max-width:328px) {
    .best-seller-card {
        width:15rem;
        flex-direction: column;
        justify-content: flex-end;
        height:25rem;
        
    }
    .product-names {
        text-align:center !important;
        display:flex;
        justify-content: center;
        align-items: center;
    }
    .product-fourth {
        left:30% !important;
    }
    .best-seller-card img {
        top:10%;
        left:20%;
    }
}



.product-data-grid {
    display:grid;
    padding-block:5rem;
    padding-inline:2rem;
    gap:10rem;
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 5rem;
    justify-content: center;
    align-items:center;
    align-self:center;
    
    
    
}
.shop-by-brand {
    display:flex;
    flex-direction:column;
    align-items:center;
}
#bestsell {
    font-size:3rem;
}

.gridItem h3
 {
    width:90%;
}
.titles-for-shop-by-brand {
    padding-inline:2rem;
    padding-top:3rem;
    text-align:center;
}
.gridItem p {
    width:90%;
    line-height:2;
    font-size:1rem;
}
.gridItem button {
    padding:0.3rem 1rem;
    background-color:white;
    border-radius:1rem;
    font-size:1rem;
    font-weight:bold;
    transition:0.5s;
    border:1px solid black;
    
}
.gridItem button:hover {
    background-color:black;
    color:white;
    transition:0.5s;
    cursor:pointer;
    border:1px solid black;
}
.gridContainer img {
    width:170px !important;
}
.containerOne {
    display:flex;
    font-size:0.5rem;
    width:100%;
    height:40%;
    display:flex;
    flex-direction:column;
    word-wrap:wrap;
    align-items: center;
    justify-content:flex-start;
    align-self:center;
    text-align:center;
    z-index:1;
 
}
.gridItem img {
    align-self:center;
    /* padding:2rem; */
    position:absolute;
    top:5%;
    left:50%;
    transform:translate(-50%)
}

.gridContainer:nth-child(4) img {
    width:100px !important;
    top:-5% !important;
    
}
.gridContainer:nth-child(8) img {
    width:150px !important;
    
    
}
.gridContainer:nth-child(4n) img {
    width:100px !important;
    top:5%;
}
.gridContainer:nth-child(17n) img {
    width:125px !important;
    top:5%;
}
.gridContainer:nth-child(12n) img {
    
    top:20%;
}


.gridItem {
    display:flex;
    flex-direction: column-reverse;
    justify-content: flex-start;
    align-items: center;
    border-radius:1rem;
    border-radius:0;
    width:100%;
    gap:0rem;
    height:21rem;
    gap:1rem;
}

.gridItem h3 {
    font-size:1rem;
}
.gridContainer {
    display:flex;
    flex-direction: column;
    justify-content:flex-end;;
    align-items: flex-start;
    max-height:100rem;
    padding:0;
    margin-bottom:0;
    height:21rem;
    position:relative;
    align-self:center;
}
.containerButton {
    align-self:center;
}
.containerOne {
    height:max-content;
    display:flex;
    justify-content: flex-end;
    align-self:center;
}




/*****************/
.display {
    font-weight:bold;
    font-size:0.85rem;
}

.gridTitle {
    font-weight:300;
}



@media (max-width:920px) {
    .product-data-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width:672px) {
    .titles-for-shop-by-brand h3 {
        font-size:1.75rem !important;
    }
    .titles-for-shop-by-brand p {
        font-size:0.8rem !important;
    }
}
@media (max-width:552px) {
    .product-data-grid {
        grid-template-columns: 1fr;
        
    }
    .containerOne h3{
        font-size:0.85rem !important;
    }
    .containerOne p{
        font-size:0.75rem !important;
    }
    .containerButton button {
        width:6rem;
        font-size:0.8rem;
    }
    .containerOne {
        display:flex;
        align-items: center;
        justify-content: center;
        width:max-content;
    }
}
@media (max-width:342px) {
    .titles-for-shop-by-brand h3 {
        font-size:1.25rem !important;
    }
}



.dropDown {
    transform:translateY(-100%);
    opacity:0;
    transition:0.5s;
    display:none;
    background-color:white ;
}
.dropDownAdd {
    transform:translateY(0);
    opacity:1;
    transition: 0.5s;
   
}
.contactNew {
    
    padding-block:0.25rem;
    width:6rem;
    font-weight:bold;
    align-self:flex-end;
    background-color:black;
    color:white;
    border:none;
    cursor:pointer;
}



.dropDownUlAdd {
    color:white !important ;
}
.dropDownButtonAdd {
    background-color:white;
    color:black;
}


@media (max-width:884px) {
    .nav-links {
        display:none;
    }
    
    nav {
        padding-inline:2.5rem;
    }
    .burger {
        display:block;
    }
    .dropDown {
        display:block;
    }
    .dropDown a {
        color:black;
        text-decoration:none;
    }
}

@media (max-width:884px) {
    .opening-times-container p {
        display:none;
    }
    .display {
        display:block !important;
    }
   
}
@media (max-width:333px) {
    .logo-section img {
        width:8rem;
    }
    nav {
        justify-content:center;
        align-items:center;
        padding-top:0.5rem;
        padding-bottom:0.5rem;
    }
    .burger {
        padding-inline:1.5rem;  
          
    }
}


.dropDown {
    position:absolute;
    background-color:white !important;
    color:black;
    padding:2rem;
    right:5%;
    width:12rem;
    text-align:right;

}
.dropDown ul {
    list-style:none;
    display:flex;
    flex-direction: column;
    gap:3rem;
    

}
.burger {
    cursor:pointer;
}
nav {
    position:relative;
}

.dropDownScroll {
    background-color:rgba(0, 0, 0, 0.8) !important ;
    color:white;
}

.hero-section-products button a {
    color:white;
    text-decoration:none;
}
.contactNew a {
    color:white;
}
.justadd {
    color:black !important;
}
/**********************/
footer {
    display:flex;
    background-color:#1a1a1a;
    width:100%;
    justify-content: center;
    align-items: center;
    padding:4rem;
    color:white;
    gap:6rem;
}
.footer-p {
    text-align:center;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    align-self:stretch;
    gap:1rem;
}
.footer-p-text {
    display:flex;
    flex-direction:column;
    gap:0.5rem;
}
.links-right {
    display:flex;
    flex-direction:column;
    gap:0.25rem;
    text-align:right;
}
.logo-footer {
    width:200px;
    
}
.links {
    display:flex;
    align-items: center;
    justify-content: center;
    flex-direction:column;
    color:white;
    align-self:flex-start;
    gap:2rem;
    text-align:center;
    font-weight:200;
}
.links img {
    width:30px;
}

/***********************/
.product-card-grid a {
    color:black;
}
.product-card-grid button:hover a,
.shop-by-brand button:hover a {
    color:white !important;
}
.shop-by-brand a {
    color:black !important;
}
/****************/

.seeMore:hover  {
    transition:0.5s;
    background-color:black;
    cursor:pointer;
    color:white;
}
.contactUs {
    background-color:transparent !important;
    color:white !important;
    transition:0.5s;

}
.contactUs:hover {
    background-color:white !important;
    color:black !important;
    transition:0.5s;
    cursor:pointer;
}
.contactButton:hover {
    background-color:transparent;
    color:white;
    transition:0.5s;
}

@media (max-width:1000px) {
    .footer-p {
        font-size:0.8rem;
    }
    .links {
        font-size:0.8rem;
    }
    .links-right {
        font-size:0.8rem;
    }
    .links img {
        width:20px;
    }
}
@media (max-width:666px) {
    footer {
        flex-direction:column;
        align-items:center !important;
    }
    .links {
        align-self:center;
    }
    .links-right {
        text-align:center !important;
    }
}

