@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&display=swap');

* {
    font-family: 'Caveat', 'Kalam', Verdana, Geneva, Tahoma, sans-serif;
    margin: 0;
    padding: 0;
}

body {
    overflow: hidden;
}

::-webkit-scrollbar {
    display: none;
}

.menu {
    position: fixed;
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(0);
    transition: all, .5s ease;
    -webkit-transition: all, .5s ease;
    -moz-transition: all, .5s ease;
}

.menu.hideMenu {
    transform: translateY(-300px);
}

.firstMenuWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.menuOptions {
    position: relative;
    cursor: pointer;
    padding: 5px;
    height: 30px;
    width: 30px;
    font-size: 1.5rem;
}

.displayTools {
    text-transform: uppercase;
    background-color: rgb(82, 82, 82);
    border-radius: 5px;
    padding: 2.5px 16px;
    color: white;
    font-size: 1.2rem;
    user-select: none;
}

.toggleShowHide {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    z-index: 2;
    padding: 10px;
    transition: all 1s ease;
}

.toggleShowHide i {
    border-radius: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
}

.toggleShowHide i:hover {
    background-color: rgba(179, 179, 179, 0.767);
    cursor: pointer;
}

.hideMenubarBtn {
    position: fixed;
    top: 6px;
    right: 1px;
    z-index: 99;
    background-color: transparent !important;
}

.helpMenu {
    position: fixed;
    top: 300%;
    left: 50%;
    transform: translate(-50%, 0);
    width: 600px;
    height: 250px;
    font-size: 1.2rem;
    list-style-type: none;
    border-radius: 8px;
    padding: 10px;
    background-color: rgba(179, 179, 179, 0.767);
}

.helpMenu li {
    padding: 5px;
}

.helpMenuClose {
    position: absolute;
    right: -35px;
    top: -20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-right: 10px;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    z-index: 2;
    padding: 10px;
    transition: all 1s ease;
}

.tools {
    display: flex;
    list-style: none;
    transition: background-color .5s ease;
}

.tools li {
    border-radius: 100%;
    margin: 4px;
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    padding: 5px;
}

.tools li:hover {
    background-color: rgba(179, 179, 179, 0.767);
    cursor: pointer;
}

.itemOptions {
    position: absolute;
    left:0px;
    top:60px;
    font-size: 1.3rem;
    background-color: rgba(102, 100, 100, 0.4);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    animation-name: opacity;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
    overflow: hidden;
}

@keyframes opacity {
    to {
        opacity: 1;
    }
}

.itemOptions li {
    list-style: none;
    padding: 10px 20px;
}

.itemOptions li i {
    margin-right: 10px;
    pointer-events: none;
}

.itemOptions li:hover {
    background-color: #949494;
    cursor: pointer;
}

.artboard {
    height: 100vh;
    width: 100vw;
    transition: background-color .5s ease;
}

.activeTool {
    background-color: rgba(179, 179, 179, 0.767);
}

.colorPicker {
    border: none;
}

#openOptions {
    padding: 0;
}

#openOptions select {
    height: 100%;
    width: 100%;
    padding: 10px 20px;
    background-color: rgb(102, 100, 100);
    font-size: 1rem;
    color: white;
    outline: none;
}

#stroke-width {
    width: auto;
}

#stroke-width:hover {
    background-color: initial;
}

svg text {
    user-select: none;

}

svg * {
    transform-box: fill-box;
    transform-origin: center;
}

#textInput {
    border-radius: 40px;
    border: none;
    padding: 5px 10px;
    outline: none;
}

#stroke-width {
    position: relative;
}

#stroke-width .text {
    position: absolute;
    top: -7px;
    left: 60px;
    font-size: 1rem;

}

@media print {
    .menu {
        display: none;
    }
}

input[type='range'] {
    width: 120px;
    accent-color: #f70000;
}