@font-face {
    src: url(../fonts/ethnocentric/ethnocentric_rg.ttf);
    font-family: ArionFont;
}

main {
	background-color: #263A4A;
}

.main-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #263A4A;
    z-index: 1;
    width: 100%;
    max-width: 2560px;
    margin: auto;
}

.front {
    display: grid;
    grid-template-columns: 100%;
    width: 100%;
    height: calc(100vh - 80px);
}

.Background, .front h1 {
    grid-row: 1/2;
    position: relative;
}

.Background {
    grid-column: 1/2;
    background-image: url("../img/Background.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #000000;
    opacity: 0.7;
}

.front h1 {
    grid-column: 1/-2;
    font-family: ArionFont;
    color: #ffffff;
    font-size: 5rem;
    width: 90%;
    height: 80%;
    top: 10%;
    left: 5%;
}

.records {
    padding: 7% 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.records h2 {
    font-family: ArionFont;
    font-size: 3rem;
    color: #ffffff;
    padding-bottom: 5px;
    text-align: center;
}

.records p {
    padding-top: 5px;
    font-family: arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    width: 80%;
    max-width: 870px;
}

table {
    font-family: arial, sans-serif;
    color: #ffffff;
    border-collapse: collapse;
    max-width: 870px;
    width: 80%;
    background-color: #00000030;
  }
  
  td, th {
    border: 1px solid #9E9E9E;
    text-align: left;
    padding: 8px;
    font-weight: 600;
  }
  
  tr:first-child {
    background-color: #9E9E9E;
  }

@keyframes fromleft {
	from {
	    position: relative;
	    left: -1500px;
	}
	to {
	    position: relative;
	}
		
}

@media screen and (max-width:960px) {
    .front h1 {
        font-size: 4rem;
    }
}

@media screen and (max-width:720px) {
    .records h2 {
        font-size: 2.5rem;
    }

    .records p {
        font-size: 0.8rem;
        width: 90%;
    }

    table {
        width: 90%;
        font-size: 0.8rem;
    }
}

@media screen and (max-width:430px) {
    .front h1 {
        text-align: center;
        top: 30%;
        font-size: 1.8rem;
    }

    .records h2 {
        font-size: 1.8rem;
    }

    .records p {
        font-size: 0.7rem;
        width: 90%;
    }

    table {
        width: 90%;
        font-size: 0.7rem;
    }

    @keyframes fromleft {
        from {
            position: relative;
            top: -1500px;
        }
        to {
            position: relative;
        }
            
    }
}