@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@1,300;1,800&display=swap');
@import url('<a href="https://fontmeme.com/overwatch-video-game-font/"><img src="https://fontmeme.com/permalink/211016/1130cbc1621d08726960ef64aec0bd6b.png" alt="overwatch-video-game-font" border="0"></a>');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
}
body {
    margin: 0;
    padding: 0;
    background-color: #16171d; /*#16171d*/
    height: 100vh;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.header{
    display: flex ;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    width:100vw;
    padding: 20px 2%;
}
.website-title{
    display: flex;
    align-items: center;
    justify-content: center;
}
.title h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight:bold ;
    font-size: 4vw;
    color: white;
}
.l{
    margin-right: 10px;
}
.Logo{
    width: 7vw;
}
.t{
    align-items: center;
    justify-content: center;
}
.themebtn{
    margin: 0;
    border: none;
    outline: none;
    padding:10px 18px ;
    background-color:#18b495; /*#93c158*/
    color: #fff;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}
/*-------------------------------Main Box----------------------------------------*/
.Generator-box {
    width: 100%;
    height: 250px;
    padding: 50px 35px;
    background-color: #ffff;
    border-radius: 5px;
    display:grid;
    height: 100%;
    max-width: 500px; 
    grid-template-columns: 85 85 85 70 70 ;/* (repeat)same ----> 1fr 1fr 1fr  (/)same -----> grid-template-columns:  repeat(5, 1fr) grid-template-rows: repeat(2, 1fr)   */   
    grid-template-rows: 1fr 1fr                                       /*note: columns=width rows=higt*/
}
.generated-link-box{
    grid-column: 1/4;
    display: flex;
    justify-content: center; /*justify= virtecal ↔ */
    align-items:center;    /*ailgn= horizantel ↕     */
}
.generated-link{
    white-space: nowrap;
    overflow: hidden;
    min-width: 300px;
    min-height:40px;
    border: 1px solid gray;
    border-radius: 7px;
    padding: 10px 10px;
    background-color: rgba(175, 162, 162, 0.247);
}
.cog-btns{
    display: flex;
    justify-content: center;  /* making evrey buttons to a flex Container while it's a grid item */
    align-items: center;
    
}
.cbtn{
    justify-content: right;
    margin-right: 10px;
}
.copy-btn {
    border: none;
    outline: none;
    padding: 10px 10px;
    background-color: #18b495; /*#93c158*/
    color: white;
    border-radius: 5px;
    cursor: pointer;
}
.open-btn {
    border: none;
    outline: none;
    padding:10px 10px;
    background-color:  #18b495;
    color: #fff;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}
.gbtn{
    grid-column: 1/6;   /* or grid-column-start: 1; grid-column-end: 6; */
    
}
.generate-btn {
    border:none;
    outline: none;
    padding: 20px 150px;
    background-color:hsl(168, 76%, 40%);
    color: #fff;
    border-radius: 5px;
    font-size: 32px;
    cursor: pointer;
    width:100%;
    height: 100%;
    
}
.generate-btn:hover{
    background-color: rgba(23, 171, 129, 0.8);
}
.copy-btn:hover{
    background-color: rgba(23, 171, 129, 0.8);
}
.open-btn:hover{
    background-color: rgba(23, 171, 129, 0.8);
}
.generate-btn:active{
    background-color: hsl(168, 70%, 40%);
}
.copy-btn:active{
    background-color: hsl(168, 70%, 40%);
}
.open-btn:active{
    background-color: hsl(168, 70%, 40%);
}
@media  (max-width: 700px ) {
    .Generator-box{
        grid-template-columns: repeat(5,76px)
    }

    .generated-link{
        min-width: 230px;
    }

}
