h1 {
    margin: 10px;
    font-size: 45px;
    font-weight: 900;
}

h2 {
    margin: 5px;
    font-size: 25px;
    font-weight: 600;
}

h3 {
    margin: 1px;
    font-size: 20px;
    font-weight: 400;
    color: grey;
}

input[type='color']{
    cursor:pointer;
    border: transparent;
    border-radius: 5px;
    -webkit-appearance: none;
    appearance:initial;
    background-color: transparent;
}
input[type="color"]::-webkit-color-swatch-wrapper {
	padding: 0;
    border:none;
}
input[type="color"]::-webkit-color-swatch {
	border: none;
    border-radius: 5px;
}

@media(min-width:501px){
    body {
        margin: 0;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        overflow-y: hidden;
    }

    #topSection {
        position: fixed;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        background-color: white;
        border: solid 1px #ebebeb;
        min-height: 12%;
        width: 100%;
        top: 0;
    }

    #content {
        display: flex;
        flex-direction: column;
        margin-top: 15vh;
        margin-left: 8%;
        margin-right: 8%;
        margin-bottom: 15vh;
    }

    #heroDiv{
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        /* margin-top: 0.5vh; */
        margin-right: 25%;
        margin-left: 25%;
        margin-bottom: 5px;
        text-align: center;
    }

    #logo {
        display: flex;
        margin-left:25px;
    }
        
    #pageSelector {
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin-right: 20px;
        font-size: 14px;
    }

    .pageButton {
        display: block;
        border-radius: 20px;
        cursor: pointer;
        padding: 8px 15px 8px 15px;
        margin:10px;
    }
    
    .pageButton:hover {
        background-color: #212121;
        color: #F5F5F5;
    }

    #actionContainer{
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin-top: 5vh;
        margin-bottom: 5px;
        margin-left: 5vw;
        margin-right: 5vw;
    }

    #imageUploadSpan{
        display: flex;
        flex-direction: column;
        border: solid 1px #bbbbbb;
        border-radius: 5px;
    }

    #exportCopyDiv{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-left: 10px;
        margin-right: 10px;
        font-weight: 600;
    }

    #copyColorsButton{
        display: flex;
        justify-content: center;
        align-items: center;
        border: solid 1px #4053FF;
        background-color: #4053FF;
        color:white;
        border-radius: 5px;
        padding: 10px 20px 10px 20px;
        width:100%;
        cursor: pointer;
    }

    #copyColorsButton:hover{
        background-color: rgb(4, 20, 91);
        border: solid 1px rgb(4, 20, 91);
        color:white;
    }

    #imageCanvaSpan{
        display: flex;
        justify-content: center;
        width: 35vw;
        height:50vh;
        overflow: hidden;
        border-radius: 5px;
        border: solid 1px #bbbbbb;
    }

    #imageCanvas{
        object-fit: contain;
    }

    #selectedColor {
        margin-top: 20px;
        font-size: 18px;
      }
      
    #bottomSectionUploadSpan{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        margin: 10px;
    }

    #uppyDashboard{
        display: flex;
        justify-content: center;
    }

    #colorPalette{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        margin-left: 15px;
    }

    .colorOutput{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        margin-bottom: 10px;
        min-width: 150px;
    }

    .colorLabel{
        margin-right: auto;
        font-weight: 600;
    }

    .uppy-Dashboard-inner {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        border-radius: 5px;
        border: solid 1px #bbbbbb;
    }

    .uppy-Dashboard-AddFiles-title{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .uppy-Dashboard-dropFilesHereHint{
        display: none;
    }
    .uppy-Dashboard-AddFiles{
        color:grey;
        text-align: center;
    }

    .uppy-DashboardContent-bar{
        text-align: center;
    }

    .uppy-Dashboard-Item-preview{
        display: none;
    }

    .uppy-Dashboard-files{
        display: none;
    }

    .uppy-DashboardContent-back, .uppy-Dashboard-browse{
        background-color: #4053FF;
        border: solid 1px #4053ff;
        border-radius: 5px;
        color:white;
        padding:5px 10px 5px 10px;
        cursor: pointer;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .uppy-DashboardContent-back:hover, .uppy-Dashboard-browse:hover{
        background-color: rgb(4, 20, 91);
        border: solid 1px rgb(4, 20, 91);
        color:white;
    }

    .drawerAds{
        position: fixed;
        justify-content: center;
        align-items: center;
        bottom: 1vh;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media(max-width:500px){

    body {
        margin: 0;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
    }

    #topSection {
        position: fixed;
        top:0;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        background-color: white;
    }

    #content {
        display: flex;
        flex-direction: column;
        margin-top: 15vh;
        margin-left: 8%;
        margin-right: 8%;
        margin-bottom: 15vh;
    }

    #heroDiv{
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        margin-top: 3vh;
        margin-right: 1%;
        margin-left: 1%;
        margin-bottom: 20px;
        text-align: center;
    }

    #logo{
        width:fit-content;
        margin-left: 5%;
    }

    #pageSelector {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .pageButton {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        border: solid 1px #212121;
        border-radius: 5px;
        padding: 2px;
        margin: 2px;
        background-color: white;
        color: black;
        font-size: 12px;
    }
    
    .pageButton:hover {
        background-color: #212121;
        color: #F5F5F5;
    }

    #actionContainer{
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        margin-top: 15px;
    }

    #imageUploadSpan{
        display: flex;
        flex-direction: column;
        border: solid 1px #bbbbbb;
        border-radius: 5px;
        margin-bottom: 15px;
        width:90vw;
    }

    #exportCopyDiv{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-left: 10px;
        margin-right: 10px;
        font-weight: 600;
    }

    #copyColorsButton{
        display: flex;
        justify-content: center;
        align-items: center;
        border: solid 1px #4053FF;
        background-color: #4053FF;
        color:white;
        border-radius: 5px;
        padding: 10px 20px 10px 20px;
        width:100%;
        cursor: pointer;
    }

    #imageCanvaSpan{
        display: flex;
        justify-content: center;
        width: 90vw;
        height:50vh;
        overflow: hidden;
        border-radius: 5px;
        border: solid 1px #bbbbbb;
    }

    #imageCanvas{
        object-fit: contain;
    }

    #selectedColor {
        margin-top: 20px;
        font-size: 18px;
      }
      
    #bottomSectionUploadSpan{
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        margin: 10px;
    }

    #uppyDashboard{
        display: flex;
        justify-content: center;
    }

    #colorPalette{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        margin-left: 15px;
        margin-top: 15px;
    }

    .colorOutput{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        margin-bottom: 10px;
        min-width: 150px;
    }

    .colorLabel{
        margin-right: auto;
        font-weight: 600;
    }

    .uppy-Dashboard-inner {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        border-radius: 5px;
        border: solid 1px #bbbbbb;
    }

    .uppy-Dashboard-AddFiles-title{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .uppy-Dashboard-dropFilesHereHint{
        display: none;
    }
    .uppy-Dashboard-AddFiles{
        color:grey;
        text-align: center;
    }

    .uppy-DashboardContent-bar{
        text-align: center;
    }

    .uppy-Dashboard-Item-preview{
        display: none;
    }

    .uppy-Dashboard-files{
        display: none;
    }

    .uppy-DashboardContent-back, .uppy-Dashboard-browse{
        background-color: #4053FF;
        border: solid 1px #4053ff;
        border-radius: 5px;
        color:white;
        padding:5px 10px 5px 10px;
        cursor: pointer;
        margin-top: 10px;
        margin-bottom: 10px;
    }
}




/* global styling */
#colorTooltipText{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 500;
    color:grey;
    position: relative;
}

#paletteTooltip{
    cursor: pointer;
    margin-left: 5px;
}

.tippy-box[data-theme~='retro'] {
    background-color: #012223;
    color:white;
    padding:10px;
}

.tippy-box[data-theme~='retro'][data-placement^='top'] > .tippy-arrow::before {
    border-top-color: #012223;
  }