html {
    top: 0;
    max-width: 100%;
    width: auto;
}

body {
    margin: 0;
    background-color: black;
    /* */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fffafa;
}

header {
    background-color: #990000;
    top: 0;
    border-style: solid;
    border-color: #990000;
    border-width: 25px;
}

header > h1 {
    color: #fffafa;
    text-align: center;
    font-size: 4em;
    font-family: "Elephant", serif;
    letter-spacing: 3px;
}

nav {
    text-align: right;
}

nav a {
    color: #fffafa;
    text-decoration: none;
    border-width: 3px;
    border-radius: 2px;
    border-color: #990000;
    border-style: solid;
    padding: 10px;
    transition: background-color .25s ease, border-color .25s ease;
}

nav a:hover {
    background-color: #cc0000;
    border-width: 3px;
    border-radius: 2px;
    border-color: #cc0000;
    border-style: solid;
    padding: 10px;
}

nav a.activeDiv {
    border-bottom-color: #ff3333;
}

.bubble {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: #990000;
    display: flex;
    justify-content: center;
    align-items: center;
}
  
.bubble p {
    text-align: center;
    padding: 20px;
    color: #fffafa;
    max-width: fit-content;
    font-size: 1em;
}

.contact-form {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 500px;
    justify-content: center;
    margin: 50px 0;
    width: 100%;
}
  
#formContainer {
    margin: 20px 0;
    max-width: 25%;
    flex: 1;
    flex-direction: column;
}
  
label, input, textarea {
    font-family: "Segoe UI", sans-serif;
}
  
label {
    display: block;
}
  
input, textarea {
    border: 2px solid #990000;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
}

textarea {
    resize: vertical;
}

#send {
    color: #fffafa;
    background-color: #990000;
    width: 106%;
}

#mailBox, #phoneBox, #instaBox {
    display: flex;
    border-color: #990000;
    border-width: 5px;
    border-style: solid;
    max-width: 15%;
    text-align: center;
    aspect-ratio: 1 / 1;
    flex: 1;
    flex-direction: column;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 5%;
    text-decoration: none;
    color: #fffafa;
    justify-content: center;
    transition: background-color .25s ease;
    font-size: .9em;
    border-radius: 10px;
}

#mailBox:hover, #phoneBox:hover, #instaBox:hover {
    background-color: red;
}

#container {
    flex-wrap: wrap;
    display: flex;
    margin-left: 7.5%;
    margin-right: 7.5%;
    margin-top: 50px;
    align-items: center;
    justify-content: center;
}

#location {
    text-align: center;
}

.bubbleContainer {
    gap: 2%;
    flex-wrap: wrap;
    display: flex;
    margin-top: 50px;
    align-items: center;
    justify-content: center;
}

.bubble {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: #990000;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1%;
}

#bubbleAcademy {
    gap: 10%;
}
  
.bubble p {
    position: absolute;
    top: 45%;
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 10px, 10px;
    color: #fffafa;
    max-width: fit-content;
    font-size: 1.5em;
    background-color: rgba(153, 0, 0, .5);
    border-radius: 10px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.textBoxContainer {
    min-width: 100%;
    max-width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
    height: 400px;
}

.textBox {
    border-color: #990000;
    border-width: 0px;
    border-style: solid;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 2em;
    text-align: center;
    border-radius: 10px;
    width: 60%;
}

#galleryContainer {
    position: relative;
    min-width: 45%;
    max-width: 45%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 50px;
    border-color: #990000;
    border-radius: 10px;
    border-width: 3px;
    border-style: solid;
}
  
.slide {
    display: none;
}
  
.cursor {
    cursor: pointer;
    opacity: .6;
}
  
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}  

.prev {
    left: 0;
    transform: translateY(-50%);
}
  
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
  
.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
  
.numText {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}
  
.caption-container {
    text-align: center;
    background-color: #222;
    padding: 2px 16px;
    color: white;
}
  
.row:after {
    content: "";
    display: table;
    clear: both;
}
  
.column {
    float: left;
    width: 16.66%;
}
  
.active, .demo:hover {
    opacity: 1;
}

#galleryContainer img {
    max-width: 100%;
    max-height: 518px;
}

#homeMain {
    display: inline-block;
}

.home {
    display: flex;
    align-items: right;
    justify-content: right;
}

.home p {
    padding: 5px;
    text-align: right;
    margin-right: 25px;
}

#second, #third {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#third {
    margin-left: 25px;
}

#homeAcademy {
    margin-bottom: 25px;
    font-size: .75em;
}

#homeAcademy a, #fix a {
    text-decoration: none;
    color: red;
}

#h2 {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

#first, #second {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

#info {
    display: flex;
    align-items: top;
    justify-content: center;
    gap: 3%;
    margin-top: 5%;
}

.schedule {
    width: 40%;
    border-radius: 10px;
    border-style: solid;
    border-color: #990000;
    border-width: 3px;
}

#bubbleAcademy a {
    margin-top: 3px;
}

#woman {
    height: 575px;
    float: right;
    margin-top: -2.5%;
}

#short {
    height: 600px;
    float: left;
    margin-top: -3.5%;
}

@media screen and (orientation : portrait) {
    
    .mainSecond {
        max-width: 100vh;
        display: block;
    }

    #container {
        display: block;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    #mailBox, #phoneBox, #instaBox, #formContainer {
        min-width: 50%;
        margin-top: 10px;
        margin-left: 25%;
    }

    iframe {
        width: 100%;
    }

}
