@font-face {
    font-family: 'DM Sans';
    src: url(https://hervoicemw.com/files/fonts/web-fonts/DM_Sans/DMSans-VariableFont_opsz\,wght.ttf) format("truetype-variations");
    font-weight: 200 300 400 500 600 700 800 900;
}

@font-face {
    font-family: 'AGP';
    src: url(https://hervoicemw.com/files/fonts/web-fonts/adobe-garamond-pro-2-cufonfonts/AGaramondPro-Regular.otf);
}

@font-face {
    font-family: 'AGPB';
    src: url(https://hervoicemw.com/files/fonts/web-fonts/adobe-garamond-pro-2-cufonfonts/AGaramondPro-Bold.otf);
}

@font-face {
    font-family: 'AGPI';
    src: url(https://hervoicemw.com/files/fonts/web-fonts/adobe-garamond-pro-2-cufonfonts/AGaramondPro-Italic.otf);
}

*{
    margin: 0px;
    margin: 0px;
}

a{
    text-decoration: none;
    color: unset;
}

body{
    font-family: 'DM Sans';
    scroll-behavior: smooth;
}


/* Header */


header{
    position: relative;
    background: rgb(233, 228, 228);
    color: white;
    background: #111;
    display: flex;
    justify-content: center;
}


/* Header */


._header{
    width: 85%;
    padding: 16px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}


/* Header : Mobile */


._header-mobile{
    display: none;
}

._header-mobile button{
    width: 48px;
    height: 48px;
    padding: 7px;
    border: none;
    border-radius: 48px;
    font-size: 21px;
    color: white;
    background: transparent;
    cursor: pointer;
}


/* Title */


._title img{
    height: 34px;
}


/* Menu */


nav{
    display: flex;
    align-items: center;
    gap: 37px;
}

._option{
    padding: 10px 0px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

._option i{
    font-size: 14px;
    transition: all 0.4s;
}

._option:hover i{
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

._options{
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
}


/* Drop */


._drop{
    position: absolute;
    top: 40px;
    right: 0px;
    width: 400px;
    padding: 40px;
    box-shadow: 0px 34px 24px rgba(0, 0, 0, 0.3);
    color: black;
    background: whitesmoke;
    display: flex;
    gap: 40px;
    transform: translateX(10%);
    transition: all 0.4s ease-in-out;
    opacity: 0;
    visibility: hidden;
    z-index: 3;
}

._options:hover ._drop{
    opacity: 1;
    visibility: visible;
}

._drop-box{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 17px;
}

._drop-name{
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0.4px;
}

._drop-line{
    border-left: 2px solid black;
}


/* Account */


._header-content{
    display: flex;
    align-items: center;
    gap: 17px;
}

._header-search button{
    width: 48px;
    height: 48px;
    padding: 7px;
    border: none;
    border-radius: 48px;
    font-size: 21px;
    color: white;
    background: transparent;
    cursor: pointer;
}

._header-button button{
    width: 130px;
    height: 48px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    letter-spacing: 1px;
    color: black;
    background: white;
    cursor: pointer;
}


/* Mobile */


._mobile{
    position: fixed;
    inset: 0px;
    color: black;
    background: white;
    display: flex;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-40%);
    transition: all 0.6s ease-in-out;
}

._mobile-all{
    flex: 1;
    display: flex;
    justify-content: center;
    overflow-y: auto;
}

._mobile-contain{
    width: 90%;
    padding: 40px 0px 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 60px;
}


/* Mobile : Top */


._mobile-top{
    flex: 1;
}


/* Mobile : Headin */


._mobile-headin{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

._mobile-close button{
    width: auto;
    padding: 0px;
    border: none;
    font-size: 21px;
    color: black;
    background: transparent;
    cursor: pointer;
}

._mobile-title{
    font-size: 21px;
    font-weight: 900;
}

._mobile-title img{
    height: 21px;
}


/* Mobile : Content */


._mobile-content{
    padding: 40px 0px 0px;
}


/* Mobile : Menu */


._mobile-menu{
    display: flex;
    flex-direction: column;
    gap: 17px;
}

._mobile-option{
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

._mobile-option button{
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 30px;
    font-size: 13px;
    color: black;
    background: gainsboro;
    cursor: pointer;
}

.fa-rotate-45{
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}


/* Mobile : Pane */


._mobile-pane{
    padding: 40px 0px 0px;
}

._mobile-name{
    padding-bottom: 17px;
    border-bottom: 4px solid black;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.2px;
}

._mobile-data{
    max-width: 360px;
    padding-top: 25px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

._mobile-item{
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 15px;
    letter-spacing: 0.2px;
    background: rgb(229, 229, 229);
}


/* Mobile : Button */


._mobile-button{
    margin-bottom: 40px;
}

._mobile-button button{
    width: 140px;
    height: 48px;
    border: none;
    border-radius: 48px;
    font-size: 14px;
    letter-spacing: 1px;
    color: white;
    background: black;
    cursor: pointer;
}


/* Search */


._search{
    position: absolute;
    top: 80px;
    left: 0px;
    right: 0px;
    padding: 10px 0px 20px;
    background: rgb(233, 228, 228);
    box-shadow: 0px 4px 10px rgba(45, 48, 51, 0.18);
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
}

._search-all{
    display: flex;
    justify-content: center;
}

._search-lean{
    width: 85%;
    padding: 10px 0px;
}

._search-contain{
    padding: 10px 0px 24px;
    border-bottom: 2px solid black;
    display: flex;
    gap: 40px;
}

._search-box{
    flex: 1;
    display: flex;
}

._search-box input{
    width: 100%;
    padding: 0px;
    border: none;
    font-size: 18px;
    font-family: '';
    letter-spacing: 0.5px;
    background: transparent;
    outline: none;
}

._search-button button{
    width: 48px;
    height: 48px;
    padding: 7px;
    border: none;
    border-radius: 48px;
    font-size: 18px;
    color: black;
    background: gainsboro;
    cursor: pointer;
}

._search-content{
    padding: 24px 0px 20px;
    color: black;
}

._search-data{
    width: auto;
    max-height: 300px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    gap: 17px;
    overflow-y: auto;
}

._search-pane{
    padding-bottom: 10px;
    border-bottom: 1px solid gray;
    display: flex;
    align-items: center;
    gap: 20px;
}

._search-image img{
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

._search-on{
    flex: 1;
}

._search-name{
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.4em;
}

._search-subname{
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.4px;
    color: #333;
}

._search-none{
    text-align: center;
    font-size: 16px;
    letter-spacing: 0.3px;
}

._search-none span{
    font-weight: 700;
}


/* Sub */


.sub{
    position: fixed;
    inset: 0px;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s all ease-in-out;
    z-index: 10;
}

.on-sub{
    opacity: 1;
    visibility: visible;
}

.sub-box{
    width: 400px;
    padding: 40px 40px 60px;
    border-radius: 10px;
    text-align: center;
    background: white;
}

.sub-close{
    display: flex;
    justify-content: flex-end;
}

.sub-close button{
    width: auto;
    padding: 0px;
    border: none;
    font-size: 27px;
    color: black;
    background: transparent;
    cursor: pointer;
}

.sub-image img{
    max-width: 200px;
}

.sub-title{
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.sub-name{
    padding: 10px 0px;
    font-size: 14px;
    letter-spacing: 0.2px;
    line-height: 1.6em;
    color: #333;
}

.sub-name span{
    font-weight: 700;
}


/* Footer */


footer{
    color: white;
    background: black;
    display: flex;
    justify-content: center;
}

._footer{
    width: 85%;
    padding: 50px 0px 40px;
}


/* Footer : Contain */


._footer-contain{
    padding: 17px 0px 40px;
    width: auto;
    display: flex;
    gap: 50px;
}


/* Footer : Content */


._footer-content{
    flex: 1;
}

._footer-title{
    padding-bottom: 18px;
    font-size: 44px;
    font-weight: 700;
}

._footer-title img{
    height: 30px;
}

._footer-data{
    width: 65%;
    font-size: 15px;
    letter-spacing: 0.2px;
}


/* Footer : Pane */


._footer-pane{
    width: auto;
    display: flex;
    gap: 60px;
}

._footer-menu{
    display: flex;
    flex-direction: column;
    gap: 17px;
}

._footer-option{
    font-size: 15px;
}

._footer-line{
    border: 1px solid darkgray;
}

._footer-icons{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

._footer-icon{
    font-size: 21px;
    color: white;
}


/* Footer : Endless */


._footer-endless{
    padding: 20px 0px 0px;
    border-top: 2px solid darkgray;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.4px;
}


/* Mobile Responcsive */


/* 1100px */

@media screen and (max-width: 1100px) {

    ._header, ._search-contain, ._footer{
        width: 90%;
    }
    
}

/* 1000px */

@media screen and (max-width: 1000px) {

    nav, ._header-button{
        display: none;
    }

    ._header-mobile{
        display: block;
    }

    ._footer-data{
        width: 75%;
    }
    
}

/* 900px */

@media screen and (max-width: 900px) {

    ._footer-data{
        width: 80%;
    }
    
}

/* 800px */

@media screen and (max-width: 800px) {

    ._footer-data{
        width: 85%;
    }
    
}

/* 700px */

@media screen and (max-width: 700px) {
    
    ._footer-contain{
        flex-direction: column;
    }

    ._footer-pane{
        width: auto;
        flex-direction: column;
        gap: 30px;
    }

    ._footer-menu{
        flex-direction: row;
        flex-wrap: wrap;
    }

    ._footer-icons{
        flex-direction: row;
        flex-wrap: wrap;
    }
    
}

/* 500px */

@media screen and (max-width: 500px) {

    ._footer-data{
        width: 100%;
    }
    
}

/* 400px */

@media screen and (max-width: 400px) {

    ._header{
        gap: 20px;
    }

    ._title{
        font-size: 21px;
        font-weight: 800;
    }

    ._search-contain{
        gap: 20px;
    }
     
}