html{
  scroll-behavior: smooth;
}

body {
  
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background-image: linear-gradient(to right, #790048, #201032);
}

.main-screen{
  background-image: url(src/backgroundMainImage.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  height: 100dvh;
  min-height: -webkit-fill-available;
}

.main-screen::after {
  content: "";
  position: absolute;
  left: -30px;
  right: 0;
  bottom: -70px;
  height: 100px;
  background: linear-gradient(to right, #790048, #201032);
  filter: blur(15px);
}

/* header-nav styles */
.header {
  justify-content: right;
  align-items: center;
  display: flex;
  position: relative;
  padding-top: 30px;
  padding-right: 20px;
  margin-bottom: 150px;
}

.header-logo {
  position: absolute;
  left: 30px;
  top: 22px;
  height: 100px;
}

.header-navigation-list {
  display: flex;
  gap: 50px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-navigation-button {
  text-decoration: none;
  font-size: 25px;
  color: #fce1fe;
}

#change-language-button{
  padding: 5px;
  border-radius: 5px;
  background-color: #7e5e81;
  color: #fce1fe;
}

/* Main content section style*/

.main-content-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  margin-top: 200px;
  margin-bottom: 170px;
  max-width: 1200px;
}

.content-title{
  color: #fce1fe;
  font-size: 54px;
  margin-bottom: 20px;
  max-width: 1000px;
}

.content-description {
  margin: 30px auto 40px;
  color: #fce1fe;
  font-size: 30px;
  max-width: 750px;
}

.content-button {
  display: inline-block;
  padding: 10px 25px;
  font-size: 25px;
  color: #fce1fe;
  background-color: #790048;
  text-decoration: none;
  border-radius: 15px;
  cursor: pointer;
}

/*About content section style*/

.about-content-section {
  padding: 60px 20px;
  text-align: center;
}

.about-title {
  font-size: 40px;
  margin-bottom: 60px;
  color: #fce1fe;
}

.about-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image video {
  max-width: 700px;
  max-height: 600px;
  border-radius: 15px;
}

.description-text {
  max-width: 500px;
  text-align: left;
}

.description-title {
  text-align: center;
  font-size: 35px;
  margin-bottom: 15px;
  color: #fce1fe;
}

.description-about {
  max-width: 400px;
  font-size: 20px;
  color: #fce1fe;
  line-height: 1.6;
}

/*Second content section style */
.second-content-section {
  padding: 60px 20px;
  text-align: center;
}

.second-title {
  font-size: 36px;
  margin-bottom: 60px;
  color: #fce1fe;
}

.second-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-direction: row;
}

.second-text {
  max-width: 700px;
  text-align: left;
  margin: 0 auto;
}

.second-description-list{
  color: #fce1fe;
  font-size: 20px;
}

.second-subtitle {
  text-align: center;
  font-size: 30px;
  margin-bottom: 15px;
  color: #fce1fe;
}

.second-description {
  font-size: 20px;
  color: #fce1fe;
  line-height: 1.6;
  margin: 0 auto;
}

.second-image img {
  max-width: 700px;
  max-height: 600px;
  border-radius: 15px;
  display: block;
  margin: 0 auto;
}

/* Advantages section */
.advantages-section {
  padding: 60px 20px;
  text-align: center;
}

.advantages-title {
  font-size: 36px;
  margin-bottom: 60px;
  color: #fce1fe;
}

.advantages-content {
  display: flex;
  justify-content: center;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: wrap; 
}

.advantage-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 30px 20px;
  flex: 1 1 300px;
  width: 400px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: 0px 8px 20px rgba(0,0,0,0.3);
}

.advantage-icon {
  font-size: 40px;
  margin-bottom: 20px;
  color: #fce1fe;
}

.advantage-subtitle {
  font-size: 22px;
  margin-bottom: 15px;
  color: #fce1fe;
}

.advantage-text {
  text-align: left;
  font-size: 19px;
  color: #fce1fe;
  line-height: 1.6;
}

.advantage-list {
  margin: 15px 0 0;
  padding-left: 20px;
  text-align: left;
  color: #fce1fe;
  font-size: 18px;
  line-height: 1.6;
}

#main-judge{
  padding: 10px;
}

/*How to participate Iconista section*/

.participate-section {
  padding: 60px 20px;
  text-align: center;
}

.participate-title {
  font-size: 40px;
  margin-bottom: 60px;
  color: #fce1fe;
}

