*{
    margin: 0px;
}

/*For the header & title*/
.flex-header {
    display: flex;
    background-color: rgb(62, 12, 109);
    width: 100%;
    height: 50px;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    position: fixed;
}

.flex-header > div {
    color: white;
    padding: 5px;
    font-family: 'Gabarito', sans-serif;
    font-size: 1.8rem;
    margin-left: 10px;
    margin-right: 10px;
}

.flex-header a {
    text-decoration: none;
    color: white;
}

/* For the main content */
main {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background-color: rgba(226, 226, 226, 0.489);
}

.title {
    background-color: blueviolet;
}

h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 90px;
    font-family: 'Gabarito', sans-serif;
    color: white;
    font-size: 4rem;
    letter-spacing: 4px;
}

h2 {
   display: flex; 
   justify-content: center;
   width: 100%;
   height: 50px;
   font-family: 'Gabarito', sans-serif;
   color: white;
   font-size: 2rem;
   letter-spacing: 4px;
}

.search {
    width: 100%;
    height: 40px;
    text-align: center;
} 

.search input[type=text] {
    width: 30%;
    height: 25px;
    border: none;
    box-sizing: border-box;
    background-color: white;
    background-image: url('assets/search-icon2.png');
    background-position: 6px 5px;
    background-repeat: no-repeat;
    padding-left: 28px;
}

.vertical-nav {
    display:flex;
    width: 15%;
    height: 100%;
    align-items: center;
    align-content: space-between; 
    font-family: 'Gabarito', sans-serif;
    font-size: 1.8rem;
    background-color: #f3c677;
    box-shadow: 10px 10px 10px rgba(67, 67, 67, 0.5);
}

.vertical-nav > ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    width: 100%;
}

.vertical-nav > ul > li a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
}
  
li a.active {
    background-color: #0c0a3e;
    color: white;
}

li a:not(.active) {
    color: black;
}
  
li a:hover:not(.active) {
    background-color: #ffe8c1;
    color: black;
}

.information {
    display: flex;
    flex-wrap: wrap;
    width: 50%;
    margin-left: 50px;
    margin-right: 50px;
}

h3 {
    width: 100%;
    font-family: 'Gabarito', sans-serif;
    font-size: 2.5rem;
    color:rgb(88, 21, 151);
}

.title-input {
    width: 100%;
    border: 1px solid #c4c4c4;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 3px;
    padding: 8px 10px;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.content-input {
    width: 100%;
    height: 200px;
    border: 1px solid #c4c4c4;
    margin-bottom: 20px;
    border-radius: 3px;
    padding: 8px 10px;
    box-sizing: border-box;
    resize: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.button {
    font-family: 'Gabarito', sans-serif;
    font-size: 1.1rem;
    background-color: blueviolet;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: right;
    margin-left: 11px;
}

.button:hover {
    background-color: rgb(88, 21, 151);
}

h4 {
    font-family: 'Gabarito', sans-serif;
    color: rgb(88, 21, 151);
    margin-bottom: 10px;
}

.post-title {
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
}

.post-title a {
    text-decoration: none;
    color: black;
}

.post-title a:hover {
    text-decoration: underline;
}

.date {
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #4F4F4F;
    margin-bottom: 15px;
    border-bottom: 1px solid black;
}

p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #4F4F4F;
    margin-bottom: 20px;
}

p a {
    text-decoration: underline;
    color: #4F4F4F;
}

.hot-post {
    width: 20%;
}

/*For the footer*/
.flex-footer {
    display: flex;
    background-color: rgb(62, 12, 109);
    height: 300px;
    align-items: center;
    justify-content: space-between;
}

.flex-footer > div {
    font-family: 'Gabarito', sans-serif;
    color: white;
    font-size: 2.2rem;
} 

.credit {
    display: flex;
    font-family: 'Gabarito', sans-serif;
    color: white;
    height: 30px;
    background-color: rgb(62, 12, 109);
    justify-content: center;
    align-items: center;
}