@font-face {
    font-family: azoSansRegular;
    src: url(/assets/FONT/AzoSans-Regular.ttf) format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: azoSansBlack;
    src: url(/assets/FONT/AzoSans-Black.ttf) format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: azoSansThin;
    src: url(/assets/FONT/AzoSans-Thin.ttf) format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: azoSansMedium;
    src: url(/assets/FONT/AzoSans-Medium.ttf) format('truetype');
    font-weight: normal;
}

html {
    font-family: azoSansRegular;
    color: white;
    font-size: 12px;
}

#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url(/assets/PNGs/tuga-mountains-background.png) no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    z-index: -1;
}

body {
    margin: 0px;
}

input,
textarea,
button,
select,
a {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-appearance: none;
}

input {
    font-family: azoSansRegular;
    color: white;
    font-size: 11px;
}

.tugalogo {
    height: 90px;
    margin: auto;
    margin-top: 50px;
    text-align: center;
    display: block;
}

.tugalogo img {
    height: 100%;
}

.articlecontainer {
    display: flex;
    align-items: center;
    height: 25px;
    margin: auto;
    margin-top: 2.5%;
    width: 80%;
}

.articlecont {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: rgba(144, 144, 144, 0.2);
    border: 1px solid rgba(200, 200, 200, 0.2);
    border-radius: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.articleicon {
    position: relative;
    max-height: 75%;
    margin-left: 4px;
    display:none;
}

.articletextCont {
    overflow: hidden;
    margin-right: 10px;
    margin-left: 10px;
}

.articletext {
    margin-left: 10px;
    margin-right: 10px;
    white-space: nowrap;
/*    font-family: azoSansThin;*/
    font-style: italic;
    padding-right: 1px;
    width: fit-content;
    margin: 0px;
    /*    -moz-animation: scroll-left 10s linear infinite;
    -webkit-animation: scroll-left 10s linear infinite;
    animation: scroll-left 10s linear infinite;
    animation-delay: 3s;*/
}

.articletextNoAnim {}


/*duration of scroll should be diferent depending on size of parent div*/


/*however we need jquery for that, if it's a big problem, i'l try to improve it later*/

.newNews {
    display: initial !important;
}

@keyframes news-animation {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(0.85);
	}

	100% {
		transform: scale(1);
	}
}

    .articletextAnim {
        -moz-animation: scroll-left 8s linear infinite;
        -webkit-animation: scroll-left 8s linear infinite;
        animation: scroll-left 8s linear infinite;
    }

    @-moz-keyframes scroll-left {
        0% {
        -moz-transform: translateX(0%);
    }
    20% {
        -moz-transform: translateX(0%);
    }
    90% {
        -moz-transform: translateX(-100%);
    }
    100% {
        -moz-transform: translateX(-100%);
    }
}

@-webkit-keyframes scroll-left {
    0% {
        -webkit-transform: translateX(0%);
    }
    20% {
        -webkit-transform: translateX(0%);
    }
    100% {
        -webkit-transform: translateX(-100%);
    }
    90% {
        -webkit-transform: translateX(-100%);
    }
}

@keyframes scroll-left {
    0% {
        -moz-transform: translateX(0%);
        /* Browser bug fix */
        -webkit-transform: translateX(0%);
        /* Browser bug fix */
        transform: translateX(0%);
    }
    20% {
        -moz-transform: translateX(0%);
        /* Browser bug fix */
        -webkit-transform: translateX(0%);
        /* Browser bug fix */
        transform: translateX(0%);
    }
    100% {
        -moz-transform: translateX(-0%);
        /* Browser bug fix */
        -webkit-transform: translateX(-100%);
        /* Browser bug fix */
        transform: translateX(-100%);
    }
    90% {
        -moz-transform: translateX(-0%);
        /* Browser bug fix */
        -webkit-transform: translateX(-100%);
        /* Browser bug fix */
        transform: translateX(-100%);
    }
}

.articlebutton {
    height: 100%;
    margin-left: auto;
    background-color: white;
    border: 1px solid rgba(200, 200, 200, 0.2);
    border-right: none;
    border-top: none;
    border-bottom: none;
    border-radius: 4px;
    color: rgb(79, 79, 79);
    font-weight: bold;
    font-family: azoSansMedium;
    font-size: 8px;
    text-align: center;
    padding-top: 3px;
}

/*.buttongrid {
    position: relative;
    width: 80%;
    margin: auto;
    margin-top: 20px;
}*/

.buttongrid {
    position: relative;
    width: 80%;
    margin: auto;
    margin-top: 20px;
    height: 500px;
}


