@import url('https://fonts.googleapis.com/css2?family=Hahmlet:wght@200&display=swap');

body {
    margin: 0;
    padding: 0;
    background-color: black;

}

.container {
    background-image: url("background.gif");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 500px;
    z-index: -99999;
}

#welcome-heading {
    color: white;
    z-index: 99999;
    text-align: center;
    font-family: 'Hahmlet', serif;
    font-size: 70px;
    font-weight: bolder;
    padding-top: 10%;
}

#write-button {
    width: 20%;
    height: 10%;
    background-color: rgb(216, 45, 102);
    color: white;
    box-shadow: 1px 1px #ffff;
    border-radius: 5px;
    border-color: transparent;
    border-style: solid;
    font-size: 25px;
    margin-left: 25%;
    cursor: pointer;
}

#write-button:hover {
    transform: scale(1.2);
}

#interview-button {

    width: 20%;
    height: 10%;
    background-color: rgb(216, 45, 102);
    color: white;
    box-shadow: 1px 1px #ffff;
    border-radius: 5px;
    border-color: transparent;
    border-style: solid;
    font-size: 25px;
    margin-left: 10%;
    cursor: pointer;

}

#interview-button:hover {
    transform: scale(1.2);
}

#writespeak-heading {
    color: white;
    z-index: 99999;
    text-align: center;
    font-family: 'Hahmlet', serif;
    font-size: 70px;
    font-weight: bolder;
    padding-top: 10%;
}

#speak-text {
    width: 40%;
    height: 43px;
    margin-left: 25%;
    margin-top: 20%;
    border-radius: 5px;
    border-color: palevioletred;
    border-style: solid;
    color: black;
}

#speak-text::placeholder {
    color: black;
    font-weight: bolder;
    font-family: 'Hahmlet', serif;
}

#speak-text:focus {
    border-color: palevioletred;
    border-style: solid;
    color: black;
}

#microphone-button {

    position: absolute;
    top: 44%;
    right: 333px;
    height: 47px;
    width: 10%;
    color: white;
    border-color: transparent;
    font-size: 25px;
    border-style: solid;
    background-color: rgb(216, 45, 102);
    cursor: pointer;
}

#microphone-record-container {
    position: absolute;
    top: 55%;
    left: 47%;
    background-color: white;
    border-radius: 50%;
    border-style: solid;
    border-color: white;
    width: 80px;
    height: 75px;
}

#microphone-record {
    color: black;

    font-size: 40px;
}

#microphone-record-container button {
    height: 50px;
    font-size: 40px;
    position: absolute;
    top: 25%;
    left: 25%;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

#microphone-record-container button:visited {
    color: red;
}

#start-speaking-heading {

    background-color: white;
    width: 40%;
    height: 50px;
    margin-left: 30%;
    position: absolute;
    top: 75%;
}

#start-speaking-heading h1 {
    color: black;
    font-family: 'Hahmlet', serif;
    text-align: center;
    margin-top: 0;
}

button {
    padding: 10px;
    background-color: #6a67ce;
    color: #FFFFFF;
    border: 0px;
    cursor: pointer;
    border-radius: 5px;

}

#output {
    background-color: #F9F9F9;
    padding: 10px;
    width: 50%;
    height: 300px;
    margin: auto;
    margin-top: 10px;
    line-height: 30px;
}

.hide {
    display: none;
}

.show {
    display: block;
}

#write-button-2 {
    width: 20%;
    height: 10%;
    background-color: rgb(216, 45, 102);
    color: white;
    box-shadow: 1px 1px #ffff;
    border-radius: 5px;
    border-color: transparent;
    border-style: solid;
    font-size: 45px;
    position: absolute;
    top: 60%;
    left: 40%;
    cursor: pointer;
}

#message {
    width: 30%;
    height: 5%;
    background-color: transparent;
    position: absolute;
    top: 75%;
    left: 35%;

}

#interview {
    /* background-image: url("speaking.gif"); */
    background-color: black;
    width: 100%;
    height: 500px;

}

#start {
    width: 20%;
    height: 10%;
    background-color: rgb(216, 45, 102);
    color: white;
    box-shadow: 1px 1px #ffff;
    border-radius: 5px;
    border-color: transparent;
    border-style: solid;
    font-size: 25px;
    margin-left: 40%;
    cursor: pointer;
}

#interview-heading {
    color: white;
    z-index: 99999;
    text-align: center;
    font-family: 'Hahmlet', serif;
    font-size: 70px;
    font-weight: bolder;
    padding-top: 10%;
}

#speaking-image {

    width: 30%;
    height: 200px;
    position: absolute;
    left: 35%;
    top: 20%;
    display: none;

}

#write-button-3 {
    width: 20%;
    height: 10%;
    background-color: rgb(216, 45, 102);
    color: white;
    box-shadow: 1px 1px #ffff;
    border-radius: 5px;
    border-color: transparent;
    border-style: solid;
    font-size: 45px;
    position: absolute;
    top: 60%;
    left: 40%;
    cursor: pointer;
    display: none;
}

#start-speaking-heading-2 {

    background-color: white;
    width: 40%;
    height: 50px;
    margin-left: 30%;
    position: absolute;
    top: 75%;
    display: none;
}

