
body {
    margin: 0;
    font-family: "Cascadia Code", cursive;
    background-color: #f0f8ff;
}


header {
    background-color: lightsteelblue;
    letter-spacing: 0.1cm;
    padding: 25px;
    font-variant: small-caps;
    font-family: "Cascadia Code", cursive;
    font-size: x-large;
    background-image: url("flower.png");
    background-repeat: no-repeat;
    background-size: 80px 80px;
    display: flex;
    align-items: center;
}

header h1 {
    margin-left: 90px;
}


nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: powderblue;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

nav ul li {
    border: 2px solid lightslategrey;
    border-radius: 10px;
    margin: 5px;
}

nav ul li a {
    display: block;
    color: lightslategrey;
    text-align: center;
    padding: 14px;
    text-decoration: none;
}

nav ul li a:hover {
    background-color: midnightblue;
    color: white;
    border-radius: 10px;
}


footer {
    background-color: lightsteelblue;
    border-top: 3px dotted lightslategrey;
    padding: 20px 100px 20px 20px;
    text-align: left;
    width: 100%;
    position: fixed;
    bottom: 0;
}


section {
    background-color: #f8faff;
    margin: 20px auto;
    padding: 20px;
    border: 3px dotted lightsteelblue;
    border-radius: 15px;
    width: 40%;
}

section h2 {
    background-color: lightsteelblue;
    color: white;
    padding: 12px;
    text-align: center;
    border-radius: 50px;
    font-size: 1.6em;
}
section#text0{
    position: relative;
    left : 0;
    display: inline-block;
    width: 30%;
    text-align: center;
    border-radius: 10px;
    margin: 10px;
    background-color: lightcyan;
    vertical-align: top;
}

section#osa1,
section#osa2{
    position: relative;
    left : 0;
    display: inline-block;
    width: 30%;
    text-align: center;
    border-radius: 10px;
    margin: 10px;
    vertical-align: top;
}

#osa1 {
    position: relative;
    left : 0;
    width: 20%;
    border-left: 6px dotted powderblue;
    border-right: 6px dotted powderblue;
}

#osa2 {
    border-right: 6px dotted powderblue;
}

#osa1 h2 {
    background-color: powderblue;
    color: midnightblue;
    font-weight: bold;
    border-radius: 60px;
    margin-bottom: 15px;
}

#osa2 h2 {
    background-color: lightsteelblue;
    color: white;
    font-weight: bold;
    border-radius: 60px;
    padding: 10px;
}

#osa1 div,
#osa2 p {
    padding: 15px;
    line-height: 1.6;
    font-size: medium;
    color: #333;
}

div#jquery{
    position: relative;
    left : 0;
    width: 20%;
    background-color: lightblue;
    border-radius: 10px;
    padding: 10px;
}


#osa1 img {
    margin-top: 20px;
    width: 150px;
    height: auto;
    border-radius: 50%;
    border: 4px dotted powderblue;
    padding: 5px;
    background-color: white;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.15);
}

#pildid .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

#pildid .gallery img {
    width: 180px;
    height: auto;
    border-radius: 12px;
    border: 4px solid powderblue;
}


#video .video-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

#video .video-wrapper iframe {
    max-width: 100%;
    border-radius: 10px;
}

#muusika iframe[src*="spotify"] {
    display: block;
    margin: 0 auto;
    max-width: 500px;
    border-radius: 10px;
}


#kaart iframe[src*="maps"] {
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    max-width: 700px;
}



section iframe[src*="spotify"] {
    display: block;
    margin: 0 auto;
}


section iframe[src*="maps"] {
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    max-width: 100%;
}


img {
    width: 100px;
    height: auto;
}

button{
    width: 100px;
    border-radius: 10px;


}