/* Jeg laver to baggrundsfarver, hvor jeg får det til at fylde hele siden*/
*{
    padding: 0;
    margin: 0;
}

body{
    height: 100vh;
    background: linear-gradient(
        to right,
        rgb(19, 19, 58, 0.736) 0%,
        rgb(19, 19, 58, 0.73) 7%,
        rgb(255, 255, 255) 7%,
        rgb(225, 225, 225) 100%
    );
}

/* Sætter outer-container med søge felt og login i flexbox så de kan stå ved siden af hinanden */
.outer-container { display: flex; }

/* Design af inputfelt med søge icon */
input{
    border-radius: 50px; height: 50px; width: 600px; 
    border: none;
    margin-left: 150px; margin-top: 10px;
    padding: 12px 20px 12px 40px;
    background-image: url('https://cdn-icons-png.flaticon.com/512/8915/8915520.png'); background-size: 20px; background-repeat: no-repeat; 
    background-position-x: 10px; background-position-y: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    display: inline;
    font-family: sans-serif; font-size: 14px;
    background-color: white;
} 

.btn{
    display: flex;
    margin-top: 10px;
    margin-left: 10px;
}


#generalBtn{
    border-radius: 50px; 
    height: 50px; width: 100px; 
    font-family: sans-serif;
    color: blue;
    border: none;
    cursor: pointer;
    background-color: transparent;
}

#sportsBtn{
    border-radius: 50px; 
    height: 50px; width: 100px; 
    font-family: sans-serif;
    color: blue;
    border: none;
    cursor: pointer;
    background-color: transparent;
}

/* Design af login og logud felt */
#login{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 400px;
    margin-top: 10px;
    border: none;
    cursor: pointer;
    background-color: transparent;
    font-family: sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: rgb(19, 19, 58, 0.736);
    width: 200px;
    border-radius: 10px;
}

#login img{
    width: 45px;
    height: 45px;
    margin-left: 5px;
}

#login:hover{
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#logud{
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    background-color: transparent;
    width: 70px; 
    margin-top: 10px;
    border-radius: 10px;
    margin-left: 30px;
}

#logud img{
    width: 20px; 
    height: 20px; 
}

#logud:hover{
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


/* Designer elementerne inde i div homebtn */
.homebtn{
    display: flex;
    flex-direction: row;
    margin-top: 50px;
    align-items: flex-end;
}

/* Design af home button */
#home{
    background-color: rgb(255, 255, 255); 
    border: none; 
    border-radius: 5px;
    margin-left: 10px;
    width: 95px;
    height: 60px;
    padding: 10px;
    cursor: pointer; 
    display: inline;
}

#home img{
    display: block;
    width: 30px;
    height: 30px;
}

/* Design af overskrifterne */
#nyhed{
    margin-left: 50px;
    font-family: sans-serif;
    font-size: 10px;
    color: rgb(19, 19, 58, 0.736);
}
#tid{
    margin-left: 600px;
    font-family: sans-serif;
    font-size: 10px;
    color: rgb(19, 19, 58, 0.736);
}


/* Designer elementerne inde i div likebtn som er flexbox for den første nyhed og tid */
.likebtn{
    display: flex;
    flex-direction: row;
    /*flex-wrap: wrap;*/
    margin-top: 5px;
    align-items: flex-start;
}

/* Design af like button */
#like{
    background-color: rgb(255, 255, 255); 
    border: none; 
    border-radius: 5px;
    margin-left: 10px;
    width: 95px;
    height: 60px;
    padding: 10px;
    cursor: pointer; 
    display: inline;
}

#like img{
    display: block;
    width: 30px;
    height: 30px;
}

.flexbox-item{
    border-radius: 10px;
    margin-left: 50px;
    padding: 10px;
    background-color: white;
    width: 600px;
    height: 200px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


/* Design af de små nyhedskasser */
.small-1{
    display: flex;
    flex-direction: row;
    /*flex-wrap: wrap;*/
    margin-inline-start: 155px;
    margin-top: 20px;
}

.small-2{
    display: flex;
    flex-direction: row;
    /*flex-wrap: wrap;*/
    margin-inline-start: 155px;
    margin-top: 20px;
}

.nyhed{
    border-radius: 10px;
    margin-right: 10px;
    background-color: white;
    width: 200px;
    height: 200px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


/* Design af vejr og forecast kasserne */ 
.weather{
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    font-family: sans-serif;
    font-size: 10px;
    color: rgb(19, 19, 58, 0.736);
    border-radius: 10px;
    margin-left: 40px;
    padding: 10px;
    background-color: white;
    width: 600px;
    height: 180px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/*#vejr{
    border-radius: 10px;
    margin-left: 40px;
    padding: 10px;
    background-color: white;
    width: 600px;
    height: 180px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}*/

/*#forecast{
    border-radius: 10px;
    margin-left: 40px;
    margin-top: 30px;
    padding: 10px;
    background-color: white;
    width: 600px;
    height: 150px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}*/

.andet{
    display: flex;
    flex-direction: column;
}

/* Design af tid og dato */

.tiddato{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: sans-serif;
}

.tid{
    font-size: 70px;
    display: flex;
}

.dato{
   font-weight: bold;
   font-size: 20px;
}
