/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

/* Color */
:root {
    --primary-color: #2C3245;
    --secondary-color: #FD5858;
    --text-color: #333;
    --white-color: #fff;
    --danger-color: #F55354;
    --disabled-color: #F6F4FE;
    --succeess-color: #093;
    --border-color: #ececee;
    --bg-color: #f9f4f4;
    --bg-color2: #F2F4F9;


}

/* Common */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 400;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--secondary-color);
}

.container{
    max-width: 1280px;
    margin: auto;
    padding: 0 15px;
}

.flex{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

img{
    max-width: 100%;
    height: auto;
    width: 100%;
    display: block;
}

b{
    font-weight: 700;
}

.width25{
    width: 100%;
    max-width: calc(25% - 20px);
    margin: 10px;
}

.width20{
    width: 100%;
    max-width: calc(20% - 20px);
    margin: 10px;
}

.width23{
    width: 100%;
    max-width: calc(23% - 20px);
    margin: 10px;
}

.width30{
    width: 100%;
    max-width: calc(30% - 20px);
    margin: 10px;
}

.width40{
    width: 100%;
    max-width: calc(40% - 20px);
    margin: 10px;
}

.width50{
    width: 100%;
    max-width: calc(50% - 20px);
    margin: 10px;
}

.width60{
    width: 100%;
    max-width: calc(60% - 20px);
    margin: 10px;
}

.width70{
    width: 100%;
    max-width: calc(70% - 20px);
    margin: 10px;
}

.width100{
    width: 100%;
    max-width: calc(100% - 20px);
    margin: 10px;
}

/* Typography */
h1{
    font-size: 40px;
    font-weight: 700;
}

h2{
    font-size: 36px;
    font-weight: 700;
}

h3{
    font-size: 32px;
    font-weight: 700;
}

h4{
    font-size: 26px;
    font-weight: 700;
}

h5{
    font-size: 20px;
    font-weight: 700;
}

h6{
    font-size: 18px;
    font-weight: 700;
}

p,
a, 
li{
    font-size: 16px;
    font-weight: 400;
}

a{
    cursor: pointer;
    color: var(--primary-color);
    text-decoration: none;
}

a:hover{
    color: var(--hover-color);
}

strong{
    font-weight: 700;
}

input,
select,
textarea{
    font-size: 16px;
    padding: 10px 15px;
    line-height: 24px;
    border: 1px solid var(--secondary-color);
    width: 100%;
    background: transparent;
    border-radius: 10px;
}

input[type="email"]{
    text-transform: lowercase;
} 

textarea{
    height: 80px;
    display: block;
}

button{
    width: 100%;
    font-size: 18px;
    padding: 0 15px;
    line-height: 50px;
    background-color: var(--white-color);
    color: var(--primary-color);
    border: 0;
    border-radius: 10px;
    cursor: pointer;
}

button:hover{
    background-color: var(--hover-color);
    color: var(--white-color);
}

input:focus{
    outline: 0;
}

input:disabled,
select:disabled {
    background-color: var(--disabled-color);
}

input[type="radio"] {
    transform: scale(1.5); 
}

table{
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

td,
th{
    border: 1px solid var(--primary-color);
    border-bottom: 0;
    padding: 5px;
    text-align: center;
    text-transform: capitalize;
}

th{
    font-weight: 500;
    font-size: 16px;
    line-height: 25px;
}

tr:last-child td,
tr:last-child th{
    border-bottom: 1px solid var(--primary-color);
}

.alert,
.error{
    width: 100%;
    padding: 15px;
    margin-bottom: 10px;
    text-align: center;
}

.alert-success{
    background-color: var(--succeess-color);
    color: var(--white-color);
}

.alert-error,
.error{
    background-color: var(--danger-color);
    color: var(--white-color);
}

.loading-spinner{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

h6#loading-text{
    font-size: 40px;
    color: var(--white-color);
}
