* {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: newsreader;
}

header {
    height: 90px;
    display: flex;
    justify-content: center;
    border-bottom: solid black 1px;
    width: 90%;
    position: relative;
    left: 50%;
    transform: translate(-50%);
}

header h1 {
    margin-top: 30px;
    font-size: 40px;
}

header h1 a {
    color: black;
    text-decoration: none;
}

#links {
    border-bottom: solid black 1px;
    width: 90%;
    position: relative;
    left: 50%;
    transform: translate(-50%);
    display: flex;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

#links ul {
    display: flex;
    list-style: none;
    gap: 50px;
}

#links a {
    color: black;
    font-size: 15px;
}

#links a:hover {
    color: gray;
}

#newsday {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

#newsday h2 a {
    font-size: 35px;
    color: black;
}

.parent {
    display: grid;
    width: 90%;
    position: relative;
    left: 50%;
    transform: translate(-50%);
    margin-top: 20px;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 50px;
}

.div1 {
    grid-area: 1 / 1 / 2 / 7;
    border-bottom: solid black 0.1px;
    border-top: solid black 0.1px;
    height: 250px;
}

.div1 img {
    position: absolute;
    top: 40px;
    right: 80px;
    height: 200px;
}

#news1 {
    margin-top: 100px;
}

#news1 a {
    color: black;
    text-decoration: none;
}

#news1 a:hover {
    text-decoration: underline;
}

.div2 {
    grid-area: 2 / 1 / 3 / 4;
    border-bottom: solid black 0.1px;
    height: 180px;
    display: flex;
}

.div2 img {
    height: 150px;
    margin-right: 50px;
}

.div3 {
    grid-area: 2 / 4 / 3 / 7;
    border-bottom: solid black 0.1px;
    height: 180px;
    display: flex;
}

.div3 img {
    height: 150px;
    margin-right: 50px;
}

#news2 {
    text-align: left;
    margin-top: 40px;
}

#news2 a {
    color: black;
    text-decoration: none;
}

#news2 a:hover {
    text-decoration: underline;
}

.div4 {
    grid-area: 3 / 1 / 4 / 2;
    border-top: solid black 0.1px;
    border-bottom: solid black 0.1px;
    height: 100px;
}

.div5 {
    grid-area: 3 / 2 / 4 / 3;
    border-top: solid black 0.1px;
    border-bottom: solid black 0.1px;
    height: 100px;
}

.div6 {
    grid-area: 3 / 3 / 4 / 4;
    border-top: solid black 0.1px;
    border-bottom: solid black 0.1px;
    height: 100px;
}

.div7 {
    grid-area: 3 / 4 / 4 / 5;
    border-top: solid black 0.1px;
    border-bottom: solid black 0.1px;
    height: 100px;
}

.div8 {
    grid-area: 3 / 5 / 4 / 6;
    border-top: solid black 0.1px;
    border-bottom: solid black 0.1px;
    height: 100px;
}

.div9 {
    grid-area: 3 / 6 / 4 / 7;
    border-top: solid black 0.1px;
    border-bottom: solid black 0.1px;
    height: 100px;
}

#news3 {
    margin-top: 10px;
}

#news3 a {
    color: black;
    text-decoration: none;
}

#news3 a:hover {
    text-decoration: underline;
}

footer {
    width: 90%;
    border-top: solid black 1px;
    margin: auto;
    text-align: center;
    line-height: 30px;
}

footer a {
    text-decoration: none;
    color: black;
}

#singup:hover {
    text-decoration: underline;
}

article {
    width: 50%;
    margin: auto;
    margin-bottom: 50px;
}

figure img {
    height: 300px;
    display: block;
    margin: auto;
    margin-top: 20px;
}

article figcaption {
    text-align: center;
    font-size: 10px;
    margin-top: 5px;
}

#h1News {
    text-align: center;
    font-size: 35px;
    margin-top: 50px;
    padding-bottom: 10px;
    border-bottom: solid black 1px;
}

#titleNews {
    text-align: center;
    font-size: 30px;
    margin-top: 45px;
}

#subtitle {
    text-align: center;
    width: 80%;
    margin: auto;
    margin-top: 5px;
}

#author {
    margin-top: 40px;
    display: flex;
}

#author p {
    margin-left: 10px;
    margin-top: 15px;
}

#author img {
    height: 50px;
    border-radius: 50%;
}

#news {
    margin-top: 10px;
    font-size: 20px;
    text-align: justify;
    line-height: 30px;
}

#ad {
    width: 70%;
    margin: auto;
    border-top: solid black 1px;
}

#adTitulo {
    text-align: center;
    margin-top: 10px;
    font-size: 20px;
}

#adSub {
    font-size: 10px;
    text-align: center;
}

#adDesc {
    width: 50%;
    margin: auto;
    text-align: justify;
    margin-top: 10px;
    margin-bottom: 30px;
}