* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
header {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
}
h3{
    font-size: 1.0rem;
    text-align: center;
}
header h2 {
    margin: 10px 0 0;
    font-size: 1.5rem;
    font-weight: 400;
}
header nav {
    margin-top: 15px;
}
header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
header nav ul li {
    display: inline;
    margin: 0 15px;
}
header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
header nav ul li a:hover {
    color: #f0f4f8;
}
header .button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 15px;
    border: none;
    border-radius: 5px;
    background-color: #006af5;
    color: #fff;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}
header .button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.sidebar {
    width: 180px;
    background-color: #006af5;
    color: white;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
}
.sidebar h2 {
    margin: 0;
    padding: 10px 0;
    font-size: 24px;
    text-decoration: none;
}
.sidebar h2 .menu-link {
    color: white;
    text-decoration: none;
}
.sidebar h2 .menu-link:hover {
    text-decoration: none;
}
.sidebar ul {
    list-style-type: none;
    padding: 0;
    width: 100%;
    text-align: center;
}
.sidebar ul li {
    width: 100%;
}
.sidebar ul li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 10px 0;
    transition: background 0.3s;
}
.sidebar ul li a.active,
.sidebar ul li a:hover {
    background-color: #0098eb;
}
.content {
    margin-left: 200px;
    padding: 20px;
    width: calc(100% - 200px);
    flex: 1;
    text-align: center;
}

.content1 {
    margin-left: 200px;
    padding: 50px;
    width: calc(100% - 200px);
    flex: 1;
}

.lista {
    list-style-type: none;
    padding: ;
    margin: 0;
    max-width: 300px;
    margin: 0 auto;
    background-color: #fff;
    border: 3px solid #ddd;
    border-radius: 20px;
    box-shadow: 0 4px 8px #006af5;
    padding: 20px;
}
.lista li {
    padding: 8px 15px;
    border-bottom: 2px solid #ddd;
    font-size: 16px;
    color: #333;
}
.lista li:last-child {
    border-bottom: none;
}
.link {
    text-decoration: none;
    color: #006af5;
    transition: color 0.3s;
    font-size: 16.5px;
    font-weight: 550;
}

.link:hover {
    color: #0056b3;
}
.link:visited {
    color: #006af5;
}
.logo {
    width: 150px;
    height: auto;
}
.social {
    width: 50px;
    height: auto;
    margin: 5px;
}

.socialfooter {
    width: 30px;
    height: auto;
}

footer {
    background-color: #006af5;
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 10px 0;
    flex-shrink: 0;
}
a {
    color: #fff;
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    .sidebar ul {
        display: none;
    }
    .sidebar ul.show {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }
    .sidebar h2 .menu-link {
        cursor: pointer;
    }
    .sidebar ul li {
        display: block;
        width: 100%;
    }
    .content {
        margin-left: 0;
        width: 100%;
    }
    .content1 {
        margin-left: 0;
        width: 100%;
    }
    header h1,
    header h2 {
        font-size: 1.2rem;
        text-align: center;
    }
    h2{
        font-size: 1.2rem;
        text-align: center;}
    .lista {
        max-width: 100%;
    }
    .lista li {
        font-size: 18px;
    }
    .lista1 {
        max-width: 100%;
    }
    .lista2 {
        max-width: 100%;
    }
    .logo {
        width: 90px;
        height: auto;
    }
    .social {
        width: 40px;
        height: auto;
    }
    .list-scrollable-menu {
        display: inline-block;
        vertical-align: top;
        overflow-y: hidden;
    }
    .list-scrollable-menu::-webkit-scrollbar {
        width: 0px;
    }
}
::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}
::-webkit-scrollbar-thumb {
    background: #006af5;
    border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0098eb;
}
::-webkit-scrollbar-track {
    background: #ffff;
}

.lista1 {
    list-style-type: none;
    padding: 0;
    margin: 0;
    max-width: auto;
    margin: 0 auto;
    background-color: #fff;
    border: 3px solid #ddd;
    border-radius: 20px;
    box-shadow: 0 4px 8px #006af5;
    padding: 20px;
}

.lista2 {
    list-style-type: none;
    padding: 0;
    margin: 5px;
    max-width: 500px;
    max-height: 300px;
    background-color: #fff;
    border: 3px solid #ddd;
    border-radius: 20px;
    box-shadow: 0 4px 8px #006af5;
    padding: 20px;
    display: inline-block;
    vertical-align: top;
}

.pomodoro {
    list-style-type: none;
    padding: 0;
    margin: 5px;
    max-width: 500px;
    max-height: auto;
    background-color: #fff;
    border: 3px solid #ddd;
    border-radius: 20px;
    box-shadow: 0 4px 8px #006af5;
    padding: 20px;
    display: inline-block;
    vertical-align: top;
}

.pomodoro-frame {
    margin-left: 10px;
    padding: 20px;
    width: calc(100% - 10px);
    flex: 1;
    text-align: center;
}

.lista1 a, .lista2 a {
    color:#007bff;
    text-decoration:none;
}

.lista2 h2 {
    color:#007bff;
    text-decoration: none;
}

.list-scrollable {
    list-style-type: none;
    padding: 0;
    margin: 5px;
    max-width: 500px;
    max-height: 300px;
    background-color: #fff;
    border: 3px solid #ddd;
    border-radius: 20px;
    box-shadow: 0 4px 8px #006af5;
    padding: 20px;
    display: inline-block;
    vertical-align: top;
    overflow-y: scroll;
}

.list-scrollable h2 {
    color:#007bff;
    text-decoration: none;
}

.list-scrollable-menu {
    display: inline-block;
    vertical-align: top;
    overflow-y: scroll;
}

.list-scrollable-menu::-webkit-scrollbar {
    height: 1px;
    width: 5px;
}

.list-scrollable-menu::-webkit-scrollbar-thumb {
    background: #605e5e;
    border-radius: 2px;
}
.list-scrollable-menu::-webkit-scrollbar-thumb:hover {
    background: #ffffff6e;
}

#countdown {
    font-size: 1.1rem;
    color: #006FEB;
}

/* calculator medie */
.calculator 
{
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
width: 300px;
position: relative;
}

.calculator input {
width: 100%;
padding: 10px;
margin: 10px 0;
border: 1px solid #ccc;
border-radius: 5px;
}

.calculator button {
width: 100%;
padding: 10px;
background-color: #006af5;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
}

.calculator button:hover {
background-color: #006af5;
}

.result {
margin-top: 20px;
font-size: 1.2em;
text-align: center;
}
