/* =============
 table of contents
===============
1. global styles
2. header section
3. home section
4. men,women,kids section
5. pros section
6. subscribe section
*/

/* ===============
1. global style
================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    scroll-behavior: smooth
}
:root {
    --padding-top: 100px;
    --padding-bottom: 100px;
    --main-transition: 0.3s;
    --line-height: 1.7;
}
::-webkit-scrollbar {
    width: 0.88rem; 
}
::-webkit-scrollbar-track {
    border: 7px solid #fff;
}
::-webkit-scrollbar-thumb {
    background: #000;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.container {
    width: 85%;
    margin: auto
}
.flex {
    display: flex;
    align-items: center;
}
.title {
    width: 85%;
    margin: auto
}
.title h2 {
    font-size: 35px;
    margin-bottom: 10px
}
.title p {
    font-size: 17px;
    font-style: italic;
    color: #777
}
p {
    line-height: var(--line-height)
}
@media (max-width:992px) {
    .title h2 {
        font-size: 30px
    }
    .title p {
        font-size: 15px
    }
}
img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
a {
    text-decoration: none;
}
li {
    list-style: none;
}
/* ===============
2. header
================ */
header {
    height: 70px;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 10000;
}
header .container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
header .container .logo {
    transition: var(--main-transition)
}
header .container .logo:active {
    scale: .8
}
header .container nav ul.flex > li {
    height: 70px;
}
header .container nav li a {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: black;
    opacity: .5;
    transition: var(--main-transition)
}
header .container nav li a:hover {
    opacity: 1;
}
header .container nav .menu {
    display: none;
    cursor: pointer;
}
@media (max-width:768px) {
    header .container .logo {
        width: 150px
    }
    header .container nav .menu {
        display: block;
        font-size: 30px;
        cursor: pointer;
    }
    header .container nav ul {
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        flex-direction: column;
        overflow: hidden;
        background-color: rgb(0 0 0 / 90%);
        transition: 0.6s;
        z-index: 1000;
    }
    header .container nav ul li {
        width: 100%;
    }
    header .container nav ul li a {
        display: flex;
        justify-content: center;
        align-items: center;
        color: white !important
    }
}
@media (max-width:922px) {
    header .container nav ul li a {
        font-size: 15px;
        padding: 0 10px;
    }
}
/* ===============
3. home section
================ */
.home .grid {
    display: grid;
    grid-template-areas: 
        "box-1 box-1 box-2 box-3"
        "box-1 box-1 box-4 box-5";
    gap: 20px;
}
.home .grid .box {
    position: relative;
}
.home .grid .box .banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    text-align: center;
    color: white
}
.home .grid .box:first-of-type .banner h1 {
    font-size: 50px
}
.home .grid .box:first-of-type .banner p {
    font-size: 20px;
    margin: 15px 0
}
.home .grid .box:first-of-type .banner a {
    display: inline-block;
    color: white;
    border: 1px solid white;
    padding: 6px 16px;
}
@media (max-width:500px) {
    .home .grid {
        grid-template-areas:
            "box-1"
            "box-2"
            "box-3"
            "box-4"
            "box-5";
        gap: 10px;
    }
    .home .grid .box:first-of-type .banner h1 {
        font-size: 30px
    }
    .home .grid .box:first-of-type .banner p {
        font-size: 18px;
    }
    .home .grid .box:first-of-type .banner a {
        font-size: 15px
    }
}
@media (min-width:501px) and (max-width:768px) {
    .home .grid {
        grid-template-areas:
        "box-1 box-1 box-1 box-1"
        "box-2 box-3 box-4 box-5";
        gap: 10px;
    }
    .home .grid .box .banner h2 {
        font-size: 20px
    }
}
/* ===============
4. men,women,kids section
================ */
.men,
.women,
.kids {
    position: relative;
    padding-top: var(--padding-top);
    padding-top: var(--padding-top);
}
.men .container,
.women .container,
.kids .container {
    margin-top: 50px;
    gap: 20px;
}
.men .container .card,
.women .container .card,
.kids .container .card {
    flex: 1;
}
.men .container .card .box,
.women .container .card .box,
.kids .container .card .box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0
}
.men .container .card p,
.women .container .card p 
.kids .container .card p {
    color: #777;
    font-size: 15px
}
.men button,
.women button, 
.kids button {
    display: block;
    margin: 30px auto 0;
    border: 1px solid;
}
.men button a,
.women button a,
.kids button a {
    display: inline-block;
    font-size: 16px;
    color: #000;
    background-color: #fff;
    padding: 7px 15px;
    transition: var(--main-transition)
}
.men button:hover a,
.women button:hover a,
.kids button:hover a {
    background-color: #000;
    color: white;
}
@media (max-width:768px) {
    .men .container,
    .women .container, 
    .kids .container {
        flex-direction: column;
    }
    .men .container .card,
    .women .container .card,
    .kids .container .card {
        width: 100%;
    }
}
@media (max-width:992px) {
    .men .container .card .box h3,
    .women .container .card .box h3,
    .kids .container .card .box h3 {
        font-size: 16px
    }
    .men .container .card .box ul.rate,
    .women .container .card .box ul.rate,
    .kids .container .card .box ul.rate {
        font-size: 13px
    }
    .men button a, 
    .women button a,
    .kids button a {
        font-size: 14px
    }
}
/* ===============
5. Pros section
================ */
.pros {
    padding-top: var(--padding-top);
    padding-bottom: var(--padding-bottom)
}
.pros .container {
    display: flex;
    justify-content: space-between ;
    align-items: center;
    gap: 20px
}
.pros .container .text h2 {
    font-size: 35px;
    margin-bottom: 15px
}
.pros .container .text p {
    color: #777;
    font-size: 17px;
    line-height: var(--line-height);
    margin-bottom: 10px
}
.pros .container .text p:first-of-type {
    font-style: italic
}
.pros .container .text q {
    font-size: 17px;
    font-style: italic
}
.pros .container .grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: repeat(2,1fr);
    gap: 20px
}
.pros .container .grid .box {
    width: 200px;
    height: 200px;
}
.pros .container .grid .box-1,.box-4 {
    background-color: #dddddd;
    text-align: center;
    display: grid;
    align-content: center;
    padding: 10px
}
.pros .container .grid .box-1 h3,
.pros .container .grid .box-4 h3  {
    font-size: 22px;
    margin-bottom: 10px;
}
.pros .container .grid .box-1 p,
.pros .container .grid .box-4 p{
    font-style: italic
}
@media (max-width:992px) {
    .pros .container {
        flex-direction: column;
        text-align: center
    }
    .pros .container .text h2 {
        font-size: 30px
    }
    .pros .container .text p {
        font-size: 15px
    }
    .pros .container .text q {
        font-size: 15px;
    }
    .pros .container .grid {
        width: 85%;
        gap: 10px
    }
    .pros .container .grid .box {
        width: 100%;
        height: 100%;
    }
    .pros .container .grid .box-1 h3,
    .pros .container .grid .box-4 h3 {
        font-size: 19px;
    }
    .pros .container .grid .box-1 p,
    .pros .container .grid .box-4 p{
        font-size: 15px
    }
}
/* ===============
6. subscribe section
================ */
.subscribe {
    padding-top: var(--padding-top);
    padding-bottom: var(--padding-bottom);
    border-top: 1px solid #777;
    border-top-style: dashed;
}
.subscribe .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}.subscribe .container .form {
    flex-basis: 60%
}
.subscribe .container .form h2 {
    font-size: 40px
}
.subscribe .container .form p {
    color: #777;
    font-size: 17px;
    font-style: italic;
    margin:20px 0
}
.subscribe .container .form form {
    display: flex;
    align-items: center;
    gap: 20px
}
.subscribe .container .form form input {
    padding: 7px 20px;
    outline: none
}
.subscribe .container .form form i {
    background-color: #000;
    color: #fff;
    padding: 7px;
    font-size: 20px;
    cursor: pointer;
    transition: var(--main-transition)
}
.subscribe .container .info {
    flex-basis: 30%
}
.subscribe .container .info .grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: repeat(2,1fr);
    gap: 20px
}
.subscribe .container .info .grid .box h3 {
    margin-bottom: 5px
}
.subscribe .container .info .grid .box p {
    color: #777;
    font-size: 16px
}
@media (max-width:550px) {
    .subscribe .container .form form {
        flex-direction: column
    }
    .subscribe .container .form form input {
        width: 100%
    }
    .subscribe .container .info .grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width:768px) {
    .subscribe .container .form h2 {
        font-size: 30px
    } 
}
@media (max-width:992px) {
    .subscribe .container {
        flex-direction: column;
        text-align: center;
        gap: 30px
    }.subscribe .container .form,.info {
        width: 100%
    }
    .subscribe .container .form form {
        justify-content: center
    }
}
/* ===============
7. footer section
================ */
footer {
    background-color: #000;
    padding: 50px 0;
    color: white
}
footer .info .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px
}
footer .info .container .box {
    flex: 1
}
footer .info .container .box a {
    display: block;
    color: #777;
    padding-bottom: 10px;
    opacity: .5;
    transition: var(--main-transition)
}
footer .info .container .box a:hover {
    opacity: 1;
    padding-left: 20px
}
footer .info .container .box:first-of-type img {
    width: 180px
}
footer .info .container .box:first-of-type p {
    margin-top: 10px;
    color: #777
}
footer .info .container .box:not(:first-of-type) h3 {
    margin-bottom: 15px
}
footer .copyright hr {
    border-color: #777;
    margin: 30px 0
}
footer .copyright p {
    text-align: center;
    color: #777
}
footer .copyright .media {
    text-align: center;
    margin-top: 15px;
}
footer .copyright .media a {
    display: inline-block;
    color: #777;
    font-size: 25px;
    padding: 0 5px;
    transition: var(--main-transition)
}
footer .copyright .media a:hover {
    color: white;
    transform: scale(1.2)
}
@media (max-width:768px) {
    footer .info .container {
        flex-direction: column;
        text-align: center
    }
    footer .info .container .box {
        width: 100%
    }
    footer .info .container .box:first-of-type img {
        width: 150px;
        margin: auto
    }
}