@media screen and (min-width:768px) and (max-width:1279px) and (orientation:portrait) {

    #logo-td{
        margin:auto;
        width:15%;
    }

    #name-td{
        display: block;
        width: 50%;
    }

    #name-td h1{
        color:white;
        font-size: 180%;
        font-weight: 100;
    }

    #menu-td{
        height: 100%;
        display:block;
        width:15%;
        text-align: center;
        padding:0;
        align-items: center;
    }

    #menu-td nav{
        display:none;
    }

    #menu-td a{
        height: 100%;
        width:100%;
        color: #fff;
    }
    
    #menu-td:hover{
        background-color: #ffbf47;
        color: #000;
    }

    #menu-td:active{
        color: #fff;
    }

    #mobile-menu{
        display:none;
        font-size: 100%;
        background-color: #000;
        position: fixed;
        right: 0;
        text-align: center;
        width: 40%;
        vertical-align: middle;
    }

    #mobile-menu a {
        text-transform: uppercase;
        text-decoration: none;
        color: #fff;
        padding: 5% 2%;
        display:block;
        font-weight:300;
    }

    #mobile-menu a:active {
        color: #351042;
        background-color: #fff;
        font-weight:300;
    }

    #mobile-menu a:hover {
        background-color: #ffbf47;
        font-weight: 300;
        color: #000;
    }

    #mobile-menu-button{
        display:block;
    }

    nav a{
        width:100%;
    }

    .home{
        background-image: url("../images/s1-tablet.webp");
    }

    #slideshow-header{
        left:0;
        bottom: 10%;
        font-size: 250%;
    }

    #slideshow-subheader{
        left:0;
        bottom: 0;
        font-size: 200%;
        font-weight: 100;
    }

    .about h2{
        font-size: 250%;
    }

    .about h3{
        font-size: 180%;
    }

    .services h2 {
        font-size: 250%;    
    }
    
    .cards{
        width:40%;
        padding: 0 1%;
        margin: 2% auto;
    }

    .insta h2 {
        font-size: 250%;
    }

    .insta h3 {
        font-size: 180%;
    }

    .insta-posts a {
        width: 40%;
        margin: 1%;
    }

    .contact h2 {
        font-size: 250%;
    }
    
    .contact .contact-details {
        flex-direction: column;
        align-items: center;
    }

    .contact .contact-detail{
        width: 80%;
        padding:5%;
    }
    
    .middle{
        border:0;
    }

    .contact .social-details {
        flex-direction: row;
        align-items: center;
    }

    .contact .social-detail{
        width: 10%;
        padding:5%;
    }

    .booking h2 {
        font-size: 250%;
    }

    .booking h3 {
        font-size: 180%;
    }

    .booking-form {
        flex-direction: column;
    }

    .booking-form-question {
        width: 90%;
        flex-wrap: wrap;
    }

    .booking-form-question legend {
        font-size: 180%;
        width: 100%;
        text-align: center;
    }
    
    .booking-form-question input {
        font-size: 150%;
        width: 100%;
    }
    
    .booking-form-question select {
        font-size: 150%;
        width: 100%;
    }

    .last-item input[type="text"] {
        width: 100%;
    }
    
    .booking-form-button input[type=submit] {
        font-size: 180%;
        width: 90%;
        margin: 5%;
    }

    footer{
        width: 100%;
    }

    footer h2 {
        font-size: 150%;
    }

    #popup{
        z-index: 3;
        position: fixed;
        top:0;
        left:0;
        right:0;
        bottom:0;
        background-color: black;
        color: white;
        width: 90%;
        height: 90%;
        margin: auto;
    }
    
    #popup h2{
        text-align: center;
        font-size: 4vw;
    }
    
    #popup p{
        margin: 0 1%
    }
    
    #popup button{
        border:0;
        background-color:#ffbf47;
        box-sizing: unset;
        font-size: 4vw;
        display: block;
        margin:1%;
        position: absolute;
        top:0;
        right: 0;
    }

    #popup button:hover{
        color:#351042;
        background-color: white;
    }
    
    #popup-imgs{
        width:90%;
        display:flex;
        margin: 0 auto;
        justify-content: space-evenly;
        flex-direction: column;
        align-items: center;
    }
    
    #popup-imgs video{
        width:40%;
    }
    
    #popup-imgs picture{
        width:60%;
    }
    #popup-imgs picture img{
        width:100%;
    }
}

