html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    background-color: #9da4a9;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
        }

#wrapper {
    background: #68bcb9;
    padding: 20px;
    box-shadow: 0px 6px 12px #0a1d39;
    border: 1px solid #0a1d39;
    border-radius: 48px;
}

#wrapper-internal {
    background: #68bc9a;
    padding: 20px;
    box-shadow: 0px 6px 12px #165838;
    border: 1px solid #165838;
    border-radius: 48px;
}

.home-header{
    background-image: url("../images/cow_logo.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    height: 220px;
    width: min(100%, 432px);
    margin: 20px auto;
}

.intro-header {
    background: #e5f2f1;
    width: min(calc(100% - 80px),960px);
    margin: auto;
    padding: 15px 20px;
    border: 1px solid #e5f2f1;
    border-radius: 24px;  
}

#column-left {
    float: left;
  
}

#column-right {
    float: left;
    padding: 0px 30px 0px 10px;
}

ol {
    list-style: none;
    padding: 20px;
    margin: 20px;
}


.continents-list li {
    background-repeat: no-repeat;
    background-position: left;
    background-size: cover;
    height: 180px;
    width: 270px;
    padding: 20px;
    margin: 10px 10px;
    text-align: center;
    padding-top: 80px;
}

.continents-list li a{
    background-color: #e5f2f1;
    border-radius: 30px;
    padding: 15px;
}

.africa {
    background: url(../images/africa.jpg);
    transform:rotate(5deg);
    
}

.antarctica {
    background: url(../images/antarctica.jpg);
    transform:rotate(-5deg);
    
}

.asia {
    background: url(../images/asia.jpg);
    transform:rotate(5deg);
}

.australia {
    background: url(../images/australia.jpg);
    transform:rotate(-5deg);
}

.europe {
    background: url(../images/europe.jpg);
    transform:rotate(5deg);
}

.northamerica {
    background: url(../images/northamerica.jpg);
    transform:rotate(-5deg);
}

.southamerica {
    background: url(../images/southamerica.jpg);
    transform:rotate(5deg);
}

.africa-home-header {
    display: flex;
    justify-content: center;
    margin: 20px;
}

img {
    max-width: 100%;
}

.main-title {
    text-align: center;
    text-decoration: underline;
    font-size: 40px;
    margin: 40px;
}

table {
    margin: auto;
    margin-top: 50px;
    border: 3px solid #9d774d;
    border-collapse: collapse;
    background-color: aliceblue;
}

table>tbody>tr:hover{
    background-color: #e3f270;
}

caption {
    font-weight: bold;
    font-size: 30px;
    padding: 5px;
    background-color: #2f6547;
    color: aliceblue;
}

td {
    border: 1px solid #8f8f8f;
    padding: 3px;
}

.item {
    font-weight: bold;
    text-align: right;
    font-size: 13px;
}

.fact {
    text-align: center;
}


iframe {
    width: 100%;
    height: auto;
}

iframe {
    aspect-ratio: 16/9;
    border: 2px solid #e3f270;
    border-radius: 1rem;
    background: black;
}

.more-info {
    font-size: 16px;
    font-weight: bold;
    padding-top: 30px;
}

.travel-info table {
    margin: auto;
    margin-top: 20px;
    border: 3px solid #6fb1db;
    width: 100%;
    border-collapse: collapse;
    background-color: aliceblue;
}

.travel-info table>tbody>tr:hover{
    background-color: #4c5cf0;
}

.travel-info tbody tr:nth-child(even) {
    background-color: #6fb1db;
}

.travel-info label {
    display: block;
    text-align: right;
}

.travel-info input {
    display: inline-block;
    font-size: inherit;
    font-family: Arial, Helvetica, sans-serif;
    padding: 4px 10px 4px 10px;
}

.travel-loaction-check-boxes label {
    text-align: left;
}

.travel-info input[type=reset] {
    display: inline-block;
    background: white;
    width: auto;
}

.travel-info:invalid input[type=submit] {
    background: lightgrey;
    cursor: not-allowed;
}

tbody tr:nth-child(even) {
    background-color: #9d774d;
}

.clearboth {
    clear: both;
}

.citations {
    display: block;
    margin: 10px;
    word-wrap: break-word;
    background: #cddad9;
    width: min(calc(100% - 42px),960px);
    margin: 20px 20px;
    padding: 20px 20px;
    border: 1px solid #cddad9;
    border-radius: 15px;
}

@media screen and (min-width: 1000px) {

    #wrapper {
        width: 1024px;
         margin: 0 auto;
     }

    #wrapper-internal {
        width: 1024px;
         margin: 0 auto;
     }
    
}
    