/* body{
    background-color: #ededed;
    display:flex;
    align-items: center;
    justify-content: center;
    padding:200px;
    position: relative;
    font-family: "Lato",Arial,"Helvetica Neue",Helvetica,sans-serif;
}

*{
    padding:0;
    margin:0;
    box-sizing: border-box;
} */


:root{
    --blue: #5865f2;
    --blue-opacity: #7882ee;
    --btn-black: #23272a;
    --btn-rose: #e7449e;
    --btn-rose-hover: #f71592;
    --btn-green: #63cc7b;
    --btn-green-hover: #57e679;
}

h1, h2, h3, h4, h5, h6 { 
    font-family: "Montserrat",Arial,"Helvetica Neue",Helvetica,sans-serif;
    text-rendering: optimizeLegibility;
}

.visible{
    display: block!important;
}

.visibleLayer{
    display: flex!important;
}

.hidden{
    display:none!important;
}


/* ====================
* Input Template
======================== **/ 


.GMXNameGenerator__Wrapper{
	background-image: linear-gradient(to left, #ff0086, #ff0086, #ff0086, #ff0086, #ff0086);
    padding:32px;
	padding-bottom: 3rem;
	max-width: 1000px;
	margin-bottom: 2rem;
	border-radius: 4px;
}

.GMXNameGenerator__Container{
    text-align: center;
}

.GMXNameGeneartor__Container_Title{
	color: #ffffff;
	margin-top: 1.7rem;
    text-transform: uppercase;
    font-weight: bold;
    font-size:30px;
	color: #ffffff;
}


/* ====================
*  Form Initial
======================== **/ 

.GMXNameGenerator__Form{
    padding:1rem .5rem .5rem;
}

.GMXNameGenerator__InputForm{ 
    border:2px solid #ffffff;
    padding:10px 20px;
    font-size: 1rem;
    color:#222;
    width:100%;
    background-color: #ededed;
}

.GMXNameGenerator__InputForm:focus{
    outline: none;
    border:2px solid var(--btn-black);
    border-radius:0;
}

.GMXNameGenerator__BtnForm{
    width:100%;
    margin-top:.5rem;
    border-radius:0;
}

.GMXNameGenerator__BtnForm,
.GMXNameGeneratorPopUp__BTN{
    background-color: #ffef31;
	color: black;
    border:0;
    padding:12px 20px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius:0;
}

.GMXNameGenerator__BtnForm:hover,
.GMXNameGeneratorPopUp__BTN:hover{
    background-color: #ffeb00;
    cursor: pointer;
}

.GMXNameGeneratorPopUp__BTN{
    margin:auto;
    display: block;
    margin-bottom:1rem;
    border-radius:0;
}

.GMXNameGenerator__RandomName span{
    display: block;
    margin:.5rem 0;
    font-weight: bold;
    text-transform: uppercase;
	color: white;
}

.GMXNameGeneratorRandomBtn{
    display:inline-block;
    padding:5px 10px;
    color:white;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size:12px;
    border-radius:0;
}

.GMXNameGeneratorRandomBtn.Woman{
    background-color: var(--btn-rose);
	color: white;
}

.GMXNameGeneratorRandomBtn.Woman:hover{
    background-color: var(--btn-rose-hover);
	color: white;
}

.GMXNameGeneratorRandomBtn.Man{
    background-color: #1975ff;
}

.GMXNameGeneratorRandomBtn.Man:hover{
    background-color: #1564db;
	color: white;
}

@media screen and (min-width:992px){
    
    .GMXNameGeneratorForm{
        display:flex;
        justify-content: center;
		align-items:center;
    }

    .GMXNameGenerator__InputForm{
        max-width:60%;
        flex-grow:1;
		flex-shrink:0;
    }

    .GMXNameGenerator__BtnForm{
        margin-left:5px;
		margin-top:0;
		width:auto;
    }
}

/* ====================
* General PopUp 
======================== **/ 

.GMXNameGeneratorPopUp__Layer{
    position:fixed;
    background-color:rgba(0,0,0,.4);
    top:0;
    left:0;
    min-width:100vw;
    min-height: 100vh;
    z-index:0;
    display:flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.GMXNameGeneratorPopUp{
    background-color:white;
    max-width:992px;
    border-radius: 5px;
    position: relative;
    display: none;
    min-height: 200px;
    margin: 10px 20px;
}

.GMXNameGeneratorPopUp span.close{
    background-color:gray;
    width:20px;
    height:20px;
    position:absolute;
    right:10px;
    top:10px;
    cursor:pointer;
    text-align: center;
    color:white;
    font-size:14px;
    line-height: 1.4;
    font-weight: bold;
}

.GMXNameGeneratorPopUp button.back{
    position:absolute;
    height: 25px;
    left:10px;
    top:10px;
    outline: none;
    border:0;
    padding:2px 10px; 
    font-size:12px;
    line-height: 1.9;
    background-color:gray;
    color:white;
    box-sizing: border-box;
    text-transform: uppercase;
    font-weight: bold;
    border-radius:0;
}

.GMXNameGeneratorPopUp button.back:hover,
.GMXNameGeneratorPopUp span.close:hover{
    cursor:pointer;
    background-color:black;
    transition: ease .3s;
}

.GMXNameGeneratorPopUp h2{
    margin:0 0 20px 0;
    padding:40px 20px 20px;
    text-align: center;
    border-bottom:2px solid #ededed;
    background-color: var(--btn-black);
    color:white;
    text-transform: uppercase;
}

@media screen and (min-width:400px) and (max-width:566.99px){
    .GMXNameGeneratorPopUp{
        width:100%;
    }

    
}

@media screen and (min-width:567px){
    .GMXNameGeneratorPopUp{
        min-width: 500px;
    }

    .GMXNameGeneratorPopUp h2{
        padding:20px;
    }
}

/* ====================
* First PopUp 
======================== **/ 

.GMXNameGeneratorPopUp--First{
    display:none;
}

.GMXNameGeneratorPopUp__Styles{
    padding:20px;
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    overflow-y: scroll;
    height: 400px;
}


.GMXNameGeneratorPopUp__Styles span,
.StyleBtn--ChooseIconStyle{ 
    width: 30%;
    display:inline-block;
    margin: 5px;
    padding:5px;
    background-color:var(--btn-black);
    color:white;
    text-align: center;
    border-radius:5px;
    text-decoration: none;
    font-weight: 300;
    cursor:pointer;
    border: none;
    border-radius:0;
}

.GMXNameGeneratorPopUp__Styles span{
    width:100%;
}

.GMXNameGeneratorPopUp__Styles span:hover,
.GMXNameGeneratorPopUp__Styles span:focus,
.StyleBtn--ChooseIconStyle:hover,
.StyleBtn--ChooseIconStyle:focus{
    background-color: var(--blue);
    transition: all ease .3s;
    border: none;
}

@media screen and (min-width:567px){
    .GMXNameGeneratorPopUp__Styles span{
        width:30%;
    }
}


@media screen and (min-width:768px){
    GMXNameGeneratorPopUp__Styles{
        height:auto;
        overflow-y:hidden;
    }
}

/* ====================
* Second PopUp 
======================== **/ 

.GMXNameGeneratorPopUp__Styles__Name{
    padding:20px;
    text-align: center;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: stretch;
    max-width: 340px;
    margin:auto;
}

.GMXNameGeneratorPopUp__Button{
    border-style: none;
    width: 30px;
    cursor:pointer;
    font-weight: bold;
    font-size: 16px;
    vertical-align: middle;
    color:white;
    background-color:var(--blue);
    flex-grow: 1;
    flex-shrink: 0;
    border-radius:0;
}  

.GMXNameGeneratorPopUp__Button:disabled{
    background-color: var(--blue-opacity);
}

.GMXNameGeneratorPopUp__NameStyle{
    display: inline-block;
    background-color:var(--btn-black);
    font-weight: 500;
    color:white;
    padding:8px;
    width:100%;
}


/* ====================
* Edit Name Free PopUp
======================== **/ 

.EditNameFreeInputs{
    text-align: center;
    padding:1rem;
}


/* ====================
* Choose Icon PopUp
======================== **/ 
.GMXNameGeneratorPopUp--Choose{
    overflow-y: auto;
    max-height: 250px;
}

.GMXNameGeneratorPopUp--Choose h2{
    margin-bottom:0;
    
}


/* ====================
* SelectIcons PopUp
======================== **/ 

.GMXNameGeneratorPopUp--SelectIcons{
    text-align: center;
    padding-bottom:1rem;
}




/* ====================
* IconsTable PopUp
======================== **/ 

.GMXNameGeneratorPopUp__IconsTable{
    width:100%;
    padding:0;
    border-radius: 15px;
}

.GMXIconsTable{
    width:100%;
    border-collapse: collapse;
    text-align: center;
    border: 1px 0px !important;
    border-radius: 15px;
}


.GMXIconsTable,
.GMXIconsTable th,
.GMXIconsTable td{
    border: 1px solid rgb(236, 230, 230);
    border-top:0;
}

.GMXIconsTable tr th{
    width:25%;
    font-size:14px;
    background-color: #ededed;
    border-color:#b6b2b2;
    padding:5px;
    text-transform: uppercase;
    font-weight: 700;
}

.GMXIconsTable tr th:first-child{
    border-left:0;
}

.GMXIconsTable tr th:last-child{
    border-right: 0;
}

.GMXIconsTable tr td{
    padding:5px;
    cursor:pointer;
}



/* ====================
* Results PopUp -- END 
======================== **/ 


#GMXNameGeneratorResult{
    margin: auto;
    background-color: white;
    width: 200px;
    height: 50px;
    border: 3px solid #ededed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}


#GMXNameGeneratorCopyBtn{
    position:absolute;
    right:0;
    top:0;
    background-color: var(--btn-black);
    color:white;
    font-weight: bold;
    border:0;
    padding:5px;
    height: 100%;
    cursor: pointer;
    border-radius:0;
}

#GMXNameGeneratorCopyBtn:hover,
#GMXNameGeneratorCopyBtn:focus-within{
    background-color: var(--blue);
}
    

