main h2 {
    font-family: "SofiaSansExtra";
    font-size: 5em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 0.9em;
    color: white;
}
main h3 {
    margin-top: 2em; margin-bottom: 0;
    font-size: 1.5em;
    font-weight: bold;
}
main p {
    font-size: 1em;
    line-height: 1.3em;
}
main hr {
    width: 4em; height: 1px;
    margin: 1.5em auto;
    background-color:var(--black);
    border: none;
    border-radius: 1em;
}
main hr.white {
    background-color: var(--grey1);
}
main hr.blue {
    background-color: var(--blue1);
}

main a.button {
    display: inline-block;
    margin: 1em auto; padding: 1.0em 1.5em;
    text-align: center;
    font-size: 1em;
    text-transform: uppercase;
    color: white;
    border-radius: 2em;
    box-shadow: 0 0 0 0 rgba(232, 0, 75, 0);
	transform: scale(1);
}
main a.button.white {
    color:#1D3152;
    background-color: white;
}
main a.button.magenta {
    color:white;
    background-color: var(--magenta);
}
main a.button:hover {
    animation: button-pulse 2s forwards;
}
main a.button:active {
    transition: all 0.2s ease-in;
    background-color: var(--magentadark);
}


.video {
    position: relative;
    z-index: 2;
    padding-top: 6em;
}
.video .video-overlay {
    z-index: 1;
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: black;
}
.video .video-overlay .close-button {
    z-index: 4;
    position: absolute;
    top: 1em; right: 1em;
    font-family: "Poppins-Thin";
    font-weight: normal;
    font-size: 3em;
    color: var(--magenta);
    cursor: pointer;
    font-weight: bold;
}
.video .video-container {
    z-index: 2;
    position: relative;
    width: 100%;
    max-height: 100vh;
}
.video .video-container.fullscreen {
    z-index: 3;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
}
.video .video-container video {
    width: 100%;
    height: auto; max-height: 100vh;
    
}
.video .video-container video[controls] + .play-button {
    display: none;
}
.video p {
    width: 90%;
    margin: 4em auto 0 auto;
    font-style: italic;
    font-size: 1em;
    font-weight: bold;
    color: var(--grey1);
}
.video p::first-letter, #sect2 p span {
    font-size: 2em;
}

.play-button {
    z-index: 3;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 6em; height: 6em;
    text-decoration: none;
    background-color: var(--magenta);
    background-image: url('/files/theme/layout/ic-arrow.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 2em;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.25s linear;
}
.play-button .rotating-text {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    animation: rotate 5s linear infinite;
}
.play-button .rotating-text span {
    font-size: 0.6em;
    text-transform: uppercase;
    color: white;
    position: absolute;
}
.play-button:hover {
    background-color: white;
}
.play-button:active {
    background-color: var(--magentadark);
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

#sect2a {
    background-color: darkolivegreen;
}
.play-button-canv {
    position: relative;
    width: 220px; height: 220px;
    border-radius: 100%;
    border: 1px solid greenyellow;
}
#rotTextCanv {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 200px; height: 200px;
    border-radius: 100%;
    border: 1px solid greenyellow;
}




main b,
main strong {
    font-weight: bold;
}

main .inside-right {
    position: relative;
    width: 85%;
    margin: 0 auto;
    margin-right: 0;
    text-align: left;
}
main .inside-right h1 {
    text-align: left;
}
main .inside-right p {
    width: 95%;
    text-align: left;
}
main .inside-right hr {
     text-align: left; margin-left: 0;
}

main section {
    width: 100%;
    padding: 10em 0;
    box-sizing: border-box;
}
main section.white {
    color: var(--black);
    background-color: #F4F4F4;
}
main section.black {
    color: white;
    background-color: black;
}
main section.dark1 {
    color: white;
    background-color: var(--dark1);
}
main section.dark2 {
    color: white;
    background-color: var(--dark2);
}
main section.dark3 {
    color: white;
    background-color: var(--dark3);
}
main section.dark4 {
    color: white;
    background-color: var(--dark4);
}

main section.left .inside {
    text-align: left;
}
main section.left .inside hr {
    margin-left: 0;
}
main section.right .inside {
    text-align: right;
}
main section.right .inside hr {
    margin-right: 0;
}
main section.mid .inside {
    text-align:center;
}
main section.box .inside {
    display: flex;
    align-items: center;
    justify-content:space-between;
    flex-wrap: wrap;
}


main section.center.left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
main section.center.left hr {
    margin-left: 0;
}
main section.center.right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}
main section.center.right hr {
    margin-right: 0;
}
main section.center.mid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
main section.center.box {
    display: flex;
    align-items: center;
    justify-content:space-between;
    flex-wrap: wrap;
}


main section.box .box {
    width: 45%;
}
main section.box .box hr {
    margin-left: 0;
}

main #youtube {
    margin-top: 2.5em;
}
main #waw img {
    width: 10em;
}

main #contact h2 {
    text-transform: none;
    color: var(--dark3);
}
main #contact h2 b {
    padding: 0; margin: 0;
    font-family: "Poppins-Black";
    font-weight: bold;
    letter-spacing: -0.05em;
    color: var(--magenta);
}
main #contact h2 span {
    font-family: "Poppins-Thin";
    font-weight: normal;
}
main #contact p:first-of-type {
    margin-top: 1em; margin-bottom: 2em;
    letter-spacing: 0.2em;
    color: var(--dark3);
}
main #contact p:last-of-type {
    margin-top: 4em; margin-bottom: 1em;
    letter-spacing: 0;
    color: var(--dark3);
}
main #contact a {
    display: inline-block;
    color: white;
}
main #contact a:hover {
    background-color: var(--magentadark);
}
main #contact a:active {
    background-color: var(--dark3);
}


@media screen and (max-width:864px) {
    main #sect1 {
        padding-top: 4em;
    }
    main h1 {
        font-size: 2.5em;
    }
    main h2 {
        font-size: 3em;
    }


    main section.box .box {
        width: 100% !important;
    }
    main section.box .box:last-of-type {
        margin-top: 5em;
        width: 100% !important;
    }

    
    .video .video-container .play-button {
        width: 4.5em; height: 4.5em;
        background-size: 1.5em;
    }
}