@tailwind base;
@tailwind components;
@tailwind utilities;

@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

body {
    font-family: 'Montserrat', sans-serif!important;
}

h1 {
    font-size: 22px!important;
    font-weight: 600!important;
}

.sidebar {
    position: fixed;
    overflow-x: hidden;
    transition: 0.5s;
    z-index: 1;

}

.sidebarBtn {
    transition: margin-left .5s;
    padding: 16px;
    position: fixed;
  }

.modal{
    display: none;
}

.deleteRowBtn:hover{
    cursor: pointer;
}
.addManualExpense{
    filter: none;
}

.expensesTable {
    width: 90%;
    border-collapse: collapse;
    margin: 3%;
    border-radius: 2px;
}
.expensesTable td, .expensesTable th{
    border: 1px solid #219ebc;
    padding: 8px;
}
.expensesTable tr:nth-child(even){
    background-color: #caf0f8;
}

.modalContent{
    position: fixed!important;
    background-color: #0c4a6e!important;
    width: 40%;
    right: 30%;
    bottom: 25%;
}

div.scanScreen img {
    width: 60%;
    margin-left: 20%!important;
}

.totalAmounts {
    width: 30%;
    margin-left: 35%;
    margin-top: 6%;
    margin: 6%, auto, 0%, 35%;
}


#BarChart {
    margin-bottom: 10%;
}

#DoughnutChart {
    width: 70%!important;
    height: 70%!important;
}


#video-player {
    width: 100%;
    flex: 0, 0, 33.33%;
}

.video-frame {
    margin: 10px;
}

.screenMargin {
    margin-left: 5%;
    margin-right: 5%;
    padding-top: 2%;
}

#id:nth-child(odd), #name:nth-child(odd), #priceCriptos:nth-child(odd), #conversion:nth-child(odd) {
    background-color: red;
}


.totalAmountsTable tr td {
    padding: 0% 5%;
    text-align: justify;
}
.totalAmountsTable tr th {
    padding: 0% 5%;
    text-align: justify;
}

.totalAmountsTable {
    width: 70%;
    margin-left: 15%;
    margin-top: 3%;
}

.chart  {
    width: 50%;

}

.charts {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.doughnutChart {
    display: flex;
    justify-content: center;
}

.CalendarContainer{
    margin-left: 125px ;
    transform: scale(0.75);
}
.expensesTable tr {
    word-break: break-all;
}

@media only screen and (max-width: 900px){
    .charts {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
    }
}

@media only screen and (max-width: 780px){
    .screenMargin{
        padding-top: 10%!important;
    }
}

@media only screen and (max-width: 550px){

    .modalContent{
        width: 90%!important;
        right: 7%!important;
    }
}
@media only screen and (min-width: 550px) and (max-width: 800px){
    .modalContent{
        width: 60%!important;
        right: 20%!important;
    }
}

