@font-face{
    font-family: 'REGULAR';
    font-weight: 400;
    src: url('fonts/REGULAR-MEDIUM.TTF');
}

@font-face {
    font-family: 'REGULAR';
    font-weight: 600;
    src: url('fonts/REGULAR-BOLD.TTF');
}
    
body{
    background-color: #ffffff;
    border: 1px rgb(15, 47, 127);
    font-family: 'REGULAR';
}

.popup {
    display: block; 
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 500px;
    width: 1200px;
    background-color: rgb(255, 255, 255);;
    border: solid 1px rgb(15, 47, 127);
    z-index: 1000;
    font-family: 'REGULAR';
    text-decoration: none;
    color: rgb(15, 47, 127);
    font-size: 14px; 
}

.popup-content {
    display: grid; 
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 15px; 
    margin-left: 60px; 
    margin-right: 60px; 
    margin-bottom: 40px; 
}

.left-column{
    grid-column: 1; 
}

.right-column{
    margin-top: 55px;
    grid-column: 2;
}

ol li{
    line-height: 1.8;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 30px;
    font-size: 40px;
    font-weight: normal;
    color: rgb(15, 47, 127);
    cursor: pointer;
}

header{
    display: flex; 
    justify-content: left;
    padding: 10px 20px; 
}

#sketch-wrapper {
    position: absolute;
    top: 100px;
    left: 550px;        
}

.logo{
    display: flex; 
    align-items: center; 
}

.logo img{
    height: 40px; 
    width: auto; 
    margin-right: 20px;
}

.rectangle-container{
    border: 1px solid rgb(15, 47, 127);
    padding: 15px; 
    margin: 20px; 
    background-color: #ffffff;
    float:left;
    margin-top: 3px;
    margin-left: 20px;
    height: 42rem;
}
 
label {
    font-family:'REGULAR-MEDIUM';
    color: rgb(15, 47, 127);
    font-size: 13px;
    margin-top: 5px; 
    margin-bottom: 10px;
    display: block;
    margin-bottom: 5px;
}

p a {
    color: rgb(15, 47, 127);
    text-decoration: none;
    font-weight: bold;
  }

.input-button-size-group{
    display: flex;
    gap: 20px; 
    align-items: left;
}

.input-button-size{
    display: flex; 
    flex-direction: column;
    align-items: left;
}

.change-canvas-size{
  font-family:'REGULAR-MEDIUM';
  color: rgb(15, 47, 127);
  font-size: 13px;
  margin-top: 5px; 
  margin-bottom: 10px;
  margin-bottom: 5px;
  height: 20px;
  width: 60px;
  font-size: 13px;
  background-color: #ffffff;
  border: 1px solid rgb(15, 47, 127);
  justify-content: CENTER;
  cursor: pointer; 
 
}

.color-button {
    font-size: 13px;
    font-family:'REGULAR-MEDIUM';
    background-color: #ffffff;
    color: rgb(15, 47, 127);
    border: 1px solid rgb(15, 47, 127);
    justify-content: CENTER;
    cursor: pointer; 
    margin-top: 5px; 
    margin-bottom: 5px;
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px;
    padding-left: 30px;
    padding-right: 30px;
    width: 10rem;
}

.color-button:active,
.color-button.active {
    background-color: rgb(15, 47, 127);
    color: #ffffff;
}

input[type="text"] {
    width: 300px; 
    height: 20px; 
    padding: 10px; 
    margin: 2.5px; 
    margin-bottom: 15px;
    font-size: 14px; 
    font-family: 'REGULAR-REGULAR';
    background-color: #ffffff;
    border: 1px solid rgb(34, 50, 124);
    border-radius: none; 
    color: rgb(15, 47, 127);
    text-align: CENTER; 
}

::placeholder {
    text-align: center;
    font-size: 14px;
    color: rgb(15, 47, 127);
  }

.button-section-container{
    max-height: 42vh; 
    overflow-y: auto;
}

.button-section {
    margin-bottom: 0px;
}

.button-section-container::-webkit-scrollbar {
    width: 4.5px; 
    background-color: #ffffff; 
}

.button-section-container::-webkit-scrollbar-thumb {
    background-color: rgb(15, 47, 127); 
    border: none;
}

.button-sections-container::-webkit-scrollbar-track {
    background-color: rgb(15, 47, 127); 
}

.city-icons-container{
    display: grid; 
    grid-template-columns: repeat(5, 1fr);
    padding: 0px;
}

