@charset "utf-8";
/* CSS Document */

/* Default styles for all screen sizes */
.title {
	font-size: 18px;
	font-weight: 600;
	color: white;
}      

#drawingCanvas {
	display: block;
	width: 100%;
	height: 100%;
	cursor: crosshair;
}
        
.controls {
	display: flex;
	gap: 15px;
	align-items: center;
	flex-wrap: wrap;
	padding: 15px;
	background: #2a2a2a;
	border-radius: 10px;
}

.free-pen-width-btn:hover {
    background: #062D2D;
}

.free-pen-width-btn.active {
    background: #062D2D;
}

.free-pen-close-btn:hover {
    background: #900202;
}

/* PORTRAIT MOBILE (up to 1099px wide) */
@media only screen and (orientation: portrait) and (max-width: 1099px) {

.pad-container {
	flex: 1;
	position: absolute;
	top: 0vh;
	width: 100vw;
	height: 100vh;
	border-radius: 0px;
	overflow: hidden;
	background: rgba(255,255,255,0.0);
	border: 1px solid rgba(255,255,255,0.0);
	z-index: 10;
}

.control-group {
	position: absolute;
	top: 25vh;
	display: flex;
 	align-items: center;
	gap: 8px;
}

.free-pen-controls {
    position: absolute;
    width: 90%;
    height: 7vh;
    bottom: 1vh;
    left: 50%;
    transform: translateX(-50%);
    background: #0B0B0B;
    border: 1px solid #F1F7F6;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
    z-index: 20;
    font-family: "Shadows Into Light Two", cursive;
    min-width: 200px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.free-pen-label {
    font-size: 16px;
    color: white;
    margin: 0;
}

.free-pen-width-container {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.free-pen-width-btn {
    padding: 4px 4px;
    background: black;
    border: 1px solid #F1F7F6;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    min-width: 35px;
    transition: background-color 0.2s, color 0.2s;
}

.free-pen-close-btn {
    padding: 3px 12px;
    background: black;
    color: white;
    border: 1px solid #F1F7F6;
    border-radius: 4px;
    cursor: pointer;
    font-family: "Shadows Into Light Two", cursive;
    font-size: 16px;
	font-weight: 800;
    transition: background-color 0.2s;
    white-space: nowrap;
}

}

/* LANDSCAPE MOBILE/TABLET (480px to 1099px wide) */
@media only screen and (min-width: 480px) and (orientation: landscape) and (max-width: 1099px) {

.pad-container {
	position: absolute;
	top: 0vh;
	left: 0vw;
	width: 100vw;
	height: 100vh;
	border-radius: 0px;
	overflow: hidden;
	background: rgba(255,255,255,0.0);
	border: 1px solid rgba(255,255,255,0.0);
	z-index: 10;
}

.control-group {
	position: absolute;
	top: 25vh;
	display: flex;
 	align-items: center;
	gap: 8px;
}

.free-pen-controls {
    position: absolute;
    width: 90%;
    max-width: 1500px;
    height: 6vh;
    top: 86.5vh;
    left: 50%;
    transform: translateX(-50%);
    background: #0B0B0B;
    border: 1px solid #F1F7F6;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
    z-index: 20;
    font-family: "Shadows Into Light Two", cursive;
    min-width: 200px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.free-pen-label {
    font-size: 18px;
    color: white;
    margin: 0;
}

.free-pen-width-container {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.free-pen-width-btn {
    padding: 4px 4px;
    background: black;
    border: 1px solid #F1F7F6;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    min-width: 35px;
    transition: background-color 0.2s, color 0.2s;
}

.free-pen-close-btn {
    padding: 3px 12px;
    background: black;
    color: white;
    border: 1px solid #F1F7F6;
    border-radius: 4px;
    cursor: pointer;
    font-family: "Shadows Into Light Two", cursive;
    font-size: 16px;
	font-weight: 800;
    transition: background-color 0.2s;
    white-space: nowrap;
}

}

/* DESKTOP (1100px and wider) */
@media only screen and (min-width: 1100px) {

.pad-container {
	position: absolute;
	top: 0vh;
	width: 100%;
	height: 100%;
	border-radius: 5px;
	overflow: hidden;
	background: rgba(255,255,255,0.0);
	border: 1px solid rgba(255,255,255,0.0);
	z-index: 10;
}

.control-group {
	position: absolute;
	top: 25vh;
	display: flex;
 	align-items: center;
	gap: 8px;
}

.free-pen-controls {
    position: absolute;
    width: 90%;
    max-width: 1500px;
    height: 6vh;
    top: 86.5vh;
    left: 50%;
    transform: translateX(-50%);
    background: #0B0B0B;
    border: 1px solid #F1F7F6;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
    z-index: 20;
    font-family: "Shadows Into Light Two", cursive;
    min-width: 200px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.free-pen-label {
    font-size: 22px;
    color: white;
    margin: 0;
}

.free-pen-width-container {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.free-pen-width-btn {
    padding: 4px 4px;
    background: black;
    border: 1px solid #F1F7F6;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    min-width: 35px;
    transition: background-color 0.2s, color 0.2s;
}

.free-pen-close-btn {
    padding: 3px 12px;
    background: black;
    color: white;
    border: 1px solid #F1F7F6;
    border-radius: 4px;
    cursor: pointer;
    font-family: "Shadows Into Light Two", cursive;
    font-size: 16px;
	font-weight: 800;
    transition: background-color 0.2s;
    white-space: nowrap;
}

}