body {
    margin: 0;
}

.topnav {
    overflow: hidden;
    background-color: #008081;
    margin-bottom: auto;
}
.topnav a {
    float: left;
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}
.topnav a:hover {
    background-color: #D4EDFA;
    color: black;
    border-radius: 10px;
}
.topnav a.active {
    background-color: #ff1696;
    color: black;
    border-radius: 10px;
}
.topnav .icon {
    display: none;
}
@media screen and (max-width: 600px) {
    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
        float: right;
        display: block;
    }
}
@media screen and (max-width: 600px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}
.row {
    background-color: #d7e1ec;
    background-image: linear-gradient(315deg, #d7e1ec 0%, #ffffff 74%);
}
body {
    width: 100%;
}
main {
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    height: 200%;
    margin-top: 20px;
}
.preview-box {
    margin-left: 40px;
    width: 200px;
    margin-top: 20px;
    height: 230px;
    float: left;
    position: relative;
}
.text-preview-box {
    width: 200px;
    height: 30px;
    text-align: center;
    position: absolute;
    bottom: 0px;
    padding-top: 5px;
}
table {
    
    border-collapse: collapse;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    text-align: center;
    height: auto;
}
td {
    
    padding-right: 20px;
    max-width: 100%;
    height: auto;
    padding-bottom: 80px;

        
}

/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	
	
	td { 
		/* Behave  like a "row" */
		border: none;
		
		position: relative;
		
	}
	
	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
     
    
  
.preview-box-photo {
    
    width: auto;
    margin-top: 20px;
    padding-top: 0px;
    height: 220px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    
    
}
.preview-box-photo-up {
    
   
      max-width: 100%;
         height: auto;
    
  
   
    
}
.preview-box-web {
    margin-left: 40px;
    width: 300px;
    margin-top: 20px;
    height: 450px;
    float: left;
    position: relative;
}
.text-preview-box-web {
    width: 300px;
    height: 30px;
    text-align: center;
    position: absolute;
    bottom: 0px;
    padding-top: 5px;
}
.center {
    /*margin: 2em 10% 2em 10%;*/
    padding-left: auto;
    padding-right: auto;
    box-shadow: 0 .3em 1em #000;
}