.buildings-icons-container{
    display: grid; 
    grid-template-columns: repeat(5, 1fr);
    padding: 0px;
}

.sea-and-rivers-icons-container{
    display: grid; 
    grid-template-columns: repeat(5, 1fr);
    padding: 0px;
}

.gastronomy-icons-container{
    display: grid; 
    grid-template-columns: repeat(5, 1fr);
    padding: 0px;
}

.sjoao-icons-container{
    display: grid; 
    grid-template-columns: repeat(5, 1fr);
    padding: 0px;
}

.culture-icons-container{
    display: grid; 
    grid-template-columns: repeat(5, 1fr);
    padding: 0px;
}

.sport-icons-container{
    display: grid; 
    grid-template-columns: repeat(5, 1fr);
    padding: 0px;
}

.transportation-icons-container{
    display: grid; 
    grid-template-columns: repeat(5, 1fr);
    padding: 0px;
}

.image-button{
    border: 1px solid rgb(15, 47, 127);
    padding: 1.5px; 
    background: #ffffff;
    outline: none; 
    display: inline-block; 
    margin: 5px;
    margin-left: 0px;
    cursor: pointer; 
}

.image-button img {
    width: 45px; 
    height: auto; 
    transition: transform 0.1s, box-shadow 0.1s;
    padding: 5px; 
}

.image-button.active {
    border: 2px solid rgb(15, 47, 127);
}

.image-button:active{
    border: 1px solid rgb(15, 47, 127);
    padding: 1.5px; 
    background: #ffffff;
    outline: none; 
    display: inline-block; 
    margin: 5px;
    margin-left: 0px;
    cursor: pointer;
}

.icons-subtitles{
    font-family:'REGULAR-MEDIUM';
    color: rgb(15, 47, 127);
    font-size: 12px;
    margin-top: 5px; 
    margin-bottom: 10px;
    display: block;
    margin-bottom: 5px;
}

.export-button-jpeg-pdf{
    font-size: 13px;
    border: 1px solid rgb(15, 47, 127);
    font-family: 'REGULAR';
    cursor: pointer; 
    margin-top: 2px;
    margin-bottom: 5px;
    display: block;
    padding: 4px;
    padding-left: 30px;
    padding-right: 30px;
    width: 330px;
}

.export-button {
    background-color: rgb(15, 47, 127); 
    color: #ffffff;
}

.export-button-jpeg-pdf {
    background-color: rgb(15, 47, 127); 
    color: #ffffff;
    cursor: pointer;
}

#sizeLabel{
    font-family:'REGULAR-MEDIUM';
    color: rgb(15, 47, 127);
    font-size: 13px;
    margin-top: 5px; 
    margin-bottom: 10px;
    display: inline;
    margin-bottom: 5px;
    margin-right: 50px;
}

#clearCanvasButton{
    font-size: 13px;
    background-color: #ffffff; 
    border: 1px solid rgb(15, 47, 127);
    color: rgb(15, 47, 127);
    font-family: 'REGULAR';
    cursor: pointer; 
    margin-bottom: 10px;
    margin-right: 0px;
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 10rem;
    text-align: CENTER;
}

#undoButton{
    font-size: 13px;
    background-color: #ffffff; 
    border: 1px solid rgb(15, 47, 127);
    color: rgb(15, 47, 127);
    font-family: 'REGULAR';
    cursor: pointer; 
    margin-top: 10px;
    margin-bottom: 0px;
    margin-right: 0px;
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 10rem;
    text-align: CENTER;
}

#redoButton{
    font-size: 13px;
    background-color: #ffffff; 
    border: 1px solid rgb(15, 47, 127);
    color: rgb(15, 47, 127);
    font-family: 'REGULAR';
    cursor: pointer; 
    margin-top: 10px;
    margin-bottom: 0px;
    margin-right: 0px;
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 10rem;
    text-align: CENTER;
}

#eraseButton{
    font-size: 13px;
    background-color: #ffffff; 
    border: 1px solid rgb(15, 47, 127);
    color: rgb(15, 47, 127);
    font-family: 'REGULAR';
    cursor: pointer; 
    margin-bottom: 10px;
    margin-right: 0px;
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 10rem;
    text-align: CENTER;
}

.button-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* space between buttons */
    justify-content: flex-start; /* optional: center horizontally */
    max-width: 21.25rem; /* keeps two per row if button width is 10.4rem + gap */
  }