.participate-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.participate-image img{
  max-width: 700px;
  border-radius: 15px;
  display: block;
  margin: 0 auto;
}

.participate-description-text {
  max-width: 500px;
  text-align: left;
}

.participate-description-title {
  text-align: center;
  font-size: 35px;
  margin-bottom: 15px;
  color: #fce1fe;
}

.participate-description-about{
  max-width: 500px;
  font-size: 20px;
  color: #fce1fe;
  line-height: 1.6;
}

.participate-list{
  margin: 15px 0 0;
  padding-left: 20px;
  text-align: left;
  color: #fce1fe;
  font-size: 20px;
  line-height: 1.6;
}

.participate-buttons {
  display: flex;
  flex-wrap: wrap; 
  gap: 15px;
  margin-top: 25px;
  justify-content: center; 
}

.participate-button {
  display: inline-block;
  padding: 12px 25px;
  font-size: 18px;
  color: #fce1fe;
  text-decoration: none;
  color: goldenrod;
  border-radius: 25px;
  background: linear-gradient(135deg, #790048, #201032);
  border: 2px solid #fce1fe;
  cursor: pointer;
  transition: all 0.3s ease;
}

.participate-button:hover {
  background: #fce1fe;
  color: #201032;
  transform: translateY(-4px);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4);
}
/*Section to be partner of ICONISTA*/

.be-our-partner {
  display: flex;      
  flex-direction: column;     
  justify-content: center;  
  align-items: center;         
  text-align: center;   
  color: #fce1fe;          
  padding: 20px;
}

.be-our-partner h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

.be-our-partner p {
  font-size: 25px;
  max-width: 600px;
  margin-bottom: 20px;
}

.partner-get-regul-button{
  display: inline-block;
  padding: 12px 25px;
  font-size: 18px;
  color: #fce1fe;
  text-decoration: none;
  color: goldenrod;
  border-radius: 25px;
  background: linear-gradient(135deg, #790048, #321a4e);
  border: 2px solid #fce1fe;
  cursor: pointer;
  transition: all 0.3s ease;
}

.partner-get-regul-button:hover {
  background: #fce1fe;
  color: #201032;
  transform: translateY(-4px);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4);
}

.partner-contacts {
  list-style: none;        
  padding: 0;
  margin: 15px 0 25px;     
  display: flex;           
  justify-content: center; 
  gap: 30px;     
}

.partner-contacts li {
  font-size: 22px;
  font-weight: 500;
}

/*Footer css settings*/

footer{
  background: linear-gradient(to right,#710042, #000718);
  padding: 30px;
  margin-top: 30px;
}

.footer-def{
  margin-left: 20px;
  font-size: 18px;
  color: white;

}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-contacts{
  gap: 40px;
}

.footer-link {
  color: #fce1fe;
  font-size: 22px;
  text-decoration: none;
  margin-left: 15px;
  transition: color 0.3s ease;
  gap: 8px;
}

.footer-link:hover {
  color: #ffffff;
}

/*Phone adaptation */

@media (max-width: 1000px) {

  .main-screen::after{
	bottom: 0px;
    height: 0px;
    display: none;
	background: none;
  }

  .header{
    margin-bottom: 50px;
  }

  #change-language-button{
    font-size: 15px;
  }

  .header-logo{
    left: 16px;
    top: 18px;
    height: 45px;
  }

  .header-navigation-button {
    display: none;
  }

  #change-language-button{
    display: block;
  }

  .content-title{
    backdrop-filter: blur(3px);
    font-size: 40px;
    max-width: 600px;
  }
  
  .content-description{
    font-size: 22px;
  }

  .main-content-section{
    margin-top: 70px;
  }

  .about-content-section{
    margin-top: 1px;
  }

  .about-content {
    flex-direction: column; 
    align-items: center;   
    text-align: center;  
  }

  .description-text {
    max-width: 100vh; 
    text-align: center;
  }

  .about-image video {
    max-width: 100%; 
    display: block;
  }

  .second-content {
    flex-direction: column-reverse;
  }

  .second-image img{
    width: 90%;
    height: auto;
  }

  .advantages-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .advantage-card {
    max-width: 90%;
  }

  .participate-content{
    flex-direction: column;
    align-items: center;
  }

  .participate-image img{
    max-width: 100%;
    display: block;
  }
}
