/*          
    Author: Dennis Van Woert         
    Date: 08-MAY-2023
    File Name: styles.css    
*/      

/* Color palette
Neon Purple:        #c724b1
Andes Sky:          #71dbd4
Imperial Purple:    #642f6c
explorer blue:      #58a7af
flitered light:     #b3b0c4
Magic Night:        #3a3a59

font-family: 'Bruno Ace SC', cursive;
font-family: 'Roboto', sans-serif;

*/

/* CSS Reset */          
body, header, nav, main, footer, img, h1, ul, section, aside, figure, figcaption {     
    margin: 0; 
    padding: 0; 
    border: 0;  
}

/* Style rule for images */          
img {     
    max-width: 100%;       
    display: block;
}

/* Style rules that applies to all elements */
* {
    box-sizing: border-box;
}

html {
    background-color: #3a3a59;
}

/* Style rules for mobile viewport */


/* Hide tab-desk class */
.tab-desk, #menu-links {
    display:none;
}


body {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    font-family: Roboto, Arial, sans-serif;  
}

/* Style rules for header content */       

header {     
    text-align: center;     
    font-size: 1.5em;     
    color: #b3b0c4;
}         

header h1 {     
    font-family: 'Bruno Ace SC', cursive;     
    font-size:  1.5em;    
    padding:  4%;    
    margin-right:  15%;
}

/* Style rules for navigation area */          
nav {     
    background-color: #b3b0c4;          
    font-family: 'Roboto', sans-serif;
}   

nav img {
    padding-left: 2%;
    max-width: 100%;
    max-height: 100%;
    float:left;
    display: block;
    margin: 1px;
}

.mobile-nav a {      
    color: #642f6c;      
    text-align: center;        
    font-size: 2em;      
    text-decoration: none;      
    padding: 3%;      
    display: block;    
}   

.mobile-nav a.menu-icon {      
    display: block;      
    position: absolute;      
    right: 0;      
    top: 0;    
}   

.menu-icon div {      
    height: 50px;      
    width: 50px;      
    background-color: #b3b0c4;    
}


/* Style rules for main content */    
main  {     
    padding: 2%;     
    background-color: #3a3a59;     
    overflow: auto;     
    padding-bottom: 2.5rem;
    display: flex;
    justify-content: center;
}   

.highlight {
    background-color: #71dbd4;
    color: black;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
    margin: 2%;
    width: 90%;
    align-items: center;
    justify-content: center;
}

.background-blue {
    background-color: #58a7af;
}

.background-purple {
    background-color: #642f6c;
}

.content-left, .content-right {
    flex: 100%;
    padding: 1%;
    min-width: 0;
}

.content-img {
    display: flex;
    justify-content: center;
}

.content-text1, .content-text2 {
    text-align: center;
    font-size: 1.5em;
    min-width: 0;
}

.content-text3 {
    color: #b3b0c4;
    font-size: 1.0em;
    text-align: justify;
    min-width: 0;
}

.content-emphasis {
    font-family: 'Bruno Ace SC', cursive;  
    font-size: xx-large;
    color: #c724b1;
    text-shadow: 4px 4px 8px #71dbd4;
    font-weight: bolder;
}


.button-59 {
    align-items: center;
    background-color: #3a3a59;
    border: 2px solid #71dbd4;
    box-sizing: border-box;
    color: #71dbd4;
    cursor: pointer;
    display: inline-flex;
    fill: #71dbd4;
    font-size: 16px;
    font-weight: 600;
    height: 48px;
    justify-content: center;
    letter-spacing: -.8px;
    line-height: 24px;
    min-width: 140px;
    outline: 0;
    padding: 0 17px;
    text-align: center;
    text-decoration: none;
    transition: all .3s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
  }
  
  .button-59:focus {
    color: #71dbd4;
  }
  
  .button-59:hover {
    border-color: #c724b1;
    color: #c724b1;
    fill: #c724b1;
  }
  
  .button-59:active {
    border-color: #c724b1;
    color: #c724b1;
    fill: #c724b1;
  }

.mySlides {
    display:none;

}
.w3-left, .w3-right, .w3-badge {
    cursor:pointer;
    -webkit-text-stroke: 2px black;
}

.w3-badge {
    height: 30px;
    width: 30px;
    padding:0
}


main p {     
    font-size: 1.25em;    
}    

main a:visited {
    color: #71dbd4;
}

main a {
    color: #c724b1;
}

aside {
    text-align: center;        
    font-size: 1.5em;        
    font-weight: bold;        
    color: #b3b0c4;        
    text-shadow: 3px 3px 10px #8280cb;
}

figure {
    position: relative;        
    max-width: 275px;        
    margin: 2% auto;        
    border: 8px solid #b3b0c4;
}

figcaption {
    position: absolute;        
    bottom: 0;        
    background: rgba(55, 54, 132, 0.7);        
    color: #b3b0c4;        
    width: 100%;
    padding: 5% 0;        
    text-align: center;        
    font-family: Verdana, Arial, sans-serif;        
    font-size: 1.5em;        
    font-weight: bold;
}

.action  {     
    font-size: 1.25em;     
    color: #b3b0c4;     
    font-weight: bold;    
}


#info  {     
    clear: left;     
    background-color: #c0caf7;     
    padding: 1% 2%;    
}    