/* 
* Alerts
*/ 

.GMXNameGeneratorAlert{
    display: block;
    text-align: center;
    margin: 10px 20px;
    background-color: #eec4c4;
    padding: 5px;
    border: 1px solid red;
    border-radius: 15px;
} 

/* 

GM Name Converter 

*/ 


.GMInputTextConverter__Box {
	background-image: linear-gradient(to left, #ff0086, #ff0086, #ff0086, #ff0086, #ff0086);
    margin:auto;
    display: flex;
    flex-direction: column;
    align-items: center ;
    justify-content: center;
    padding:40px 10px;
    color:white;
}

.GMInputTextConverter__Box h2{
    text-align: center;
    margin:0 auto;
    color:white !important;
}

.GMInputTextConverter__BoxIn{
    width: 80%;
	margin-top: 1.3rem;
    position: relative;
    height: 40px;
    display:flex;
    justify-content: center;
    align-items: center;
    
}
.GMInputTextConverter__Button{ 
    display: block;
    position: absolute;
    top:1px;
    left:99%;
    padding: 7px 15px;
    box-sizing: border-box;
    height: 100%;
    background-color:rgb(98, 97, 211);
    color:white;
    font-weight: bold;
    border:0;
    cursor:pointer;
    font-size: 12px;
    text-transform: uppercase;
}

.GMInputTextConverter__Button:hover{
    background-color:rgb(75, 73, 209);
}

#GMInputTextConverter{
    background-color:#ededed;
    width:100%;
	padding: 10px;
}

