/*Basics */

* {
    box-sizing: border-box;
}

@font-face {
    font-family: Montserrat;
    src: url(../font/Montserrat-Regular.ttf);
}


body {
    margin: 0;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

img {
    width: 100%;
}

a {
    color: white;
}

button {
    cursor: pointer;
}

.logo{
    height: 20px;
    width: 130px;
}

/* FLEX HELPERS */

.flex {
    display: flex;
}

.flex.align-item-center {
    align-items: center;
}


.flex.space-between {
    justify-content: space-between;
}

/*HELPERS */

.clean-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.capitalize {
    text-transform: capitalize;
}

a:link {
    text-decoration: none;
}

.hide {
    visibility: hidden;
    display: none;
}



.bcg-grey {
    display: flex;
    background-color: #E3E3E3;
    justify-content: space-around;
    justify-content: center;
    align-items: center;
    flex:1;
}


/* GRID */

.gallery-container {

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(auto-fit, 1fr);
    grid-gap: 5px;
    background-color: #E3E3E3;
    padding: 20px;

}

.grid-item {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.search-container {
    width: 210px;
    margin-bottom: 10px;
    justify-content: space-between;

}

.search-tab {
    display: flex;
    flex-direction: row;
}

.key-words {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: flex-start;
    font-family: Montserrat;
    margin: 15px;

}

.small {
    font-size: 1rem;
    margin: 10px;
}

.medium {
    font-size: 2rem;
    margin: 14px;
}

.large {
    font-size: 3rem;
    margin: 16px;


}

.search-container input[type=text] {
    padding: 6px;
    border: none;
    border-bottom: 2px solid black;
    margin-top: 8px;
    margin-right: 16px;
    font-size: 17px;
}


/* COMPONENTS */
.header-container {
    font-family: Montserrat;
    color: #FFFFFF;
    width: 100%;
    background-color: #FF7F00;


}


.header-logo {
    justify-self: flex-start;
    margin-inline-start: 20px;
    font-weight: bold;
}


.navbar-conntainer a {
    padding: 11px;
    height: 70px;
    border-left: 2px solid #8A8A8A;

}


.navbar-conntainer a:hover {
    color: rgb(3, 3, 3);
    box-shadow: 0px -10px 0px -1px rgb(0, 0, 0) inset;
    -webkit-box-shadow: 0px -10px 0px -1px rgb(0, 0, 0) inset;
    -moz-box-shadow: 0px -10px 0px -1px rgb(0, 0, 0) inset;
}

.search-container {
    height: 80px;
    margin-inline-start: 20px;

}

.search-container input[type=text] {
    padding: 10px;
}

.search-container button {
    float: left;
    padding: 10px;
    background: white;
    color: black;
    font-size: 17px;
    border: none;
    cursor: pointer;
}

.search-container input[type=text]::-webkit-input-placeholder {
    font-size: 14px;
    font-family: Montserrat;
    line-height: 3;
}

.search-container button:hover {

    background: #f0e3d6;
    ;

}

.editor-form {
    background-color: #E3E3E3;
}

.canvas-container {
    padding: 10px;
    display: flex;
    justify-content: space-around;
    height: 600;
    width: 100%;
    background-color: #E3E3E3;

}

.display {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-left: 50px;

    background-color: #E3E3E3;
    flex-wrap: wrap;
}



.editor-btn {
    border: none;
    border-radius: 14px;
    padding: 10px;
    margin: 10px;
}

.display input[type=text] {
    align-self: center;
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 24px;
    box-sizing: border-box;

}

.display input[type=text]::-webkit-input-placeholder {
    font-size: 14px;
    font-family: Montserrat;
    line-height: 3;
    text-align: center;
}

.inputs-container {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}



.canvas {
    border: 4px solid black;
    margin-right: 50px;

}

.crosshair {
    cursor: crosshair;
}


.editor-btn {
    width: 60px;
    height: 60px;
}

.about-container {
    justify-content: center;
    margin: 50px;

}

.about-img {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    margin-right: 40px;
}

.about-txt {
    margin-left: 20px;
    font-family: Montserrat;

}

.about-txt :first-child {
    font-weight: bold;
}

.link-img {
    height: 30px;
    width: 30px;

}

.social-link {
    background-color: #FF7F00;
    border-radius: 12px;
    border: none;
    padding: 5px 7px;
    margin: 2px;
}

.footer-container {
    height: 210px;
    background-color: #FF7F00;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: Montserrat;
    color: white;
}

.footer-logo {
    font-size: 1.375rem;
    font-weight: bold;
}

.menu-btn {
    display: none;
}

.x-btn {
    visibility: hidden;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    box-shadow: -4px 0px 15px 0px #dcdcdc;
    transition: background-color 0.5s, color 0.5s;
}

.x-btn:hover {
    box-shadow: -4px 0px 15px 0px #dcdcdc;
    background-color: #FF7F00;
    color: white;
}

.inputs-btn {
    border-radius: 10px;
    margin: 5px;
    background-color: #FF7F00;
    color: white;
    padding: 10px;
}

.inputs-btn a {
    background-color: #FF7F00;
    color: white;

}

input[type="file"] {
    top: 0px;
    left: 8px;
    font-size: 17px;
    color: #b8b8b8;
}


.upload-btn {
    max-width: 200px;
    margin: 5px;
}

.share-btn {
    border-radius: 22px;
    margin: 5px;


}

.share-btn a {

    background-color: #FF7F00;
    border-radius: 10px;
    padding: 10px;
    border: 2px solid gray;
}

.color-container {
    justify-content: center;
    display: flex;
}

.select {
    margin-top: 15px;
    display: flex;
    align-self: center;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    width: 200px;
    height: 60px;
    border-radius: 10px;
    cursor: pointer;

}

.align-text-container {
    display: flex;
    align-self: center;
}


.displaybtn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.mobile-container {
    display: flex;
}

.save-mems{
    display:none;
    padding: 10px;
    margin-top: 4px;
    box-shadow: 0px -2px 21px -1px rgba(0,0,0,0.46) ;
    -webkit-box-shadow: 0px -2px 21px -1px rgba(0,0,0,0.46) ;
    -moz-box-shadow: 0px -2px 21px -1px rgba(0,0,0,0.46) ;}

@media (max-width: 640px) {
    .main-container {
        max-width: 580px;

    }

    .canvas {
        width: 100%;
        margin: 0;
    }

    .display {
        margin: 0;
    }

    .editor-form {
        width: 100%;
    }

    .display input[type=text] {
        align-self: center;
        /* max-width: 100px; */
        padding: 6px 10px;
        margin: 8px 0;
        display: inline-block;
        border: 1px solid #ccc;
        border-radius: 24px;
        box-sizing: border-box;

    }

    .navbar-conntainer {
        position: fixed;
        flex-direction: column;
        height: 100vh;
        right: 0;
        top: 0;
        background-color: rgb(255 255 255/90%);
        box-shadow: none;
        transform: translateX(100%);
        transition: transform 0.8s, box-shadow 0.8s;
    }


    body.menu-open .navbar-conntainer {
        transform: translateX(0);
        box-shadow: -4px 0px 15px 0px #dcdcdc;
    }

    .navbar-conntainer a {
        display: flex;
        top: 20px;
        width: 120px;
        flex-direction: column;
        color: #0e0c0c;
        border-bottom: 1px solid rgb(204, 199, 199);
        border-right: none;
        padding: 12px 10px;
        transition: background-color 0.5s, color 0.5s;
    }

    .navbar-conntainer .x-btn:hover,
    .navbar-conntainer a:hover {
        box-shadow: -4px 0px 15px 0px #dcdcdc;
        background-color: #FF7F00;
        color: white;
    }


    .menu-btn {
        display: flex;
        justify-content: flex-end;
        background-color: transparent;
        font-size: 2rem;
        border: none;
        color: #ffffff;
        cursor: pointer;
    }

    .x-btn {
        visibility: visible;

    }

    .about-container {
        max-width: 580px;
        flex-direction: column;
        align-items: center;
    }

    .editor-btn {
        width: 30px;
        height: 30px;

    }

    .about-img {
        width: 50%;
        height: 140px;
        border-radius: 50%;
        margin-right: 40px;
    }



    .link-img {
        height: 15px;
        width: 15px;

    }

    .displaybtn {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;

    }

    .main-screen {
        visibility: hidden;
        opacity: 0;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background-color: rgb(0 0 0 / 30%);
        cursor: pointer;
    }

    body.menu-open .main-screen {
        opacity: 1;
        visibility: visible;
    }

    .gallery-container {

        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(165px, 1fr);
        grid-gap: 5px;
        background-color: #E3E3E3;
        padding: 20px;
        margin-top: 10px
    }

    .about-txt p,
    h3 {
        text-align: center;

    }

    .social-container {
        display: flex;
        justify-content: center;
    }

    input[type="file"] {
        font-size: 7px;
        color: #b8b8b8;
    }

    .key-words {
        align-items: center;
        font-family: Montserrat;
        /* margin-inline-start: 2px; */
        /* flex-wrap: wrap; */
    }

    .small {
        font-size: 7px;
        margin: 3px;
    }

    .medium {
        font-size: 10px;
        margin: 3px;

    }

    .select {
        margin-right: 10px;
        font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
        width: 150px;
        height: 40px;
        border-radius: 10px;
        cursor: pointer;
    }


    .large {
        font-size: 13px;
        margin: 3px;


    }

    .mobile-container {
        display: flex;
        flex-direction: column;
    }

    .search-container {
        flex-direction: column;
    }

    .logo{
        height: 20px;
        width: 60px;
    }
    



}