#start-speaking-heading-2 h1 {
    color: black;
    font-family: 'Hahmlet', serif;
    text-align: center;
    margin-top: 0;
}

@media only screen and (max-width : 700px) {

    body {
        margin: 0;
        padding: 0;
        background-color: black;
    }

    .container {
        background-image: url("background.gif");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        height: 810px;
        z-index: -99999;
        margin-top: -17px;
    }

    #welcome-heading {
        color: white;
        z-index: 99999;
        font-family: 'Hahmlet', serif;
        font-size: 27px;
        font-weight: bolder;
        padding-top: 25%;
        text-align: left;
        margin-left: 4%;
    }

    #write-button {
        width: 40%;
        height: 10%;
        background-color: rgb(216, 45, 102);
        color: white;
        box-shadow: 1px 1px #ffff;
        border-radius: 5px;
        border-color: transparent;
        border-style: solid;
        font-size: 25px;
        margin-left: 7%;
        margin-top: 40%;
        cursor: pointer;
    }

    #write-button:hover {
        transform: scale(1.2);
    }

    #interview-button {

        width: 40%;
        height: 10%;
        background-color: rgb(216, 45, 102);
        color: white;
        box-shadow: 1px 1px #ffff;
        border-radius: 5px;
        border-color: transparent;
        border-style: solid;
        font-size: 25px;
        margin-left: 5%;
        cursor: pointer;

    }

    #interview-button:hover {
        transform: scale(1.2);
    }

    #writespeak-heading {
        color: white;
        z-index: 99999;
        font-family: 'Hahmlet', serif;
        font-size: 30px;
        font-weight: bolder;
        padding-top: 25%;
        text-align: left;
        margin-left: 14%;
    }

    #speak-text {
        width: 90%;
        height: 43px;
        margin-left: 5%;
        margin-top: 70%;
        border-radius: 5px;
        border-color: palevioletred;
        border-style: solid;
        color: black;
    }

    #speak-text::placeholder {
        color: black;
        font-weight: bolder;
        font-family: 'Hahmlet', serif;
    }

    #speak-text:focus {
        border-color: palevioletred;
        border-style: solid;
        color: black;
    }

    #microphone-button {

        position: absolute;
        top: 44%;
        left: 100px;
        height: 65px;
        width: 50%;
        color: white;
        border-color: transparent;
        font-size: 45px;
        border-style: solid;
        background-color: rgb(216, 45, 102);
        cursor: pointer;
    }

    #start-speaking-heading {

        background-color: white;
        width: 100%;
        height: 100px;
        position: absolute;
        top: 85%;
        margin-left: 0;
    }

    #start-speaking-heading h1 {
        color: black;
        font-family: 'Hahmlet', serif;
        text-align: center;
        margin-top: 0;
    }

    button {
        padding: 10px;
        background-color: #6a67ce;
        color: #FFFFFF;
        border: 0px;
        cursor: pointer;
        border-radius: 5px;

    }

    #output {
        background-color: #F9F9F9;
        padding: 10px;
        width: 50%;
        height: 300px;
        margin: auto;
        margin-top: 20%;
        line-height: 30px;
        overflow: scroll;
    }

    .hide {
        display: none;
    }

    .show {
        display: block;
    }

    #write-button-2 {
        width: 60%;
        height: 10%;
        background-color: rgb(216, 45, 102);
        color: white;
        box-shadow: 1px 1px #ffff;
        border-radius: 5px;
        border-color: transparent;
        border-style: solid;
        font-size: 45px;
        position: absolute;
        top: 70%;
        left: 20%;
        cursor: pointer;
    }

    #message {
        width: 100%;
        height: 5%;
        background-color: transparent;
        position: absolute;
        top: 85%;
        left: 1%;

    }
    #message #action{
     color: white;
     font-size: 10px;

    }

    #interview {
        /* background-image: url("speaking.gif"); */
        background-color: black;
        width: 100%;
        height: 500px;
        padding-top: 40%;

    }

    #start {
        width: 60%;
        height: 10%;
        background-color: rgb(216, 45, 102);
        color: white;
        box-shadow: 1px 1px #ffff;
        border-radius: 5px;
        border-color: transparent;
        border-style: solid;
        font-size: 25px;
        margin-left: 20%;
        cursor: pointer;
    }

    #interview-heading {
        color: white;
        z-index: 99999;
        text-align: center;
        font-family: 'Hahmlet', serif;
        font-size: 70px;
        font-weight: bolder;
        padding-top: 10%;
    }

    #speaking-image {

        width: 30%;
        height: 200px;
        position: absolute;
        left: 35%;
        top: 20%;
        display: none;

    }

    #write-button-3 {
        width: 20%;
        height: 10%;
        background-color: rgb(216, 45, 102);
        color: white;
        box-shadow: 1px 1px #ffff;
        border-radius: 5px;
        border-color: transparent;
        border-style: solid;
        font-size: 45px;
        position: absolute;
        top: 60%;
        left: 40%;
        cursor: pointer;
        display: none;
    }

    #start-speaking-heading-2 {

        background-color: white;
        width: 100%;
        height: 100px;
        position: absolute;
        top: 75%;
        margin-left: 0;
        display: none;
    }

    #start-speaking-heading-2 h1 {
        color: black;
        font-family: 'Hahmlet', serif;
        text-align: center;
        margin-top: 0;
    }
}
