header {
    background-color: white;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    z-index: 1000;
    position: relative;
}

.engage {
    margin: 0 auto;
    transform-style: preserve-3d;
    transform: rotateY(0deg);
    transition: transform 1s;
    height: 80vh;
}

.face {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(46 46 57);
}

/* logo */
.circle {
    width: 27rem;
    height: 27rem;
    border-style: solid;
    border-top-color: var(--zr-darkblue);
    border-right-color: var(--zr-blue);
    border-bottom-color: var(--zr-darkblue);
    border-left-color: var(--zr-blue);
    border-top-left-radius: 50% 50%;
    border-top-right-radius: 50% 50%;
    border-bottom-right-radius: 50% 50%;
    border-bottom-left-radius: 50% 50%;
    border-left-width: 2rem;
    border-right-width: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.title-major {
    font-size: 2rem;
    color: var(--zr-blue);
}

.title-minor {
    font-size: 1.5rem;
    color: var(--zr-blue);
}

.left,
.right,
.title-major,
.title-minor {
    font-family: "Libre Baskerville", serif;
    color: var(--zr-blue);
}

.left {
    font-size: 11rem;
    display: inline-block;
    position: relative;
    top: -1rem;
    left: -2rem;
    height: 10rem;
}

.left:before {
    content: "";
    display: block;
    height: 3rem;
    width: 4rem;
    position: relative;
    top: -0.3rem;
    left: 5.3rem;
    border-bottom: 1rem solid var(--zr-blue);
    border-right: 1rem solid var(--zr-blue);
}

.left:after {
    content: "";
    display: block;
    height: 10rem;
    width: 4rem;
    position: relative;
    top: -13.5rem;
    left: 5.3rem;
    border-top: 1rem solid var(--zr-blue);
    border-right: 1rem solid var(--zr-blue);
}

.right {
    font-size: 11rem;
    display: inline-block;
    position: relative;
    top: -1rem;
    left: 2rem;
    height: 10rem;
}

.right:before {
    content: "";
    display: block;
    height: 3rem;
    width: 4rem;
    position: relative;
    top: -0.3rem;
    left: -1.8rem;
    border-bottom: 1rem solid var(--zr-blue);
    border-left: 1rem solid var(--zr-blue);
}

.right:after {
    content: "";
    display: block;
    height: 10rem;
    width: 4rem;
    position: relative;
    top: -13.5rem;
    left: -1.8rem;
    border-top: 1rem solid var(--zr-blue);
    border-left: 1rem solid var(--zr-blue);
}

/* video and back */
.back {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(46 46 57);
    transform: rotateY(180deg);
    z-index:10000;
}

.hide {
    display:none;
}

.shape-container {
    position: absolute;
    top: 0;
    width: 60%;
    height: 100%;
    display: flex;
    background-color: rgb(46, 46, 57);
    border-style: solid;
    border-top-color: var(--zr-darkblue);
    border-right-color: var(--zr-blue);
    border-bottom-color: var(--zr-darkblue);
    border-left-color: var(--zr-blue);
    border-top-left-radius: 50% 50%;
    border-top-right-radius: 50% 50%;
    border-bottom-right-radius: 50% 50%;
    border-bottom-left-radius: 50% 50%;
    border-left-width: 2rem;
    border-right-width: 2rem;
    animation: shapeTransform 1s ease-in-out 3s forwards;
    border-radius: 50%;
    margin: 0;
    overflow: hidden;
}

@keyframes shapeTransform {
    0% {
        border-radius: 50%;
    }

    100% {
        border: none;
        border-radius: 0px;
        width: 100%;
    }
}

.stop-video {
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    font-family: 'Noto Sans Malayalam';
    font-weight: bold;
    margin: 1rem;
    padding: .5rem;
    cursor: pointer;
    z-index: 10001;
    cursor: pointer;
}

.stop-video button,
.stop-video a,
.stop-video a:hover,
.stop-video a:visited {
    background-color: transparent;
    color: white;
    border: 0;
    cursor: pointer;
}

.stop-video:hover {
    background-color: var(--zr-blue);
    border: solid 2px white;
}

.video-container {
    display: none;
    position: absolute;
    background-color: transparent;
    width: 100%;
    height: 100%;
}

.show-video .video-container {
    display: flex;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-overlay {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    justify-content: flex-start;
}

.text-overlay {
    font-weight: bold;
    font-family: 'Libre Baskerville', serif;
    text-align: center;
    display: flex;
    justify-content: center;
}

.text-overlay h1 {
    color: white;
    font-size: 2rem;
}

.text-overlay h1 span {
    font-size: 12rem;
    margin-top: 0rem;
}

.text-overlay.dark {
    background-color: rgb(46, 46, 57, 0.5);
    text-shadow: 2px 2px 2px #03253a;
}

.text-overlay.dark h1 {
    color: white;
    text-shadow: 2px 2px 2px rgb(46, 46, 57);
}

.text-overlay.light {
    background-color: white;
}

.text-overlay.light h1 {
    color: rgb(46, 46, 57);
}

.text-overlay div {
    display: flex;
    flex-direction: row;
}

.text-overlay div a {
    padding: .5rem 1rem;
    margin: 1rem 1rem;
    font-family: 'Noto Sans Malayalam';
    font-weight: bold;
    font-size: 2rem;
    text-decoration: none;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    text-shadow: none;
    z-index:1000;
}

.text-overlay div a:first-child {
    background: rgba(55, 56, 77, 0.8);
    color: white;
    border: solid 2px white;
}

.text-overlay div a:last-child {
    background-color: white;
    color: var(--zr-darkblue);
    border: solid 2px rgba(55, 56, 77, 0.8);
}

.text-overlay div a:hover {
    background-color: var(--zr-blue);
    color: #ffffff;
    font-weight: bold;
    transform: scale(1.125);
    text-decoration: underline;
}

.text-overlay.light div a:hover {
    border: solid 3px rgba(55, 56, 77, 0.8);
}