@import url('https://fonts.googleapis.com/css2?family=Courgette&display=swap');
body,td,th {
	background-color: #FF69B4; 
	font-family: 'Courgette', cursive;
	align-content:center;
	text-align:center;
	font-family: Courgette, cursive;
	color: #f3efef;
}

.container {
    width: 80%;
    
    display: grid;
    grid-template-columns:1.8fr 0.8fr;
    grid-template-rows: 0.1fr 0.1fr 1.3fr ;
    grid-template-areas: 
    "nav nav nav nav"
  	"forimg forimg forimg forimg"
  	"text video video video "  
	"footer footer footer footer"
	;
    grid-gap:1rem;
    font-weight: bold;
	margin-left: auto;
	margin-right: auto;
	border-radius:var(--main-radius);
    padding-top: var(--main-padding);
    
}
nav {
   border: 1px solid #7de69c;
    grid-area: nav;
    border-radius:var(--main-radius);
    padding-top: var(--main-padding);
    border:var(--border) ;
    text-align: center;
 
}

.forimg {
    grid-area: forimg;
    font-size: 15px;
    text-align: center;
    float: left;
   
}
.text {
	
    grid-area: text;
    font-size: 15px;
    text-align: center;

}
.video {

    grid-area: video;
    font-size: 15px;
    text-align: center;
    
   
}
footer{
	color: #222;
    grid-area: footer;
    font-size:18px;
    text-align: left;
	
    
   
}
a:link {
	color: #EFCECF;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
	color: #3A4147;
}
a:active {
	text-decoration: none;
}

.top { width:100%; float: left; }
.toplist { width: 98%; padding: 1%; border-bottom: 4px dashed #222; line-height: 150%; float: left; }
.toprank { width: 8%; color: #222; font-size: 70%; font-weight: bold; text-align: left; float: left; }
.topname { width: 77%; color: #222; font-size: 150%; font-weight: bold; text-align: left; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; float: left; }
.topname a:link { color: #FFF; text-decoration: underline; }
.topname a:active { color: #FFF; text-decoration: underline; }
.topname a:visited { color: #FFF; text-decoration: underline; }
.topname a:hover { color: #222; text-decoration: none; }
.toprating { width: 15%; color: #222; font-size: 70%; font-weight: bold; text-align: right; float: left; }
.page { margin: auto; max-width:100%; }
.topranks { margin:2px; color: #222; font-size: 70%; font-weight: bold;  float: left; }
.tops { width: 100%; float: left; }
.over {
	text-align: center;
}
@media only screen and (max-width:960px) {
.container {
    grid-template-columns:1fr;
    grid-template-rows: 0.1fr;
    grid-template-areas: 
    "nav"
    "forimg"
    "text"
    "video"
    "models"
    "footer"
    ;
 
}    
}
h1 {
	text-align: center;
}