@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    transition: .2s ease;
}

html{
    font-size: 62.5%
}

body {
    width: 100%;
    background-color: #f0f8ff;
    overflow: hidden;
    padding: 0 10%;
}

.branding {
    font-size: 3rem;
    font-weight: bold;
}

.btn {
    background-color: transparent;
    border: none;
    outline: none;
    display: inline-block;
    margin: 0 1rem;
    cursor: pointer;
}

.btn-dark {
    background-color:teal;
    color: #f0f8ff;
    width: fit-content;
    padding: .8rem ;
    border-radius: .5rem;
    box-shadow: .4rem .6rem 20px 0 rgba(0, 128, 128, 0.566);
}
.nav-toggler {
    background-color:teal;
    color: #f0f8ff;
    width: fit-content;
    padding: .8rem 1rem;
    border-radius: .5rem;
    box-shadow: .4rem .6rem 20px 0 rgba(0, 128, 128, 0.566);
    font-size: 2rem;
    display: none;
}
nav .nav-close {
    font-size: 3rem;
    position: absolute;
    right: 2rem;
    top: 2rem;
    color: white;
    display: none;
    background-color: transparent;
    outline: none;
    border: none;
}


header {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    font-size: 1.7rem;
    color: #546b66;
    text-decoration: none;
    transition: .2s ease;
}
nav a:hover{
    color: orangered;
}

nav .menu {
    display: flex;
    gap: 2rem;
}

.hero {
    display: flex;
    flex-wrap: wrap;
}

.hero .left,
.hero .right {
    flex: 1 1 400px;
    max-height: 40rem;
}

.hero .right img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: all .3s ease;
    border: 4px solid #98aea58e;
}
.hero .right{
    display: flex;
    justify-content: end;
}
.hero .left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.heading {
    font-size: 3rem;
    color: #546b66;
    font-weight: normal;
    letter-spacing: 5px;
}

.color-row {
    display: flex;
    align-items: flex-start;
    justify-content: start;
    gap: 2rem;
    font-size: 2rem;
}

.color-row span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 4px solid #93b0a38e;
    background-color: teal;
    display: inline-block;
    cursor: pointer;
}
.color-row span:nth-child(2) {
    background-color: white;
}
.color-row span:nth-child(3) {
    background-color: orangered;
}

.hero-text , .footer-text{
    font-size: 1.3rem;
}


/* footer ============ */

.hero-footer {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin-top: 5rem;
    flex-wrap: wrap-reverse;
}
.img {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.img img {
    width: 8rem;
    height: 8rem;
    border: 3px solid rgba(255, 255, 255, 0.452);
    box-shadow: 4px 4px 10px -5px #53685f8e;
    object-fit: cover;
    transition: .3s ease;
}

.img img.active {
    border-color: #546b66;
    transform: scale(1.15);
}

.hero-footer .box .fa-brands{
    font-size: 2rem;
    margin: 0 1rem;
    background-color: #546b66;
    padding: .5rem;
    color: white;
}
.addtowish{
    font-size: 2rem;
}.addtowish:hover{
    color: orangered;
}

.owner_info{
    font-size: 1rem;
    color:white;
    border-radius: 4px;
    text-align: center;
    display: block;
    background-color: orangered;
    padding: .4rem;
    width: fit-content;
    margin: 4rem auto 0;
}

/* media  */

@media(max-width:990px){
    html{
        font-size: 55%;
    }
}

@media(max-width:778px){
    html{
        font-size: 50%;
    }
    .nav-toggler , .nav-close {
        display: block!important;
    }

    .menu{
        position: absolute;
        left: 50%;
        top: 100%;
        transform: translate(-50% , -50%);
        width: 90%;
        height: 40rem;
        background-color: #00000029;
        display: flex;
        flex-direction: column;
        padding: 4rem;
        z-index: 100;
        backdrop-filter: blur(20px);
        border: 2px solid rgb(199, 228, 228);
        border-radius: 1rem;
        opacity: 0;
        visibility: hidden;
        transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 0 100px 20px #0000002d;
    }
    .menu.active_nav{
        opacity: 1;
        visibility: visible;
        top: 50%;
    }
    .menu a{
        color: white;
    }
    .hero-footer{
        gap: 3rem;
    }
    .hero{
        gap: 3rem;
    }
    .btn{
        font-size: 1rem;
    }
    .color-row{
        gap: 1rem;
        font-size: 1.4rem;

    }
    .color-row span{
        width: 2rem;
        height: 2rem;
    }

    .hero-footer{
        margin-top: 1rem;
    }
    .hero-text{
        font-size: 1.2rem;
    }
    .hero-footer .box .img{
        justify-content: space-evenly;
        gap: 1.2rem;
    }
}
