﻿@font-face {
    font-family: "Gotham-Light";
    src: url("/font/Gotham-Font/Gotham-Light.otf")
}

@font-face {
    font-family: "Gotham-Black";
    src: url("/font/Gotham-Font/Gotham-Black.otf")
}

/*Newsletter*/
.main-container {
    max-width: 80%;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
}

.secondary-div {
    overflow: hidden; 
    margin-bottom: 20px;
    border-radius: 5px;
}

.secondary-div {
    display: flex;
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
}

.column {
    padding: 10px;
}

.image-column {
    flex: 1;
    min-width: 200px; /* Minimum width for the image column */
}

.image-column {
    float: left;
    max-width: 400px; 
}

.image-column img {
    width: 100%;
    height: auto; 
    border-radius: 10px;
}

.content-column {
    overflow: hidden; 
    padding: 10px;
    margin-left: 10px; 
    position: relative; 
    min-height: 150px; 
}

.content-column h2 {
    margin: 0 0 10px;
}

.content-column p {
    margin: 5px 0;
}

.link-newsletter {
    width: 98%;
    position: absolute;
    bottom: 10px;
    left: 10px; 
    cursor: pointer; 
    cursor: pointer;
    margin-top: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #53c0df;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
}

.link-text-newsletter {
    font-size: 14px;
    line-height: 20px; 
}

.link-newsletter:hover .link-text-newsletter {
    color: #0056b3;
}





.content-column {
    flex: 2;
}

.content-column h2 {
    margin: 0 0 10px;
}

.content-column p {
    margin: 5px 0;
}


.mainContainer {
    width: 100%;
    /* padding-top: 50px; */
    /* background-color: red; */
}

.newsContainer {
    width: 50%;
    margin: auto;
}

.newsCotnainer {
    width: 100%;
    margin: auto;
    background-color: white;
    padding: 30px; 
    border-radius: 10px;
    font-family: Gotham-Light
}

.titleNewsAlt {
    color: #2c4965;
    font-weight: 700;
    font-size: 1.5em;
    font-family: Gotham-Light;
    margin: 0px 0px 10px 0px
}

.titleNews {
    color: #2c4965;
    font-weight: 700;
    font-size: 1.5em;
    font-family: Gotham-Black;
    margin: 0px 0px 10px 0px
}

.publishedDate {
    color: #acacac;
    font-size: 1em;
    margin: 0px 0px 20px 0px
}

.imgContainer {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    border-radius: 16px;
}

.imgContainer img {
    border-radius: 16px;
}

.imgProperty {
    width: 100%;
    border-radius: 5px;
}

.bodyContainer {
    margin-top: 20px;
}

.bodyProperty {
    color: #6d6c70;
    font-size: 0.9em;
}

.linkProperty {
    cursor: pointer;
    margin-top: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #53c0df;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}

.linkText {
    font-size: 14px;
    line-height: 20px;
}



.newsNoContent {
    margin-top: 80px;
    width: 100%;
    text-align: center;
    color: #929292
}



.noNewsimgContainer {
    width: 60%;
    margin: auto;
    border-radius: 10px;
    cursor: pointer;
}


.spinner {
    border: 16px solid silver;
    border-top: 16px solid #2c4965;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}
