*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html{
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    text-align: center;
    outline: none;
}

a{
    color: grey;
}

nav{
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-family: sans-serif;
    padding: 1.5em 0;
    background: black;
    width: 100%;
    position: fixed;
    z-index: 1;
    border-bottom: 1px solid white;
}

.logo{
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 1.25em;
    color: white;
    font-weight: bold;
    cursor: pointer;
}


.logo a{

    text-decoration: none;
    color: white;
    transition: 1s;

}

.logo a:hover{

    color: red;

}


.nav-links{

    display: flex;
    justify-content: space-around;
    width: 25%;

}

.nav-links li{
    list-style: none;
}

.nav-links a{

    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 0.75em;
    transition: 0.4s linear;
    border-radius: 5px;
    text-transform: uppercase;
   
}

.nav-links a:hover{
    
    background-color: white;
    color: #2f3640;

}

nav .menu{

    display: none;
    cursor: pointer;

}


nav .menu div{

    width: 25px;
    height: 3px;
    background-color: red;
    margin: 5px;
    transition: all 0.3s ease;
    
}

.about{
    color: #ff5252;
}

.visual{
   color: #16a085;
}


@media screen and (max-width:1000px){

    .data-container{
        flex-direction: column !important;
    }

    .nav-links{
        width: 50%;
    }

    
    
}

h1, h2{

    font-family: 'Quicksand', sans-serif;
    text-align: center;
    padding: 10px;
    text-transform: uppercase;
    
}


#home-page{

    background-color: black;
    color: white;
    position: relative;
    padding: 80px 0;
    
}

#home-page .border{

    width: 300px;
    height: 10px;
    background:#c0392b;
    margin: 1.5em auto;

}

.title{
    
    font-weight: bold;
    font-size: 2.5em;
    letter-spacing: 5px;
    
}

.covid{
    color: yellow;
}

.container{

    margin: 0 auto;
    width: 80%;
    border: 5px solid red;
    border-radius: 10px;
   
}

.topic{
    background: linear-gradient(to right, #c0392b, maroon);
}

.data-container{

    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;

}

.data-container h3{
    font-size: 24px;
}

.data{
    width: 100%;
    
}

.country{
    width: 100%;
    background-color: black;
}

.data, .country{
    border: 1px solid red;
}



.data h2{
    
    font-size: 20px;
    font-weight: 100;
}




#form input[type = "text"] {
    font-size: 20px;
    border: 0;
    background: none;
    margin: 2.5em auto;
    text-align: center;
    border: 3px solid #00ffff;
    padding: 0.5em 0.5em;
    border-radius: 10px 0 10px 0;
    width: 60%;
    outline: none;
    color: white;
    transition: 0.25s;
}

#form input[type = "text"]:focus{
    width: 80%;
    border-color: #2ecc71;
    
}


#form button{
    
    border: 0;
    font-size: 24px;
    background: none;
    background-color: transparent;
    display: block;
    margin: 1em auto;
    text-align: center;
    border: 3px solid #2ecc71;
    padding: 0.25em 2em;
    outline: none;
    color: grey;
    border-radius: 0 10px 0 10px;
    transition: 0.25s;
    cursor: pointer;
    
}

#form button:hover{
    background: #2ecc71;
    color: white;
}


h2.footer{
    font-size: 18px;
}


.learn-btn{
    
    border: 5px solid white ;
    background: black;
    transition: 0.5s linear;
    text-decoration: none;
    font-size: 16px;
    padding: 20px 20px;
    font-family: sans-serif;
    font-weight: bolder;
    text-align: center;
    overflow: hidden;
    padding: 20px 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    margin: 20px;
    outline: none;
    color: white;

    
}



.learn-btn:hover {
    border-color: #c0392b;
}




/* --------------------------------------------------------------------------- */


#three-page{
    background-color: black;
    padding-top: 80px;

}

.index{
    width: 100%;
    display: flex;
    margin-bottom: 50px;
}

.section{
    width: 100%;
}

.rbox{
    width: 30px;
    height: 30px;
    background-color: #C21807;
    margin: 0 auto;
    
}

.gbox{
    width: 30px;
    height: 30px;
    background-color: green;
    margin: 0 auto;
    
}


canvas{
    width: 100%;
    height: 100%;
    margin: 0;
    text-align: center;
    outline: none;
}



.countryInfo{

    width: 50%;
    margin: 0 auto;
    border: 5px solid white;
    border-radius: 20px;
    
    
}

.countryName{
    font-size: 18px;
    line-height: 200%;
    border-bottom: 1px solid white;
    
}

.countryData{
    font-size: 18px;
    line-height: 200%;
    border-top: 1px solid white;
    

}




