

:root {
    --primary: #8d5ff0;
    --secondary: #6b96da;
}

* {
    margin: 1px;
    padding: 1px;
    box-sizing: border-box;
  }
  


h3 {
    margin-top: 50px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: rgb(238,174,202);
    background: radial-gradient(circle, rgba(10, 0, 100, 0.699) 0%, rgba(136, 119, 176, 0.5) 100%);
    display: grid;
    
}

    .card {
        background-color: #8278a8;
        color: #ffffff;
        opacity: .4;
        border-radius: 30px;
        width: 100%;
        
        padding: 20px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        display: grid;
        grid-template-rows: 1fr ;
    }

        .weather-container {
        display: flex;
        flex-direction: column;
        flex-flow: column-wrap;
        }

            .todays-weather {
                width: 60%;
                padding: 40px 20 px;
            }

            .day {
                margin-top: 20px;
                display: grid;
                grid-template-columns: 4fr 1fr;
                border-bottom: 2px dotted;
            }

                .forecast-day {
                    margin: 5px;
                    display: flex;

                }

                .forecast-temp {
                    margin: 5px;
                    display: flex;
                    
                }

            .todays-date {
                display: flex;
                flex-direction: column;
                font-weight: lighter;
                font-family: Arial, Helvetica, sans-serif;
                font-size: small;
                margin: 20px;
            }

            .city {
                display: flex;
                margin-top: 20px;
            }

            .temperature-now {
                display: flex;
            }

            footer {
                width: 100%;
                text-align: center;
                color: black;
                margin-top: 30px;
                padding: 15px;    
            }
             
              .contactme{
                display:flex;
                justify-content: center;
                align-items: center;
                gap: 5px;
                padding: 5px;
               }
              
              .contact-logo{
                width: 30px;
                opacity: .75;
              }
              
              .contact-logo:hover{
                transform: scale(1.2);
                opacity: 1;
              }
              
              .aboutme {
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 5px;
                padding: 5px;
                font-size: 15px;
                color:black;
                text-align: center;
                
              }
            
              .aboutme p {
                color: #ffffff;
                opacity: .4;
              }

              .contactE{
                box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
                border-radius: 15px;
                color: #ffffff;
                opacity: .7;
                background-color: #8278a8;
              }
            
              .contactE p{
                color: #ffffff;
                opacity: .4;
              }

              .contactY{
                box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
                border-radius: 15px;
                color: #ffffff;
                opacity: .7;
                background-color: #8278a8;
              }
                        
              .contactY p{
                color: #ffffff;
                opacity: .4;
              }


/* Media queries  */
/* --Tablet-- */
@media (min-width: 667px) and (max-width: 1024px) {
.card {
    max-width: 600px;
}
}

/* --Desktop-- */
@media (min-width: 1025px) {
    .card {
        max-width: 800px;
    }
}