#GMInputTextConverter:focus-within{
    outline:none;
}


.NamesGenerated{
    margin:auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
	margin: 25px;
}


.NameGeneratedCol{
    width: 100%;
}


.NameGeneratedCol > p{ 
    margin:0;
    font-weight: bold;
    font-size:18px;
}

.GMcut{
    position: relative;
    width: 100%;
    margin-bottom:1rem;
    height: 50px;
    background-color: #ededed;
}


.GMcut span{
    display: block;
    width:calc(100% - 75px);
    padding:10px;
    overflow-x:auto;
    overflow-y: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    position: relative;
    line-height: 2;
}

.GMTextConverterCopy{
    display: block;
    position: absolute;
    top:0;
    right:0;
    padding:7px;
    width: 90px;
    box-sizing: border-box;
    height: 50px;
    background-color:#222;
    color:white;
    font-weight: bold;
    border:0;
    cursor:pointer;
    font-size: 14px;
    text-transform: uppercase;
}

.GMTextConverterCopy:hover{
    background-color:rgb(98, 97, 211);
}

@media screen and (min-width:560px){
    .GMInputTextConverter__BoxIn{
        width:340px;
    }
    
}

@media screen and (min-width:768px){
    .NamesGenerated{ 
        justify-content: space-between;
    }
    .NameGeneratedCol{
        width:45%;
    }
}