@media screen and (min-width:768px) and (max-width:1279px) and (orientation:landscape) {

    #logo-td{
        margin:auto;
        width:15%;
    }

    #name-td{
        display: block;
        width: 50%;
    }

    #name-td h1{
        color:white;
        font-size: 180%;
        font-weight: 100;
    }

    #menu-td{
        height: 100%;
        display:block;
        width:15%;
        text-align: center;
        padding:0;
        align-items: center;
    }

    #menu-td nav{
        display:none;
    }

    #menu-td a{
        height: 100%;
        width:100%;
        color: #fff;
    }
    
    #menu-td:hover{
        background-color: #ffbf47;
        color: #000;
    }

    #menu-td:active{
        color: #fff;
    }

    #mobile-menu{
        display:none;
        font-size: 100%;
        background-color: #000;
        position: fixed;
        right: 0;
        text-align: center;
        width: 40%;
        vertical-align: middle;
    }

    #mobile-menu a {
        text-transform: uppercase;
        text-decoration: none;
        color: #fff;
        padding: 5% 2%;
        display:block;
        font-weight:300;
    }

    #mobile-menu a:active {
        color: #351042;
        background-color: #fff;
        font-weight:300;
    }

    #mobile-menu a:hover {
        background-color: #ffbf47;
        font-weight: 300;
        color: #000;
    }

    #mobile-menu-button{
        display:block;
    }

    nav a{
        width:100%;
    }

    .home{
        background-image: url("../images/s1-tablet.webp");
    }

    #slideshow-header{
        left:0;
        bottom: 10%;
        font-size: 200%;
    }

    #slideshow-subheader{
        left:0;
        top: 10%;
        bottom: 0;
        font-size: 150%;
        font-weight: 100;
    }

    .about h2{
        font-size: 130%;
    }

    .about h3{
        font-size: 90%;
    }

    .services h2 {
        font-size: 140%;    
    }
    
    .cards{
        width:40%;
        padding: 0 1%;
        margin: 2% auto;
    }

    .insta h2 {
        font-size: 140%;
    }

    .insta h3 {
        font-size: 90%;
    }

    .insta-posts a {
        width: 40%;
        margin: 1%;
    }

    .contact h2 {
        font-size: 140%;
    }
    
    .contact .contact-details {
        flex-direction: row;
        align-items: center;
    }

    .contact .contact-detail{
        width: 31%;
        padding:2%;
    }

    .contact .contact-info {
        font-size: 100%;
    }

    .contact .social-details {
        flex-direction: row;
        align-items: center;
    }

    .contact .social-detail{
        width: 10%;
        padding:5%;
    }

    .booking h2 {
        font-size: 140%;
    }

    .booking h3 {
        font-size: 90%;
    }

    .booking-form {
        flex-direction: column;
    }

    .booking-form-question {
        width: 90%;
        flex-wrap: wrap;
    }

    .booking-form-question legend {
        font-size: 90%;
        width: 100%;
        text-align: center;
    }
    
    .booking-form-question input {
        font-size: 90%;
        width: 100%;
    }
    
    .booking-form-question select {
        font-size: 90%;
        width: 100%;
    }

    .last-item input[type="text"] {
        width: 100%;
    }
    
    .booking-form-button input[type=submit] {
        font-size: 90%;
        width: 90%;
        margin: 5%;
    }

    footer h2 {
        font-size: 90%;
    }
}