#info ul {
    margin-left: 10%;
}

.round {
    border-radius: 8px;
}

#contact, #rental h2  {     
    text-align: center;    
}   

#contact .email-link {     
    color: #4645a8;     
    text-decoration: none;     
    font-weight: bold;    
}    



.tel-link {     
    background-color: #71dbd4;     
    padding: 2%;     
    margin: 0 auto;     
    width: 80%;     
    text-align: center;     
    border-radius: 5px;
}

.tel-link a {     
    color: black;     
    text-decoration: none;     
    font-size: 1.5em;     
    display: block;
}

.map  {     
    border: 5px solid #b3b0c4; 
    width: 95%;
    height: 50%;
}

/* Style rules for table */

table {             
    border: 1px solid #b3b0c4; 
    border-collapse: collapse;  
    margin: 0 auto; 
    width: 100%; 
} 

caption {
    font-size: 1.5em;  
    font-weight: bold;  
    padding: 1%;  
}          

th, td { 
    border: 1px solid #b3b0c4; 
    padding: 2%;  
}    

th  {  
    background-color: #b3b0c4;  
    color: #b3b0c4;  
    font-size: 1.15em;
}

tr:nth-child(odd) { 
    background-color: #b7b7e1;
}

/* Style rules for form elements */

fieldset, input {
    margin-bottom: 2%;
}

fieldset legend {
    font-weight: bold;
    font-size: 1.25em;
}

label {
    display: block;
    padding-top: 3%;
}

#submit {
    margin: 0 auto;
    display: block;
    padding: 3%;
    background-color: #b7b7e1;
    font-size: 1em;
}


/* Style rules for footer content */    
footer  {     
    background-color: #b3b0c4;
    width: 80%;
    min-width: 285px;
    max-width: 800px;
    margin: 0 auto;
    color: #71dbd4;
    text-shadow: 2px 2px 8px #3a3a59;
    text-align: center;     
    font-size: 1em;     
    clear: left;    
    bottom: 0;
}   

footer a {     
    color: #4645a8;     
    text-decoration: none;    
}

.social img {
    display: inline-block;
    padding: 2%;
}

/* Media Query for Tablet Viewport */          
@media screen and (min-width: 587px), print {
    /* Tablet Viewport: Show tab-desk class, hide mobile class */
    .tab-desk {
        display: flex;
        justify-content: center;
    }

    .mobile, .mobile-nav {
        display:none;
    }

    /* Tablet Viewport: Style rule for header content */
    span.tab-desk {
        display: inline;
    }

    header h1 {
        margin: 0;
        padding: 0;
        font-size: 2em;
    }

    /* Tablet Viewport: Style rules for nav area */

    nav img {
        height: 2.5em;
    }

    nav ul {     
        list-style-type: none;     
        text-align: center;          
    }   

    nav li {
        border-top: none;
        display:inline-block;
        font-size: 1.5em;
        border-right: 1px solid #642f6c;
    }

    nav li:last-child {
        border-right: none;
    }

    nav li a {
        padding: 0.25em 0.5em;
        display: block;    
        color: #642f6c;     
        text-align: center;      
        text-decoration: none;    
    }

    /* Tablet Viewport: Style rules for symantics */

    aside {
        grid-column: 1 / span 2;
    }

    /* Tablet Viewport: Style rules for grids */

    .grid {
        display: grid;
        grid-template-columns: auto auto;
    }

    /* Tablet Viewport: Style rules for map */
    .map {
        width: 500px;
        height: 450px;
    }

    /* Tablet Viewport: Style rules for form elements */
    form {
        width: 70%;
        margin: 0 auto;
    }


}

/* Media Query for Desktop Viewport */          
@media screen and (min-width: 839px), print {
    /* Desktop Viewport: Style rules for nav area */

    nav img {
        height: 3em;
    }

    nav li a {
        padding: 0.5em 1.5em;
    }

    nav li a:hover {
        color: #b3b0c4;
        background-color: #642f6c;
        transform: scale(1.2);
    }

    .content-left, .content-right {
        flex: 50%;
    }

    .content-left {
        justify-content: right;
    }

    .content-text1 {
        text-align: left;
    }
    
    .content-text2 {
        text-align: right;
    }

    .content-text3 {
        font-size: 1.5em;
        text-align: left;
    }

    /* Desktop Viewport: Style rules for symantics */

    aside {
        grid-column: 1 / span 4;
    }

    figcaption {
        font-size: 1em;
    }

    /* Desktop Viewport: Style rules for grids */

    .grid {
        display: grid;
        grid-template-columns: auto auto auto auto;
    }


    /* Desktop Viewport: Style rules for  main content */
    #info ul {
        margin-left: 5%;
    }

    main h3 {
        font-size: 1.5em;
    }

    #piano, #guitar, #violin {
        width: 29%;
        float: left;
        margin: 0 2%;
    }

    /* Desktop Viewport: Style rules for table */

    table {
        width: 70%;
    }

    /* Desktop Viewport: Style rules for form elements */

    .form-grid {
        display: grid;
        grid-template-columns: auto auto;
        gap: 20px;
    }

    .btn {
        grid-column: 1 / span 2;
    }

}

@media print {
    body {
        background-color: #fff;
        color: #000;
    }
}