/* Sintaxis de CSS */

/* selector de elemento */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    background-color: blueviolet;
    color: darkviolet;
    font-family: "Montserrat", sans-serif;
}
main {
    background-color: rgb(219, 185, 251);
    width: 600;
    margin: 5 auto 5 auto; 
    max-width: 100%;
    text-align:justify;
    padding: 50px;
}
header, footer {
    color:blanchedalmond;
    background-color: blueviolet;
    padding: 50px;
    text-align: center;
}
nav{
    border-bottom: 4px dotted black;
    text-align: center;
}
section {
    padding:10px;
    text-align: justify;
}
h2{
    text-align: center;
}

nav ul {
    list-style: none;
}
nav li {
    display: inline;
}
nav li a {
    color: brown; 
    padding: 10px;
}

nav li a:hover {
    color: rgb(51, 3, 59); 
    background-color: white;
    padding: 10px;
}
/*selectores personalizados*/
.adaptable {
    display: block;
    width: 100%;
}

.centrada {
    display: block;
    margin: 0 auto;
    width: 80%;
}
html{
    scroll-behavior:smooth
}