@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-color: #393939;
    height: 90vh;
}

.chooseQuiz {
    text-align: center;
    position: relative;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
}

.chooseQuiz h1 {
    color: white;
    text-transform: capitalize;
}

.btn {
    padding: 1rem 1rem;
    width: 120px;
    color: white;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    box-shadow: 0px 2px 30px -5px rgba(0,0,0,0.75);
}

.csharp {
    background-color: #631F74;
}

.csharp:hover {
    background-color: #6c227f;
}

.javascript {
    background-color: #EAD41C;
}

.javascript:hover {
    background-color: #f7e11e;
}

.python {
    background-color: #38709D;
}

.python:hover {
    background-color: #4287c2;
}

.react {
    background-color: #65CFEC;
    color: #ffffff;
}

.react:hover {
    background-color: #73e1ff;
}

h1 {
    text-align: center;
}

.wrapper {
    display: none;
}

#wrapperHeader {
    color: white;
}

.container {
    width: 800px;
    height: 500px;
    background-color: gray;
    margin: 0 auto;
    padding: 1rem;
    border-radius: 5px;
    position: relative;
}

.subContainer {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.answer {
    background-color: #1F1F1F;
    padding: 0.5rem;
    margin: 1rem 0;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.answer:hover {
    cursor: pointer;
    background-color: #393939;
}

#nextQuestion {
    display: block;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    border-radius: 5px;
    border: none;
    display: none;
    color: black;
    background-color: rgb(117, 194, 117);
}

#nextQuestion:hover {
    cursor: pointer;
    background-color: rgb(132, 218, 132);
}

#submitAnswer {
    display: none;
    margin: 0 auto 1rem auto;
    padding: 1rem 1.5rem;
    border-radius: 5px;
    border: none;
    color: white;
    background-color: #3a5fb4;
}

#submitAnswer:hover {
    cursor: pointer;
    background-color: #4a6fc4;
}

.selected-answer {
    border: 2px solid #3a5fb4;
}

a {
    text-decoration: none;
}

.homeBtn {
    display: inline-block;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    border-radius: 5px;
    border: none;
    color: black;
    background-color: rgb(117, 194, 117);
}

.homeBtn:hover {
    cursor: pointer;
    background-color: rgb(132, 218, 132);
}

.btn {
    transition: transform 0.4s ease-out;
    will-change: transform;
}

.btn:hover {
    box-shadow: 0px 2px 30px -5px rgba(0,0,0,0.75);

    transform: rotate(-10deg);
}

.btn.csharp:hover {
    box-shadow: 0px 2px 30px -5px #631F74;
}

.btn.javascript:hover {
    box-shadow: 0px 2px 30px -5px #EAD41C;
}

.btn.python:hover {
    box-shadow: 0px 2px 30px -5px #3776AB;
}

.btn.react:hover {
    box-shadow: 0px 2px 30px -5px #61DAFB;
}

.devicon {
    display: none;
    width: 40px;
    position: absolute;
    top: 20px;
    right: 20px;
    animation-name: spin-animation;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes spin-animation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 1024px){
    .container {
        width: 100%;
        height: 510px;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 820px){
    .container {
        width: 100%;
        height: 550px;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 440px){
    .container {
        width: 100%;
        height: 510px;
        box-sizing: border-box;
    }

    .answer {
        font-size: 12px;
    }
}