.gridflexcontainer1-1 {
    width: 100%;
    /*height: 115px;*/
    height: 24.5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.gridflexcontainer1-2 {
    width: 100%;
    /*height: 70px;*/
    height: 15%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.gridflexcontainer1-3 {
    width: 100%;
    /* height: 45px;*/
    height: 12.5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.gridbutton0 {
    display: flex;
    align-items: flex-end;
    height: 100%;
    width: 100%;
    background-color: rgba(144, 144, 144, 0.2);
/*    border: 1px solid rgba(200, 200, 200, 0.2);*/
    border-radius: 10px;
}

.gridbutton1 {
    display: flex;
    align-items: flex-end;
    height: 100%;
    width: 35%;
    background-color: rgba(144, 144, 144, 0.2);
/*    border: 1px solid rgba(200, 200, 200, 0.2);*/
    border-radius: 10px;
}

.gridbutton2 {
    display: flex;
    align-items: flex-end;
    height: 100%;
    width: 100%;
    background-color: rgba(144, 144, 144, 0.2);
   /* border: 1px solid rgba(200, 200, 200, 0.2);*/
    border-radius: 10px;
}

.gridbutton3 {
    display: flex;
    align-items: flex-end;
    height: 100%;
    width: 53%;
    background-color: rgba(144, 144, 144, 0.2);
 /*   border: 1px solid rgba(200, 200, 200, 0.2);*/
    border-radius: 10px;
}

.gridbutton4 {
    display: flex;
    align-items: flex-end;
    height: 100%;
    width: 47%;
    background-color: rgba(144, 144, 144, 0.2);
/*    border: 1px solid rgba(200, 200, 200, 0.2);*/
    border-radius: 10px;
}

.gridbutton5 {
    display: flex;
    align-items: flex-end;
    height: 100%;
    width: 35%;
    background-color: rgba(144, 144, 144, 0.2);
   /* border: 1px solid rgba(200, 200, 200, 0.2);*/
    border-radius: 10px;
}

.gridbutton6 {
    display: flex;
    align-items: flex-end;
    height: 100%;
    width: 58%;
    background-color: rgba(144, 144, 144, 0.2);
  /*  border: 1px solid rgba(200, 200, 200, 0.2);*/
    border-radius: 10px;
}

.gridbutton7 {
    display: flex;
    align-items: flex-end;
    height: 100%;
    width: 62%;
    background-color: rgba(144, 144, 144, 0.2);
/*    border: 1px solid rgba(200, 200, 200, 0.2);*/
    border-radius: 10px;
}

.gridbutton8 {
    display: flex;
    align-items: flex-end;
    height: 100%;
    width: 40%;
    background-color: rgba(144, 144, 144, 0.2);
   /* border: 1px solid rgba(200, 200, 200, 0.2);*/
    border-radius: 10px;
}

.gridbutton9 {
    display: flex;
    align-items: flex-end;
    height: 100%;
    width: 35%;
    background-color: rgba(144, 144, 144, 0.2);
/*    border: 1px solid rgba(200, 200, 200, 0.2);*/
    border-radius: 10px;
}

.gridbutton10 {
    display: flex;
    align-items: flex-end;
    height: 100%;
    width: 100%;
    background-color: rgba(144, 144, 144, 0.2);
   /* border: 1px solid rgba(200, 200, 200, 0.2);*/
    border-radius: 10px;
}

.gridbuttontext1-1 {
    position: relative;
    width: 100%;
    margin-right: 10px;
    text-align: end;
    margin-bottom: 2px;
}

a {
    font-family: azoSansRegular;
    color: white;
    font-size: 12px;
    text-decoration: none;
    letter-spacing: 1.5px;
}

/*.pagewrapper {
    max-width: 750px;
    margin: auto;
}

.copyright {
    font-family: azoSansRegular;
    color: white;
    position: absolute;
    text-align: center;
    font-size: 7px;
    max-width: 750px;
    width: 100%;
    bottom: 0%;
}*/
/*Responsive Footer Section*/
html, body {
    height: 100vh;
}

app {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

#app {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.pagewrapper {
    width: 100%;
    max-width: 750px;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.copyright {
    font-family: azoSansRegular;
    color: #CECECE;
    font-size: 7px;
    flex-shrink: 0;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 0px;
}

@media (max-width: 360px) {
    app {
        align-items: initial;
    }

    #app {
        align-items: initial;
    }
}
/*End Responsive Footer Section*/

@media (max-width: 330) {
    .articlecont {
        width: 85%;
    }
}

@media (max-width: 360px) {
    a {
        font-size: 10px;
    }
}

@media (max-width: 300px) {
    a {
        font-size: 9px;
    }
}

@media (max-width: 250px) {
    a {
        font-size: 8px;
    }
}

@media (max-height: 800px) {
    .buttongrid {
        height: 500px;
    }
}

@media (max-height: 775px) {
    .buttongrid {
        height: 475px;
    }
}

@media (max-height: 750px) {
    .buttongrid {
        height: 450px;
    }
}

@media (max-height: 725px) {
    .buttongrid {
        height: 425px;
    }
}

@media (max-height: 700px) {
    .buttongrid {
        height: 400px;
    }
}

@media (max-height: 675px) {
    .buttongrid {
        height: 375px;
    }
}

@media (max-height: 650px) {
    .buttongrid {
        height: 350px;
    }
}

@media (max-height: 625px) {
    .buttongrid {
        height: 325px;
    }
}

@media (max-height: 600px) {
    .buttongrid {
        height: 300px;
    }
}

@media (max-height: 575px) {
    .buttongrid {
        height: 275px;
    }
}

@media (max-height: 550px) {
    .buttongrid {
        height: 250px;
    }
}

@media (max-height: 525px) {
    .buttongrid {
        height: 225px;
    }
}

@media (max-height: 500px) {
    .buttongrid {
        height: 200px;
    }
}

@media (max-height: 475px) {
    .buttongrid {
        height: 175px;
    }
}

@media (max-height: 450px) {
    .buttongrid {
        height: 150px;
    }
}